[Dovecot] Incorrect response when opening read-only mailboxes with per-user flags?

Timo Sirainen tss at iki.fi
Wed Mar 27 21:27:22 EET 2013

On 27.3.2013, at 13.41, Guido Berhoerster <guido+dovecot.org at berhoerster.name> wrote:

> After some debugging on the protocol level I've finally found the
> problem with per-user seen flags in read-only mailboxes. Dovecot
> actually does allow storing the seen flag on messages but AFAICS
> it does not communicate that correctly to clients, this is what
> its response to selecting a read-only mailbox with "lrs" ACL in
> effect for the logged in user looks like:
> 2 SELECT "Public/Test"
> 2 OK [READ-ONLY] Select completed.
> Shouldn't PERMANENTFLAGS contain \Seen here if per-user seen
> flags are enable and should it even be tagged READ-ONLY at all in
> this case? At least clients such as Python imaplib, IMAPClient,
> or Roundcube will open such mailboxes with EXAMINE and thus do
> not allow the modification of flags.

Are you still testing on v2.0? It could be a bug in it.

More information about the dovecot mailing list