Gmail on Home Linux box

Do you have a Gmail account? Then, you'll want to read this step by step tutorial for configuring and installing the latest version of Postfix with SASL authentication and TLS encryption necessary for connecting and relaying Gmail to smtp.gmail.com

The gist of it is
- download latest version of postfix from here www.postfix.org
- compile using the following command ( one line please )
make makefiles CCARGS="-DUSE_SASL_AUTH -DUSE_TLS -DUSE_CYRUS_SASL -I/usr/local/include /sasl" AUXLIBS="-lsasl2 -lssl -lcrypto"

- modify /etc/postfix/main.cf as follows
relayhost= [smtp.gmail.com]:587
smtp_use_tls = yes
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_sasl_security_options = noanonymous

- set the password in /etc/postfix/sasl_password,
- run postmap on the file
- restart postfix

that's it.

For a more detailed explanation and some troubleshooting tips, see the following articles

http://souptonuts.sourceforge.net/postfix_tutorial.html
http://prantran.blogspot.com/2007/01/getting-postfix-to-work-on-ubuntu-w...