Skip to content

Instantly share code, notes, and snippets.

@dpk
Created February 16, 2012 12:13
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dpk/1844421 to your computer and use it in GitHub Desktop.
Save dpk/1844421 to your computer and use it in GitHub Desktop.
Remove sendmail from FreeBSD
# remove sendmail from a FreeBSD system
echo 'sendmail_enable="NO"' >> /etc/rc.conf
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment