[Buildbot-devel] twisted.mail.smtp.AUTHDeclinedError: BuildBot MailNotifier
Sarah Addis
sarahaddis3 at gmail.com
Fri Jul 20 09:05:25 UTC 2012
I am using BuildBot mail notifier to send an email on the success/failure
of a build. The system works with a GMail account, but I am trying to use a
company email address and encountering the following error in the twisted
log when sending an email is attempted:
2012-07-19 15:21:45+0100 [ESMTPSender,client] Unhandled error in Deferred:
2012-07-19 15:21:45+0100 [ESMTPSender,client] Unhandled Error
Traceback (most recent call last):
**Failure: twisted.mail.smtp.AUTHDeclinedError: 535 5.7.0
authentication failed**
<<< 250 HELP
>>> STARTTLS
<<< 220 2.0.0 Ready to start TLS
>>> EHLO localhost.localdomain
<<< 250-server.company.co.uk Hello [111.111.11.111], pleased to meet you
<<< 250-ENHANCEDSTATUSCODES
<<< 250-PIPELINING
<<< 250-8BITMIME
<<< 250-SIZE 20480000
<<< 250-DSN
<<< 250-ETRN
<<< 250-AUTH DIGEST-MD5 CRAM-MD5 LOGIN PLAIN
<<< 250-DELIVERBY
<<< 250 HELP
>>> AUTH CRAM-MD5
<<< 144 $DMwMTEEMDA2OC41MzA1DDVAaGQkcmlh&i5sYXRlbnMuY28udWs+
>>> bGJ1aWxk3XIgYWRhZTUzNmY0OWU1YzU0NmY1MjM0OGIwNGE3^zhjYTg=
<<< 535 5.7.0 authentication failed
2012-07-19 15:21:45+0100 [-] SVNPoller: polling
2012-07-19 15:21:45+0100 [ESMTPSender,client] Stopping factory
<twisted.mail.smtp.ESMTPSenderFactory instance at 0x5385908>
All the credentials in the master.cfg file are correct i.e. username and
password are spelt correctly:
from buildbot.status import mail
c['status'].append(mail.MailNotifier(
fromaddr="build at companyname.co.uk",
extraRecipients=[example at companyname.com",],
sendToInterestedUsers=False,
mode='all',
relayhost="smtp.companyname.lan",
useTls=False,
smtpUser="username",
smtpPassword="password"))
I tried to fix the issue by setting useTls to false but the process
"STARTTLS" still appears in the error log... I would appreciate any
guidance on how to get the email working.
SSA
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://buildbot.net/pipermail/devel/attachments/20120720/99de0820/attachment.html>
More information about the devel
mailing list