<div dir="ltr">Hi,<div>in buildbot nine, there are two way of supporting encrypted connection.</div><div><br></div><div>useTls=True   This will actually connect over TCP, and then switch to encrypted after the SMTP command STARTTLS</div><div>useSmtps=True  This will use the smtps protocol, which just use SMTP over standard TLS connection </div><div><br></div><div>If useTls is not working, this might be an issue with twisted</div><div><br></div><div>You may try to use useSmtps as google is also supporting that</div><div><a href="https://support.google.com/a/answer/176600">https://support.google.com/a/answer/176600</a><br></div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr">Le jeu. 16 févr. 2017 à 17:33, Riccardo Corsi <<a href="mailto:riccardo.corsi@kairos3d.it">riccardo.corsi@kairos3d.it</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="gmail_msg"><div class="gmail_default gmail_msg" style="font-family:tahoma,sans-serif">Hi, </div><div class="gmail_default gmail_msg" style="font-family:tahoma,sans-serif"><br class="gmail_msg"></div><div class="gmail_default gmail_msg" style="font-family:tahoma,sans-serif">I have the exact same problem here.</div><div class="gmail_default gmail_msg" style="font-family:tahoma,sans-serif">Running 0.9.3. on Windows 10 machine (actually VM with VirtualBox)</div><div class="gmail_default gmail_msg" style="font-family:tahoma,sans-serif"><br class="gmail_msg"></div><div class="gmail_default gmail_msg" style="font-family:tahoma,sans-serif">Ricky</div></div><div class="gmail_extra gmail_msg"><br class="gmail_msg"><div class="gmail_quote gmail_msg">On Thu, Feb 16, 2017 at 5:10 PM, Chris Spencer <span dir="ltr" class="gmail_msg"><<a href="mailto:chrisspen@gmail.com" class="gmail_msg" target="_blank">chrisspen@gmail.com</a>></span> wrote:<br class="gmail_msg"><blockquote class="gmail_quote gmail_msg" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="gmail_msg"><div class="gmail_msg"><div class="gmail_msg">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:<br class="gmail_msg"><br class="gmail_msg">    mn = reporters.MailNotifier(<br class="gmail_msg">        fromaddr="<a href="mailto:buildbot@mydomain.com" class="gmail_msg" target="_blank">buildbot@mydomain.com</a>",<br class="gmail_msg">        sendToInterestedUsers=True,<br class="gmail_msg">        useTls=True,<br class="gmail_msg">        relayhost="<a href="http://smtp.gmail.com" class="gmail_msg" target="_blank">smtp.gmail.com</a>",<br class="gmail_msg">        smtpPort=587,<br class="gmail_msg">        smtpUser="<a href="mailto:buildbot@mydomain.com" class="gmail_msg" target="_blank">buildbot@mydomain.com</a>",<br class="gmail_msg">        smtpPassword=SUPER_SECRET_PASSWORD,<br class="gmail_msg">    )<br class="gmail_msg">    c['services'].append(mn)<br class="gmail_msg"><br class="gmail_msg"></div>However, I'm no longer receiving emails and twistd.log shows the error:<br class="gmail_msg"><br class="gmail_msg">    2017-02-16 16:03:02+0000 [-] sending mail (692 bytes) to ['<a href="mailto:me@mydomain.com" class="gmail_msg" target="_blank">me@mydomain.com</a>']<br class="gmail_msg">    2017-02-16 16:03:02+0000 [-] Starting factory <twisted.mail.smtp.ESMTPSenderFactory instance at 0x7fc38d3ad518><br class="gmail_msg">    2017-02-16 16:03:02+0000 [-] Unhandled error in Deferred:<br class="gmail_msg">    2017-02-16 16:03:02+0000 [-] Unhandled Error<br class="gmail_msg">        Traceback (most recent call last):<br class="gmail_msg">        Failure: twisted.mail._except.TLSRequiredError: 502 Server does not support secure communication via TLS / SSL<br class="gmail_msg">        <<< 250-8BITMIME<br class="gmail_msg">        <<< 250-STARTTLS<br class="gmail_msg">        <<< 250-ENHANCEDSTATUSCODES<br class="gmail_msg">        <<< 250-PIPELINING<br class="gmail_msg">        <<< 250-CHUNKING<br class="gmail_msg">        <<< 250 SMTPUTF8<br class="gmail_msg"><br class="gmail_msg"></div>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?<br class="gmail_msg"><br class="gmail_msg"></div>
<br class="gmail_msg">_______________________________________________<br class="gmail_msg">
users mailing list<br class="gmail_msg">
<a href="mailto:users@buildbot.net" class="gmail_msg" target="_blank">users@buildbot.net</a><br class="gmail_msg">
<a href="https://lists.buildbot.net/mailman/listinfo/users" rel="noreferrer" class="gmail_msg" target="_blank">https://lists.buildbot.net/mailman/listinfo/users</a><br class="gmail_msg"></blockquote></div><br class="gmail_msg"></div>
_______________________________________________<br class="gmail_msg">
users mailing list<br class="gmail_msg">
<a href="mailto:users@buildbot.net" class="gmail_msg" target="_blank">users@buildbot.net</a><br class="gmail_msg">
<a href="https://lists.buildbot.net/mailman/listinfo/users" rel="noreferrer" class="gmail_msg" target="_blank">https://lists.buildbot.net/mailman/listinfo/users</a></blockquote></div>