[Dovecot] Strange behavior from shared namespaces and INBOX, probably a bug

Timo Sirainen tss at iki.fi
Thu Feb 9 21:02:03 EET 2012


On Fri, 2011-09-23 at 14:13 +0200, Christoph Bussenius wrote:

> Some folders of user1, including the INBOX, have been shared using these IMAP commands:
> . login user1 XXXXXX
> . setacl INBOX user2 lrwstiekx
> . setacl box-a user2 lrwstiekx
> 
> Now if we use telnet to log in as user2 and select "shared/user1", it will contain the same
> mails as "shared/user1/INBOX".
> 
> The really strange thing is that "SELECT"-ing "shared/user1" succeeds only
> if it is the first command afted logging in.  If it not the first
> command (if e. g. the "LIST" or "SELECT" command has already been used),
> then dovecot will report that the mailbox does not exist.

v2.1 always fails to select "shared/user1". I don't think I'll bother
figuring out why v2.0 doesn't, might not be an easy fix. Much of the
code related to this was rewritten in v2.1.





More information about the dovecot mailing list