I got error '[Errno 113] No route to host' with smtp_ssl because of a bug in OpenSSL 1.0.1e-fips (centos 6.6) which made an ssl connection to my smtp server impossible. I haven't succeeded in compiling python with gnu-tls or polarssl, and this workaround suites me best although the emails are not dkim/dmarc compliant.
I got error '[Errno 113] No route to host' with smtp_ssl because of a bug in OpenSSL 1.0.1e-fips (centos 6.6) which made an ssl connection to my smtp server impossible. I haven't succeeded in compiling python with gnu-tls or polarssl, and this workaround suites me best although the emails are not dkim/dmarc compliant.