This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author r.david.murray
Recipients barry, dveeden, r.david.murray
Date 2013-12-18.12:54:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1387371284.09.0.556330755143.issue20013@psf.upfronthosting.co.za>
In-reply-to
Content
Looks like a bug in the RFC, not including DELETE of current mailbox in the things that cause a transition back to 'authenticated' state.

But yes, a clearer error message would be good.  The code should be handling this correctly, so something odd is going on.  Can you provide an imaplib debug level 5 trace of the session?  That should show the network conversation from imaplib's point of view, as well as a bit about its internal state.

In your imaplib case, I presume the error occurs when you try to issue a new select command?
History
Date User Action Args
2013-12-18 12:54:44r.david.murraysetrecipients: + r.david.murray, barry, dveeden
2013-12-18 12:54:44r.david.murraysetmessageid: <1387371284.09.0.556330755143.issue20013@psf.upfronthosting.co.za>
2013-12-18 12:54:44r.david.murraylinkissue20013 messages
2013-12-18 12:54:43r.david.murraycreate