FreeBSD: disable sendmail completely

1. Edit /etc/rc.conf:

#sendmail disable
sendmail_enable="NO
«
sendmail_submit_enable=»NO
«
sendmail_outbound_enable=»NO
«
sendmail_msp_queue_enable=»NO"

But this is not enough, because Demon periodic it will still run to send all notices to user root, next:

2. cp /etc/defaults/periodic.conf /etc/periodic.conf

3. Edit /etc/periodic.conf:

daily_output="/var/log/daily.log
«
weekly_output=»/var/log/weekly.log
«
monthly_output=»/var/log/monthly.log"

4. echo «NO_SENDMAIL=true» >> /etc/make.conf

5. shutdown now enterexit or reboot