Opened 2 years ago

Closed 2 years ago

#5798 defect closed invalid (invalid)

twisted.mail.smtp.AUTHDeclinedError: BuildBot MailNotifier

Reported by: saddis01 Owned by:
Priority: high Milestone:
Component: core Keywords:
Cc: Branch:
Author: Launchpad Bug:

Description

I am using BuildBot 0.8.6p1 mail notifier to send an email on the success/failure of a build. I am using Twisted: 8.2.0 a compatible version with the version of Buildbot I am currently using. 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+

bGJ1aWxk3XIgYWRhZTUzNmY0OWU1YzU0NmY1MjM0OGIwNGE3zhjYTg=

<<< 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 buildbot master.cfg file are correct i.e. username and password are spelt correctly:

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 why this error is occurring and how to correct it.

Change History (1)

comment:1 Changed 2 years ago by exarkun

  • Resolution set to invalid
  • Status changed from new to closed

This isn't the appropriate forum. Please try the BuildBot community, either their mailing list or IRC channel. If it looks like a Twisted issue, then first upgrade to the most recent version of Twisted. If the problem persists, try the Twisted mailing list or IRC channel.

This is an issue tracker for bugs and features, not for support issues.

Note: See TracTickets for help on using tickets.