danblack added the comment: Antoine,
I copied off your http example for all the other protocols. tested with: import smtplib a = smtplib.SMTP_SSL('gmail-smtp-in.l.google.com.') a.starttls() a = smtplib.SMTP_SSL('mail.internode.on.net') a = smtplib.SMTP_SSL('smtp.gmail.com') import ftplib # http://secureftp-test.com/ f = ftplib.FTP_TLS('ftp.secureftp-test.com') f.auth() import imaplib i = imaplib.IMAP4('calmail.berkley.edu') i.starttls() i = imaplib.IMAP4_SSL('mail.internode.on.net') import poplib p = poplib.POP3_SSL('calmail.berkley.edu') import nntplib n = nntplib.NNTP_SSL('news.internode.on.net') I did a network capture and saw the hostname in the SNI header ---------- nosy: +daniel-black Added file: http://bugs.python.org/file26918/issue_10852_pop-smtp-imap-nntp.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue10852> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com