a EXAMINE INBOX
[...]
a OK [READ-ONLY] Select completed.
a EXAMINE ""
a NO Empty mailbox name.
[Should be in authenticated mode with no active mailbox. But...]
a STATUS INBOX (UIDVALIDITY)
* STATUS "INBOX" (UIDVALIDITY 1255685337)
a OK [CLIENTBUG] Status on selected mailbox completed.
a UNSELECT
a OK Unselect completed.
a STATUS INBOX (UIDVALIDITY)
* STATUS "INBOX" (UIDVALIDITY 1255685337)
a OK Status completed.
Seeing a whole bunch of the CLIENTBUGs in the logs since IMP uses
imapproxy and relies on the proxy to unselect the mailbox when a
LOGOUT is caught. Thus, when we rebuild the connection on the next
page connection, we assume that there is no active mailbox (we
actually use LIST-STATUS to do folder polling, but we still use STATUS
when we only need data on a single mailbox).
imapproxy *should* really be using UNSELECT, but that looks like a
different (imapproxy) bug.
michael