Disabled Sendmail Service on FreeBSD
Disabled Sendmail Service on FreeBSD is slightly different compare to Linux. We usually disabled Sendmail Service and configure exim on FreeBSD. Sendmail service can be disabled via /etc/rc.conf.
Put these lines into /etc/rc.conf
1 2 3 4 5 6 7 |
sendmail_enable="NONE" |
After that restart sendmail service
1 2 3 4 5 6 7 |
/etc/rc.d/sendmail restart |
If you would like sendmail to be able to host outgoing email. Put these lines in /etc/rc.conf
1 2 3 4 5 6 7 |
sendmail_enable="NO" |
After that restart sendmail service
1 2 3 4 5 6 7 |
/etc/rc.d/sendmail restart |