[Fwd: [SLUG] Postfix SMTP client, relay mail through Earthlink SMTP server]

From: Douglas Koobs (dkoobs@dkoobs.com)
Date: Wed Jul 07 2004 - 19:32:53 EDT


I edited the sasl_passwd file to read:

smtpauth.earthlink.net myusername@earthlink.net:mypasswd

And now I get the following log entries:

Jul 7 19:11:43 www postfix/smtp[15519]: 30DD570C51B: Authentication
failed: cannot SASL authenticate to server smtpauth.eart
hlink.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

So I've got it to at least trying to authenticate... Now, where did I
leave that worthy mech? I could've sworn I left it on the coffee table...
Any tips on how to fix this?

Doug

Greetings,

After reading Roblimo's article about being blacklisted because of running
an MTA on a dynamic IP, I decided it was time to fix my setup and route my
outgoing mail through my ISP's smtp server. My ISP is Earthlink, and they
require SMTP authorization to relay mail. This is pretty easy to set up in
a mail client, but evidently not so easy in Postfix. Here is the relevant
output from postconf:

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

Here is my sasl_password file (modified):
earthlink.net myusername@earthlink.net:mypasswd
.earthlink.net myusername@earthlink.net:mypasswd

Here is my transport file:
yahoo.com smtp:smtpauth.earthlink.net
.yahoo.com smtp:smtpauth.earthlink.net

When I try to send email to a yahoo.com address, postfix tries to relay
through smtpauth.earthlink.net as expected, but evidently does not try to
use any authorization... here is the response I get:

<some_address@yahoo.com>: host smtpauth.earthlink.net[207.217.121.157]
said: 550 Please configure your mail client to use authentication. (in
reply to RCPT TO command)

It doesn't seem that Postfix is sending any kind of auth info... I've got
cyrus-sasl-2.1.15-10mdk installed, postfix-2.1.1-0.1.100mdk running on
Mandrake 10 official. My understanding is that this postfix package is
built with sasl support. How can I confirm? What am I missing?

Thanks!

Doug

-----------------------------------------------------------------------
This list is provided as an unmoderated internet service by Networked
Knowledge Systems (NKS). Views and opinions expressed in messages posted
are those of the author and do not necessarily reflect the
official policy or position of NKS or any of its employees.

-----------------------------------------------------------------------
This list is provided as an unmoderated internet service by Networked
Knowledge Systems (NKS). Views and opinions expressed in messages
posted are those of the author and do not necessarily reflect the
official policy or position of NKS or any of its employees.



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 20:13:35 EDT