Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Jun 2012 11:29:39 -0700
From:      Chuck Swiger <cswiger@mac.com>
To:        Walter Hurry <walterhurry@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Sendmail and Postfix
Message-ID:  <0035DF17-28B9-4A94-B75A-F483926B2A9E@mac.com>
In-Reply-To: <js2cuq$hs4$1@dough.gmane.org>
References:  <js2cuq$hs4$1@dough.gmane.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0035DF17-28B9-4A94-B75A-F483926B2A9E>