CODE
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl/sasl_passwd
smtp_sasl_path =
smtp_sasl_security_options =
smtp_sasl_tls_security_options = $var_smtp_sasl_opts
smtp_sasl_tls_verified_security_options = $var_smtp_sasl_tls_opts
transport_maps = hash:/etc/postfix/transport
smtp_sasl_password_maps = hash:/etc/postfix/sasl/sasl_passwd
smtp_sasl_path =
smtp_sasl_security_options =
smtp_sasl_tls_security_options = $var_smtp_sasl_opts
smtp_sasl_tls_verified_security_options = $var_smtp_sasl_tls_opts
transport_maps = hash:/etc/postfix/transport
Here is my sasl_password file (modified):
CODE
smtpauth.earthlink.net myusername@earthlink.net:mypasswd
Here is my transport file:
CODE
yahoo.com smtp:smtpauth.earthlink.net
.yahoo.com smtp:smtpauth.earthlink.net
.yahoo.com smtp:smtpauth.earthlink.net
Opening an smtp session with smtpauth.earthlink.net reveals that the server supports the following auth methods: PLAIN LOGIN CRAM-MD5
When I try to send email to to my yahoo.com address, postfix tries to relay through smtpauth.earthlink.net as expected, but has trouble authenticating:
Jul 7 19:11:43 www postfix/smtp[15519]: 30DD570C51B: Authentication failed: cannot SASL authenticate to server smtpauth.earthlink.net[207.217.121.156]: no mechanism available
Jul 7 19:11:44 www postfix/smtp[15519]: 30DD570C51B: to=<eqluzer@yahoo.com>, relay=smtpauth.earthlink.net[207.217.121.150],
delay=2, status=deferred (Authentication failed: cannot SASL authenticate
to server smtpauth.earthlink.net[207.217.121.150]: no mechanism available)
Jul 7 19:11:43 www postfix/smtp[15519]: warning: SASL authentication
failure: No worthy mechs found
How do I enable these mechanisms? Everything I've googled leads me to believe that I have the configuration correct. Do I need to install some additional RPMs for each auth method? Do I need to recompile Postfix from source to enable SASL?
Thanks for any help!