[users at bb.net] MailNotifier unable to send
Pierre Tardy
tardyp at gmail.com
Thu Feb 16 17:13:11 UTC 2017
Hi,
in buildbot nine, there are two way of supporting encrypted connection.
useTls=True This will actually connect over TCP, and then switch to
encrypted after the SMTP command STARTTLS
useSmtps=True This will use the smtps protocol, which just use SMTP over
standard TLS connection
If useTls is not working, this might be an issue with twisted
You may try to use useSmtps as google is also supporting that
https://support.google.com/a/answer/176600
Le jeu. 16 févr. 2017 à 17:33, Riccardo Corsi <riccardo.corsi at kairos3d.it>
a écrit :
> Hi,
>
> I have the exact same problem here.
> Running 0.9.3. on Windows 10 machine (actually VM with VirtualBox)
>
> Ricky
>
> On Thu, Feb 16, 2017 at 5:10 PM, Chris Spencer <chrisspen at gmail.com>
> wrote:
>
> The MailNotifier is not working for me in 0.9. It was working perfectly in
> 0.8, and most of the settings seemed to have remained the same, so I copied
> over what I had before, giving me the configuration:
>
> mn = reporters.MailNotifier(
> fromaddr="buildbot at mydomain.com",
> sendToInterestedUsers=True,
> useTls=True,
> relayhost="smtp.gmail.com",
> smtpPort=587,
> smtpUser="buildbot at mydomain.com",
> smtpPassword=SUPER_SECRET_PASSWORD,
> )
> c['services'].append(mn)
>
> However, I'm no longer receiving emails and twistd.log shows the error:
>
> 2017-02-16 16:03:02+0000 [-] sending mail (692 bytes) to ['
> me at mydomain.com']
> 2017-02-16 16:03:02+0000 [-] Starting factory
> <twisted.mail.smtp.ESMTPSenderFactory instance at 0x7fc38d3ad518>
> 2017-02-16 16:03:02+0000 [-] Unhandled error in Deferred:
> 2017-02-16 16:03:02+0000 [-] Unhandled Error
> Traceback (most recent call last):
> Failure: twisted.mail._except.TLSRequiredError: 502 Server does
> not support secure communication via TLS / SSL
> <<< 250-8BITMIME
> <<< 250-STARTTLS
> <<< 250-ENHANCEDSTATUSCODES
> <<< 250-PIPELINING
> <<< 250-CHUNKING
> <<< 250 SMTPUTF8
>
> Now, I know for a fact that Gmail supports TLS because I'm using it in
> several other applications with TLS enabled just fine, and I TLS was
> enabled with the 0.8 mail notifier, which also worked just fine. Why am I
> getting this error?
>
>
> _______________________________________________
> users mailing list
> users at buildbot.net
> https://lists.buildbot.net/mailman/listinfo/users
>
>
> _______________________________________________
> users mailing list
> users at buildbot.net
> https://lists.buildbot.net/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.buildbot.net/pipermail/users/attachments/20170216/1fd7df6d/attachment.html>
More information about the users
mailing list