Re: IMAP4_SSL and OpenSSL compatibility

2013-03-02 Thread Matej Cepl
On 2013-02-26, 16:57 GMT, W. Martin Borgert wrote: > 1. Is there any plan to backport this Python >= 3.3 feature to > Python 2? No, development of Python 2 ceased to exist (only important bugfixes or security fix will happen, IIRC) If you need advanced use of SSL, use pyOpenSSL (it has be

Re: IMAP4_SSL and OpenSSL compatibility

2013-03-01 Thread Antoine Pitrou
W. Martin Borgert debian.org> writes: > > > > There is already the ssl_context option for that: > > http://docs.python.org/3.3/library/imaplib.html#imaplib.IMAP4_SSL > > Many thanks! Two more questions: > > 1. Is there any plan to backport this Python >= 3.3 feature to > Python 2? No, we

Re: IMAP4_SSL and OpenSSL compatibility

2013-02-26 Thread W. Martin Borgert
Quoting "Antoine Pitrou" : W. Martin Borgert debian.org> writes: When I add an ssl_version argument to the call to ssl.wrap_socket() in imaplib.IMAP4_SSL.open(), I can connect to the Exchange server without problems: self.sslobj = ssl.wrap_socket(self.sock, self.keyfile, self.certfile,

Re: IMAP4_SSL and OpenSSL compatibility

2013-02-26 Thread Antoine Pitrou
W. Martin Borgert debian.org> writes: > > When I add an ssl_version argument to the call to > ssl.wrap_socket() in imaplib.IMAP4_SSL.open(), I can connect to > the Exchange server without problems: > > self.sslobj = ssl.wrap_socket(self.sock, self.keyfile, self.certfile, >

IMAP4_SSL and OpenSSL compatibility

2013-02-25 Thread W. Martin Borgert
Hi, after an upgrade from Debian squeeze to Debian wheezy, I could not connect to a Microsoft Exchange Server 2003 anymore, because the OpenSSL library, Python is linked with, changed from version 0.9.8o to 1.0.1e, which has different defaults. The code is: >>> import imaplib >>> IMAP4_SSL("192.1