[Dovecot] Inherited ACLs for mailboxes created by not-owner

Timo Sirainen tss at iki.fi
Sun Feb 12 06:16:00 EET 2012

On 10.2.2012, at 14.13, Michael Stilkerich wrote:

> I have shared one of my mailboxes to another user providing him full rights to
> that mailbox.
> $ doveadm acl get -u user1 doc

Is "doc" the namespace prefix?

> When that user creates a new mailbox within the shared mailbox, the mailbox is successfully
> created but with an empty ACL.

Creates how? With IMAP client?

> According to the wiki, it should inherit the ACL from its parent, i.e. have
> full permissions for user2.

Works with me. dovecof -n output?

> Dovecot logs the following errors when I access the parent folder the first time
> after the other user created the child mailbox: 
> dovecot: imap(user1): Error: Mailbox doc/hallo: Corrupted index, uidvalidity=0
> dovecot: imap(user1): Error: Recent flags state corrupted for mailbox INBOX
> dovecot: imap(user1): Error: /home/dovecot/user1/mailboxes/INBOX/dbox-Mails/dovecot.index reset, view is now inconsistent

Are you trying to use per-user indexes? That's not going to work.

More information about the dovecot mailing list