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

From: Douglas Koobs (dkoobs@dkoobs.com)
Date: Thu Jul 08 2004 - 09:38:30 EDT


Well, after some research and posting at mandrakeusers.org, I learned that
the cyrus-sasl package does not include any auth mechanisms, and that I
need to install a seperate package for each mechanism I wish to use.
However, Mandrake's base sources do not include any. So, I went over to
http://urpmi.org/easyurpmi/ (a great tool for any Mandrake user) and added
contrib and external add-on sources. These sources include all the
libsasl2-plug-<authmech> packages. I installed libsasl2-plug-crammd5,
restarted Postfix, and all works now.

Now, what would be the best option, route ALL outgoing mail through
Earthlink's MTA? Or, only do so for outgoing mail destined for domains
that reject my mail due to DUN RBLs? What would be the pros/cons? It seems
to me that I could just route everything through their MTA, and not have
to worry anymore about RBL's.

Doug

On Wed, July 7, 2004 4:09 pm, Douglas Koobs said:
> 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:15:11 EDT