Uninstalling Sendmail
Uninstalling Sendmail
Type in the following commands to eliminate sendmail from being called on your box:
# killall sendmail
# mv /usr/sbin/sendmail /usr/sbin/sendmail.old
# chmod 0 /usr/sbin/sendmail.old
To tell FreeBSD not to tell sendmail to start on boot, add this to /etc/rc.conf like so:
# echo "sendmail_enable=NONE" >> /etc/rc.conf
# echo "sendmail_submit_enable=NO" >> /etc/rc.conf
# echo "sendmail_outbound_enable=NO" >> /etc/rc.conf
# echo "sendmail_msp_queue_enable=NO" >> /etc/rc.conf
Now to tell sendmail not to interfere with your qmail setup, add this to your /etc/make.conf like so:
# echo "NO_SENDMAIL=yes" >> /etc/make.conf
# echo "NO_MAILWRAPPER=yes" >> /etc/make.conf
Now lets tell anything that calls sendmail from the common location that we want it to send to qmail instead:
# ln -s /var/qmail/bin/sendmail /usr/sbin/sendmail
# ln -s /var/qmail/bin/sendmail /usr/lib/sendmail
That is it. Sendmail is uninstalled!
| < Prev | Next > |
|---|


