2002-05-06 23:12:36 -04:00
|
|
|
If you have postfix configured in your /etc/mail/mailer.conf (answered yes to
|
|
|
|
the previous question) and would like to enable postfix to start at boot time,
|
|
|
|
please set these variables in your /etc/rc.conf file:
|
|
|
|
|
|
|
|
sendmail_enable="YES"
|
|
|
|
sendmail_flags="-bd"
|
|
|
|
sendmail_outbound_enable="NO"
|
|
|
|
sendmail_submit_enable="NO"
|
|
|
|
sendmail_msp_queue_enable="NO"
|
|
|
|
|
2003-01-09 00:10:39 -05:00
|
|
|
This will disable Sendmail completely.
|
2002-05-06 23:12:36 -04:00
|
|
|
|
2003-01-19 02:25:46 -05:00
|
|
|
Alternatively to the above settings, you can enable postfix to start with
|
|
|
|
the other local services, for example, after your database server starts if
|
|
|
|
you need it to be running for postfix. To do this, set in your rc.conf file:
|
2002-05-06 23:12:36 -04:00
|
|
|
|
2003-01-19 02:25:46 -05:00
|
|
|
sendmail_enable="NONE"
|
|
|
|
|
|
|
|
Then make the following symbolic link:
|
|
|
|
|
|
|
|
cd /usr/local/etc/rc.d
|
|
|
|
ln -s /usr/local/sbin/postfix postfix.sh
|
|
|
|
|
|
|
|
|
|
|
|
Also, you will want to disable some Sendmail-specific daily maintenance
|
2002-05-06 23:12:36 -04:00
|
|
|
routines in your /etc/periodic.conf file:
|
|
|
|
|
|
|
|
daily_status_mail_rejects_enable="NO"
|
|
|
|
daily_status_include_submit_mailq="NO"
|
|
|
|
daily_submit_queuerun="NO"
|
|
|
|
|
|
|
|
|
|
|
|
If you are using SASL, you need to make sure that postfix has access to read
|
2002-06-19 21:32:20 -04:00
|
|
|
the sasldb file. This is accomplished by adding postfix to group mail and
|
|
|
|
making the /usr/local/etc/sasldb* file(s) readable by group mail (this should
|
|
|
|
be the default for new installs).
|
2003-01-19 02:25:46 -05:00
|
|
|
|
|
|
|
If you are upgrading from postfix version prior to 2.0, please see the README
|
|
|
|
files for recommended changes to your configuration.
|