Sendmail and Postfix
brian at brianwhalen.net
Fri Jun 22 18:51:18 UTC 2012
During subsequent system upgrades, of you build from source, you should
watch out for thus during the mergemaster piece.
On Jun 22, 2012 11:44 AM, "Matthew Seaman" <matthew at freebsd.org> wrote:
> On 22/06/2012 19:19, Walter Hurry wrote:
> > 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?
> You don't need to remove the base system sendmail. All you need to do
> is set up /etc/mail/mailer.conf properly -- and installing the postfix
> port should do that for you -- and then any reference to
> /usr/sbin/sendmail, /usr/bin/mailq, usr/bin/hoststat etc. will run
> postfix instead. It's really very nicely done.
> See mailer.conf(5)
> PS. Alright, yes. You can prevent sendmail from being built as part of
> the base system by defining 'WITHOUT_SENDMAIL=yes' in /etc/src.conf, but
> this supposes that you want to build the system yourself, rather than
> using, say, freebsd-update(8). See src.conf(5) and read in
> /usr/src/UPDATING and the Handbook about the procedure for building the
> system from source.
> Dr Matthew J Seaman MA, D.Phil.
> PGP: http://www.infracaninophile.co.uk/pgpkey
More information about the freebsd-questions