diff options
Diffstat (limited to 'mail/postfix1/pkg-message')
-rw-r--r-- | mail/postfix1/pkg-message | 33 |
1 files changed, 22 insertions, 11 deletions
diff --git a/mail/postfix1/pkg-message b/mail/postfix1/pkg-message index 7fb3a804599c..d9e910d86ceb 100644 --- a/mail/postfix1/pkg-message +++ b/mail/postfix1/pkg-message @@ -4,28 +4,36 @@ please set these variables in your /etc/rc.conf file: sendmail_enable="YES" sendmail_flags="-bd" +sendmail_pidfile="/var/spool/postfix/pid/master.pid" +sendmail_procname="/usr/local/libexec/postfix/master" sendmail_outbound_enable="NO" sendmail_submit_enable="NO" sendmail_msp_queue_enable="NO" - **OR** +This will disable Sendmail completely, and allow you to use /etc/rc.d/sendmail +to start and stop postfix (FreeBSD 5.x and up). For FreeBSD 4.x, it will just +cause the system boot scripts to start sendmail for you. -sendmail_enable="NONE" +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: -then type this command as root: +sendmail_enable="NO" +sendmail_submit_enable="NO" +sendmail_outbound_enable="NO" +sendmail_msp_queue_enable="NO" -ln -s /usr/local/sbin/postfix /usr/local/etc/rc.d/postfix.sh +Then make the following symbolic link: -Either of these will disable Sendmail completely. The latter form is useful -if you need to wait until other local package initialization (such as ldconfig -for Postgres or MySQL) is done. The former method will start postfix very -early on in the boot process. +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 -routines in your /etc/periodic.conf file: +With either startup configuration, you will want to disable some +Sendmail-specific daily maintenance routines in your /etc/periodic.conf file: -daily_status_mail_rejects_enable="NO" +daily_clean_hoststat_enable="NO" +daily_status_mail_rejects_enable="NO" daily_status_include_submit_mailq="NO" daily_submit_queuerun="NO" @@ -34,3 +42,6 @@ If you are using SASL, you need to make sure that postfix has access to read 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). + +If you are upgrading from postfix version prior to 2.0, please see the README +files for recommended changes to your configuration. |