[Dovecot] Broken SELECT ""/EXAMINE ""
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
Michael,
On 9/1/10 12:18 AM, "Michael M. Slusarz" slusarz@curecanti.org wrote:
imapproxy *should* really be using UNSELECT, but that looks like a different (imapproxy) bug.
I run imapproxy too. If you're using Dovecot 2.0, set:
imap_capability = +UNSELECT IDLE
Imapproxy is naive and only reads capabilities from the initial banner - it doesn't refresh them after login. If you make sure they're in the initial capability list it will behave properly.
-Brad
On 2010-09-01 3:50 AM, Brandon Davidson brandond@uoregon.edu wrote:
Imapproxy is naive and only reads capabilities from the initial banner - it doesn't refresh them after login. If you make sure they're in the initial capability list it will behave properly.
Hopefully you or someone opened a bug with them to fix it? ;)
--
Best regards,
Charles
Charles,
-----Original Message-----
On 2010-09-01 3:50 AM, Brandon Davidson brandond@uoregon.edu wrote:
Imapproxy is naive and only reads capabilities from the initial banner - it doesn't refresh them after login. If you make sure they're in the initial capability list it will behave properly.
Hopefully you or someone opened a bug with them to fix it? ;)
At the time I noticed it, imapproxy was essentially unmaintained. It appears that the squirrelmail guys are taking over the project; I should see what they've been doing with it.
-Brad
On Wed, 2010-09-01 at 00:50 -0700, Brandon Davidson wrote:
Imapproxy is naive and only reads capabilities from the initial banner - it doesn't refresh them after login.
And just to be clear: imapproxy *ignores* updated capabilities that Dovecot sends to it. "Refresh" word sounds like it would have had to issue an extra CAPABILITY command for it.
On Wed, 2010-09-01 at 01:18 -0600, Michael M. Slusarz wrote:
a EXAMINE "" a NO Empty mailbox name. [Should be in authenticated mode with no active mailbox. But...]
Yeah, that's a bug. Fixed:
http://hg.dovecot.org/dovecot-2.0/rev/a428dd6fe3e7 http://hg.dovecot.org/dovecot-1.2/rev/63857c491143
(v1.0 and v1.1 handled it correctly)
participants (5)
-
Brad Davidson
-
Brandon Davidson
-
Charles Marcus
-
Michael M. Slusarz
-
Timo Sirainen