[New-bugs-announce] [issue18921] In imaplib, cached capabilities may be out of date after login

Steven Murdoch report at bugs.python.org
Wed Sep 4 16:27:30 CEST 2013


New submission from Steven Murdoch:

When an IMAP server is behind a proxy, the proxy's capabilities may differ from that of the actual IMAP server. However, in Python imaplib, the client will ignore any updates to available capabilities in the response to the LOGIN command (see rfc3501, section 6.2.3). As a result, imaplib will incorrectly assume that certain features are not available (including the IDLE patch in issue 11245, and as implemented in getmail 4.43.0). imaplib should refresh its capability list either based on the result of the login command or by explicitly sending a CAPABILITY command following login.

----------
components: Library (Lib)
messages: 196920
nosy: sjmurdoch
priority: normal
severity: normal
status: open
title: In imaplib, cached capabilities may be out of date after login
type: behavior
versions: Python 2.6, Python 2.7, Python 3.1, Python 3.2, Python 3.3, Python 3.4, Python 3.5

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18921>
_______________________________________


More information about the New-bugs-announce mailing list