Sendmail and Postfix

Chuck Swiger cswiger at
Fri Jun 22 19:29:46 UTC 2012


On Jun 22, 2012, at 11:19 AM, Walter Hurry wrote:
> A little digging around has revealed that there are two 'mailq' 
> executables on my system: /usr/local/bin/mailq and /usr/bin/mailq.
> The first is part of the mail/postfix-current port which I have installed 
> and use, and the second is presumably part of Sendmail, which I have not 
> installed and do not use.
> It seems that Sendmail is embedded somehow in the base system. What is 
> the 'approved' way to get rid of /usr/bin/mailq? Or better, remove 
> Sendmail?

BSD Unixes have shipped with Sendmail for decades, much as BIND is also
included-- so yes, Sendmail is included with the base system by default.

The approved way is to simply leave things be.  Properly written software
will honor the links setup by mailwrapper(8) and use the Postfix MTA which
you installed instead:

If you really want to remove sendmail entirely, you can rebuild FreeBSD with


...set in /etc/make.conf, which will avoid building sendmail at all.


More information about the freebsd-questions mailing list