Re: Name resolution in FreeBSD/Postfix

From: Bob Proulx <bob_at_proulx.com>
Date: Wed, 06 Nov 2024 03:42:33 UTC
Doug Hardie wrote:
> >> sendmail /usr/local/sbin/sendmail
> >> send-mail /usr/local/sbin/sendmail
> >> mailq /usr/local/sbin/sendmail
> >> newaliases /usr/local/sbin/sendmail
>
> You have told the system to use sendmail, not postfix.

I know it looks that way but actually no, if postfix is installed then
that is postfix.  The Sendmail in base is in /usr/sbin/sendmail
instead.  Since it is /usr/local/sbin/sendmail that looks like the
postfix install to me.

When postfix is installed it installs the sendmail binary as
/usr/local/sbin/sendmail and so the above is actually referring to
postfix.

    rwp@madness:~$ pkg info -l postfix | grep bin/sendmail
	/usr/local/sbin/sendmail

Bob