Skip to content

Instantly share code, notes, and snippets.

@markbirbeck
Created May 19, 2011 14:15
Show Gist options
  • Save markbirbeck/980832 to your computer and use it in GitHub Desktop.
Save markbirbeck/980832 to your computer and use it in GitHub Desktop.
Troubleshooting sendmail: bash
sed -i -e 's/O LogLevel=9/O LogLevel=7/' /etc/mail/sendmail.cf
echo "Subject: test" | /usr/lib/sendmail -v mark.birbeck@gmail.com
sed -i -e 's/O LogLevel=7/O LogLevel=9/' /etc/mail/sendmail.cf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment