Hi--

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:

  
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mail-changingmta.html

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

   NO_SENDMAIL=TRUE

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

Regards,
-- 
-Chuck

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to