Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Apr 2011 15:50:16 -0400
From:      Alejandro Imass <>
To:        Martin McCormick <>
Subject:   Re: Modifying Sendmail's Configuration the Correct way.
Message-ID:  <>
In-Reply-To: <>
References:  <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On Wed, Apr 20, 2011 at 2:47 PM, Martin McCormick
<> wrote:
> =A0 =A0 =A0 =A0The /etc/mail/ file very clearly tells one
> not to edit it directly so I edited the

Hey Martin, this might not be the exact answer you're looking for but
I despise sendmail but *love* FreeBSD so here are my $0.02:

1) edit your /etc/rc.conf


2) cd /usr/ports/mail/postfix
make install clean

Play close attention to all messages, remember to regenerate the
aliases with newalias and let the script modify your mailer.conf to
enable postfix and say yes.

In case you forget here is my /etc/mail/mailer.conf

# Execute the Postfix sendmail program, named /usr/local/sbin/sendmail
sendmail        /usr/local/sbin/sendmail
send-mail       /usr/local/sbin/sendmail
mailq   /usr/local/sbin/sendmail
newaliases      /usr/local/sbin/sendmail

then /usr/local/etc/rc.d/postfix start


There have been many requests to let us choose our favorite MTA for
the base system. It seems things are moving in that direction since
you will notice an option in the make config of the newer postfix
versions it says to install postfix in the base. Right now I would
avoid this, (other maybe other can comment more on this option) but
hopefully in the future those of use that don't like sendmail can
avoid it's use.

Alejandro Imass

Want to link to this message? Use this URL: <>