relayhost when authentication is required

Andrej Marjan amarjan-e+AXbWqSrlAAvxtiuMwx3w at public.gmane.org
Thu Aug 31 18:32:53 UTC 2006


Matt Price wrote:
> hi folks, 
>
> i run postfix on my home computers and use sendmail for all my maail
> programs (evolution, mutt, thunderbird, whatever).  both machines run ubuntu
> dapper and postfix 2.2.10.  
>
> with our old ip i just added a 'relayhost' line in main.cf and my mail was
> sent out fine.  however our new evil isp (rogers/yahoo) requires
> authentication first.  so outgoing mail generates these log messages (sorry
> for thewrap!):
>
> ug 31 12:46:07 localhost postfix/master[15806]: daemon started -- version
> 2.2.10, configuration /etc/postfix
> Aug 31 12:46:50 localhost postfix/pickup[15809]: 8522440409E: uid=1000
> from=<matt.price-H217xnMUJC0sA/PxXw9srA at public.gmane.org>
> Aug 31 12:46:50 localhost postfix/cleanup[15908]: 8522440409E:
> message-id=<1157042810.5232.3.camel at localhost>
> Aug 31 12:46:50 localhost postfix/qmgr[15810]: 8522440409E:
> from=<matt.price-H217xnMUJC0sA/PxXw9srA at public.gmane.org>, size=436, nrcpt=2 (queue active)
> Aug 31 12:46:51 localhost postfix/smtp[15910]: 8522440409E:
> to=<moptop99-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org>,
> relay=smtp-rog.mail.yahoo2.akadns.net[206.190.36.18], delay=1,
> status=bounced (host smtp-rog.mail.yahoo2.akadns.net[206.190.36.18] said:
> 530 authentication required - for help go to
> http://help.yahoo.com/help/us/mail/pop/pop-11.html (in reply to MAIL FROM
> command))
>
>
> i assume i need some mechanism for sending out my password to their server,
> but don't know how to do it.  does anyone have this setup or something
> similar working?
>
> thanks,
>
> matt
>   

You need to set up SASL authentication in the Postfix SMTP client (you 
have no idea how long it took me as a non-mail person to discover these 
buzzwords a few years ago :).

See http://www.postfix.org/SASL_README.html#client_sasl for some pretty 
good instructions.

Note that you might have to install additional packages to actually get 
it working. On Debian/Ubuntu, you need libsasl2, as well as 
libsasl2-modules, which has the actual authentication modules.

I can't give you specific configuration lines that are guaranteed to 
work with Yahoo, since I just started using pobox.com for relaying when 
Rogers made this annoying change.
--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list