1[ 2{ 3 type: install 4 message: <<EOM 5To use postfix instead of sendmail: 6 - clear sendmail queue and stop the sendmail daemons 7 8Run the following commands to enable postfix during startup: 9 - sysrc postfix_enable="YES" 10 - sysrc sendmail_enable="NONE" 11 12If postfix is *not* already activated in %%MC_PREFIX%%/etc/mail/mailer.conf 13 - mv %%MC_PREFIX%%/etc/mail/mailer.conf %%MC_PREFIX%%/etc/mail/mailer.conf.old 14 - install -d %%MC_PREFIX%%/etc/mail 15 - install -m 0644 %%DATADIR%%/mailer.conf.postfix %%MC_PREFIX%%/etc/mail/mailer.conf 16 17Disable sendmail(8) specific tasks, 18add the following lines to /etc/periodic.conf(.local): 19 daily_clean_hoststat_enable="NO" 20 daily_status_mail_rejects_enable="NO" 21 daily_status_include_submit_mailq="NO" 22 daily_submit_queuerun="NO" 23 24If you are using SASL, you need to make sure that postfix has access to read 25the sasldb file. This is accomplished by adding postfix to group mail and 26making the %%PREFIX%%/etc/sasldb* file(s) readable by group mail (this should 27be the default for new installs). 28EOM 29} 30{ 31 type: remove 32 message: <<EOM 33If you remove postfix permanent, adjust / remove the the following file: 34 - %%MC_PREFIX%%/etc/mail/mailer.conf 35EOM 36} 37] 38