id,summary,reporter,owner,description,type,status,priority,milestone,component,resolution,keywords,cc,branch,branch_author,launchpad_bug
5798,twisted.mail.smtp.AUTHDeclinedError: BuildBot MailNotifier,saddis01,,"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+

    >>> 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 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. ",defect,closed,high,,core,invalid,,,,,
