Replacing Sendmail with Postfix in the base system

joerg at britannica.bec.de joerg at britannica.bec.de
Wed Jun 14 09:31:06 PDT 2006


On Wed, Jun 14, 2006 at 09:13:40AM -0700, Matthew Dillon wrote:
>      (1) Either bring postfix into base or integrate it into the NRELEASE
> 	 infrastructure as a package.

The latter is as simple as adding the package.

>      (2) Provide an RC option to select postfix instead of sendmail as the
> 	 MTA.

First:
in /etc/rc.conf (assuming that the postfix rc script went into
/etc/rc.d):
postfix=yes
sendmail_enable=none

There have been one or two periodic scripts, you should disable, but I
forgot which one.

Second:
Modify /etc/mail/mailer.conf to point to /usr/pkg/sbin/sendmail.

Third:
Tell postfix that the alias table is /etc/mail/alias and the database in
/etc/mail/alias.db. Run newalises.

Joerg





More information about the Users mailing list