I had to assemble this from multiple sources (including here)… so here’s everything you need.
Do these things as root:
- Install postfix-tls and libsasl2-modules.
- Add the following settings to
/etc/postfix/main.cf
:smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_sasl_security_options =
relayhost = smtpauth.earthlink.net - Create
/etc/postfix/sasl_passwd
as follows:smtpauth.earthlink.net username@earthlink.net:password
- chown root:root
/etc/postfix/sasl_passwd
&& chmod 600/etc/postfix/sasl_passwd
. - postmap
/etc/postfix/sasl_passwd
. - /etc/init.d/postfix reload
Voilà, all your outgoing email is now sent via smtpauth.earthlink.net
.