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

I've also tried:

esmtpauthclient:
smtp.gmail.com,587 [email protected] xxxxx

esmtpd:
PATH=/usr/bin:/bin:/usr/bin:/usr/local/bin
SHELL=/bin/sh
ULIMIT=4096
BOFHCHECKDNS=1
BOFHNOEXPN=1
BOFHNOVRFY=1
NOADDMSGID=1
NOADDDATE=1
ESMTP_LOG_DIALOG=0
AUTH_REQUIRED=0
COURIERTLS=/usr/bin/couriertls
TLS_PROTOCOL=SSL3
TLS_CERTFILE=/etc/courier/esmtpd.pem
TLS_VERIFYPEER=NONE
MAILUSER=daemon
MAILGROUP=daemon
PORT=smtp
BLACKLISTS=""
ACCESSFILE=${sysconfdir}/smtpaccess
MAXDAEMONS=40
MAXPERC=5
MAXPERIP=5
PIDFILE=/var/run/courier/esmtpd.pid
TCPDOPTS="-stderrlogger=/usr/sbin/courierlogger"
ESMTPAUTH=""
ESMTPAUTH_WEBADMIN="LOGIN CRAM-MD5 CRAM-SHA1 CRAM-SHA256"
ESMTPAUTH_TLS=""
ESMTPAUTH_TLS_WEBADMIN="PLAIN LOGIN CRAM-MD5 CRAM-SHA1 CRAM-SHA256"
ESMTPDSTART=YES


Thanks!
-spd



------------------------------------------------------------------------------
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