msft outlook.com 経由でメールを送信するコードは、Windows では機能しますが、Linux ボックスでは機能しません。これを修正する方法はありますか?
import smtplib
smtp = smtplib.SMTP('smtp.live.com', port=587)
smtp.starttls()
smtp.login(username, password)
SMTPServerDisconnected: Connection unexpectedly closed:
[Errno 1] _ssl.c:1359: error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number
編集: 詳細: python 2.7.3、openssl 0.9.8x および 1.0.1c を使用する gentoo Linux