<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On 18 June 2015 at 08:45, James Hanson <span dir="ltr"><<a href="mailto:jahanso@gmail.com" target="_blank">jahanso@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>We are getting the following message when setting up the Mail settings and doing the "save and send test email".</div><div>Error Unable to send test e-mail [Errno 1] _ssl.c:504: error:1411809D:SSL routines:SSL_CHECK_SERVERHELLO_TLSEXT:tls invalid.</div><div><br></div><div>Sending through our SMTP server works from the command line.</div><div><br></div><div>Traceback at: <a href="http://pastie.org/10247132" target="_blank">http://pastie.org/10247132</a></div><div>Plone version 4.2.1 on linux 2.6.33.7-server-2mnb</div><div><br></div><div>Not finding much help from searching.</div></div></blockquote><div><br></div><div>It is related to Python 2.7, it's SSL built and what default SSL/TLS Python uses when it negotiates the secret connection. Knowing what kind of encryption the mail server uses might give a hint.<br><br></div><div>Here is a mixed bag of related errors: <br></div><div><br><a href="http://stackoverflow.com/questions/10678695/in-python-3-2-i-can-open-and-read-an-https-web-page-with-http-client-but-urlli">http://stackoverflow.com/questions/10678695/in-python-3-2-i-can-open-and-read-an-https-web-page-with-http-client-but-urlli</a><br><br></div><div>Potential causes I come up in my mind are<br><br></div><div>- Python tries SSLv2 when SSLv3 required<br><br></div><div>- The server requires Server Name Identification (SNI) support which Python version running Plone supports<br><br></div><div>Unfortunately I am not sure how to fix, but with more information I am sure this is solvable.<br><br></div><div>As a work around what you can always do: Setting up a mail server on the server (localhost) which works as a slave for the actual external mail server. Here is an example for Ubuntu Linux and Postfix:<br><br><a href="http://opensourcehacker.com/2013/03/26/using-postfix-and-free-mandrill-email-service-for-smtp-on-ubuntu-linux-server/">http://opensourcehacker.com/2013/03/26/using-postfix-and-free-mandrill-email-service-for-smtp-on-ubuntu-linux-server/</a><br></div><div><br></div><div>Thanks,<br></div><div>Mikko<br></div><div><br> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><span class=""><font color="#888888"><div>James.</div></font></span></div>
<br>_______________________________________________<br>
Setup mailing list<br>
<a href="mailto:Setup@lists.plone.org">Setup@lists.plone.org</a><br>
<a href="https://lists.plone.org/mailman/listinfo/plone-setup" rel="noreferrer" target="_blank">https://lists.plone.org/mailman/listinfo/plone-setup</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature">Mikko Ohtamaa<br><a href="http://opensourcehacker.com" target="_blank">http://opensourcehacker.com</a><br><a href="http://twitter.com/moo9000" target="_blank">http://twitter.com/moo9000</a><br></div>
</div></div>