OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: smtp_fallback_relay

From: Zbigniew Szalbot (zszalbotgmail.com)
Date: Tue Apr 01 2008 - 07:22:15 CDT


2008/3/30, Wietse Venema <wietseporcupine.org>:
> Zbigniew Szalbot:
>
> > Hi there,
> >
> > > Guessing that you have a postfix server for outgoing mail and you are experiencing problems reaching yahoo.com you just set on your /etc/postfix/transport
> > >
> > > yahoo.com :[smarthost.isp.com]
> > >
> > > and then you 'compile' it
> > >
> > > postmap /etc/postfix/transport
> >
> > Thanks! This works but I need to authenticate with my ISP smarthost.
> > I've read http://www.postfix.org/SASL_README.html#client_sasl
> > but it is not clear to me how the transport information should be
> > connected with the authentication mechanism. In other words, how to
> > authenticate with my isp's smarthost? Beg your patience with me!
>
>
> Configure smtp_sasl_password_maps with your ISP's mailhost name
> and your password.
>
>
> http://www.postfix.org/SASL_README.html#client_sasl

Right - I think I need some more help...

1/ main.cf:
# client smtp authentication
    smtp_sasl_auth_enable = yes
# smtp_sasl_security_options = noanonymous
    smtp_sasl_password_maps = hash:/usr/local/etc/postfix/sasl_passwd
    smtp_sasl_type = cyrus
    relayhost = [my.isp.com]

2/ transport map:
yahoo.com :[my.isp.com]

3/ sasl_passwd:
[my.isp.com] user:passwd

Transport map is ok as I am hammering the right mail server but I am
not authenticating myself with the remote postfix mail server:

Apr 1 14:14:30 szalbot postfix/smtp[28449]: 92D852844D:
to=<someoneyahoo.com>, relay=slowo.pl[85.14.85.15]:25, delay=0.47,
delays=0.15/0.09/0.1/0.12, dsn=5.7.1, status=bounced (host
slowo.pl[85.14.85.15] said: 554 5.7.1 <someoneyahoo.com>: Relay
access denied (in reply to RCPT TO command))
Apr 1 14:14:30 szalbot postfix/cleanup[28441]: 2191728454:
message-id=<20080401121430.2191728454lists.lc-words.com>
Apr 1 14:14:30 szalbot postfix/bounce[28451]: 92D852844D: sender
non-delivery notification: 2191728454
Apr 1 14:14:30 szalbot postfix/qmgr[28420]: 2191728454: from=<>,
size=3037, nrcpt=1 (queue active)
Apr 1 14:14:30 szalbot postfix/qmgr[28420]: 92D852844D: removed

Any hint what I am doing wrong will be greatly appreciated! Many, many thanks!

--
Zbigniew Szalbot