ACLs on Top level mailboxes.

Timo Sirainen tss at iki.fi
Mon Jul 28 14:35:36 UTC 2014


On 24 Jul 2014, at 01:22, Dan Carroll <fbsd at dannysplace.net> wrote:

> I’m in the process of migrating a mail server to new hardware.   At the same time, I’ve made the decision to switch from courier to dovecot (v2.2.13) and from what I have seen so far I’m pretty happy.
> I have two questions for the list.
> 
> I’d like my users mailboxes (Maildir format) to look like this:
> 
> Inbox
>     UserCreatedSubFolder1
>     UserCreatedSubFolder2
>> Sent
>     UserCreatedSubFolder3
> Drafts
> Trash
> Junk
> Archives
> 
> 
> The Top level folders (Sent, Drafts etc) are all “Special” and I do not wish the users to be able to delete them.
> I also don’t want them to create new Top level folders.
> 
> This will force all custom folders to be under a Top Level folder.
..
> I also tried some global-acl file settings but I could not make that work either.


I think global ACL file would work. Use something like:

* <no rename/delete rights>
INBOX.* <all rights>

(I don't remember the rights strings exactly now.)

> My second question relates to migration.    Is it enough that I copy the Maildir structure and simply delete the courier files or is it a lot better to use a courier->dovecot migration tool?
> I realise folder subscriptions would be lost but that’s OK, I’ll recreate them manually anyway.

IMAP clients will redownload their local mail cache if you don't use migration tool. Doesn't necessarily matter with few users.



More information about the dovecot mailing list