Skip to content

Instantly share code, notes, and snippets.

@fduran
Created February 20, 2012 18:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fduran/1870485 to your computer and use it in GitHub Desktop.
Save fduran/1870485 to your computer and use it in GitHub Desktop.
Linux mail server for sending only
# Postfix mail server for sending messages only, not exposed to receive email
# www.fduran.com
mv /etc/postfix/main.cf /etc/postfix/main.cf.orig
echo "inet_interfaces = 127.0.0.1" > /etc/postfix/main.cf
/etc/init.d/postfix restart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment