DIsable Sendmail Freebsd

Berikut cara disable sendmail pada OS Freebsd

letakkan script berikut pada /etc/rc.conf

sendmail_enable=”NO”
sendmail_msp_queue_enable=”NO”
sendmail_outbound_enable=”NO”
sendmail_submit_enable=”NO”

Setelah itu simpan..

lalu jalanakan perintah ini berikut :

chmod 0 /usr/libexec/sendmail/sendmail
chmod 0 /usr/sbin/sendmail
mv /usr/libexec/sendmail/sendmail /usr/libexec/sendmail/sendmail.bak
mv /usr/sbin/sendmail /usr/sbin/sendmail.bak

Posted on: November 26, 2020, by :