>2014
Absolutely not. I like postfix its simple enough, I understand the configs, and it has yet to let me down. So I will need this on all the servers to send mail and logs for various services. FreeBSD ships with sendmail so we will need to stop that as well.
Install postfix:
cd /usr/ports/mail/postfix-current make install cleanMake sure we select the options we need here like SSL and SASL.
Then we need to stop sendmail
/etc/rc.d/sendmail stop
Now we need to make some changes to /etc/rc.conf so that the system uses postfix instead of sendmail.
echo 'sendmail_enable="NONE"' >> /etc/rc.conf echo 'postfix_enable="YES"' >> /etc/rc.conf
And then some other configs to let the system know we are not using sendmail.
echo "NO_SENDMAIL=true" >> /etc/make.conf echo 'daily_clean_hoststat_enable="NO"' >> /etc/periodic.conf echo 'daily_status_mail_rejects_enable="NO"' >> /etc/periodic.conf echo 'daily_status_include_submit_mailq="NO"' >> /etc/periodic.conf echo 'daily_submit_queuerun="NO"' >> /etc/periodic.conf
Finally we can start postfix
/usr/local/etc/rc.d/postfix onestart
Now we can test the mailer by sending a test email.
mail -s testing you@domain.com .