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

From: Douglas Koobs (dkoobs@dkoobs.com)
Date: Wed Jul 07 2004 - 16:09:36 EDT


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 archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 20:12:42 EDT