On Sun, 6 Jun 2010, Sam Varshavchik wrote:

> Simon P. Ditner writes:
>
>> I must be missing some trivial config switch, as everyone else seems to
>> be successful relaying through smtp.gmail.com using TLS and SASL. I'm
>> using courier 0.53 on Ubuntu installed via the courier-mta and
>> courier-ssl packages.
>> 
>> Any idea what I've missed here? For some reason courier doesn't seem to
>> be checking the esmtpauthclient file. Are there any switches I can
>> enable for more debug output? ESMTP_LOG_DIALOG=1 does not seem to have
>> any effect.
>> 
>> Here is the response I get from gmail:
>> 
>> Jun  6 10:15:10 foohost courieresmtp: 
>> id=0001B3DA.4C0BAD6D.000062FA,from=<r...@foohost>,addr=<[email protected]>: 
>> 530-5.5.1 Authentication Required. Learn more at
>> Jun  6 10:15:10 foohost courieresmtp: 
>> id=0001B3DA.4C0BAD6D.000062FA,from=<r...@foohost>,addr=<[email protected]>: 
>> 530 5.5.1 http://mail.google.com/support/bin/answer.py?answer=14257 
>> i29sm12203537vcr.0
>> Jun  6 10:15:10 foohost courieresmtp: 
>> id=0001B3DA.4C0BAD6D.000062FA,from=<r...@foohost>,addr=<[email protected]>,status:
>>  
>> failure
>> 
>> Here are my configs:
>> 
>> esmtproutes:
>> : smtp.gmail.com,587
>> 
>> esmtpauthclient:
>> smtp.gmail.com [email protected] xxxxx
>
> Update to the current version of Courier.
>
> $ testmxlookup smtp.gmail.com
> Domain smtp.gmail.com:
> Relay: gmail-smtp-msa.l.google.com, Priority: -1, Address: 
> ::ffff:74.125.93.111
> Relay: gmail-smtp-msa.l.google.com, Priority: -1, Address: 
> ::ffff:74.125.93.109
>
> The prehistoric version you're running requires the hostname listed under 
> "Relay", from the output of testmxlookup, to be listed as the first field in 
> esmtpauthclient. Which proved to be unwieldy, since it can change at any 
> time. The current version uses the domain name, instead of the physical 
> machine name, to key off.
>
>

Thanks! Works great now.

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to