[Dovecot] default ACL - in namespace's mail root directory ?

Thomas Leuxner tlx at leuxner.net
Thu Sep 16 12:06:53 EEST 2010


On Thu, Sep 16, 2010 at 08:51:16AM +0200, Per Jessen wrote:
> I have a namespace like this:
> 
> namespace {
>    type = private
>    separator = /
>    prefix =
>    location =
> maildir:/var/ferrari/users/%d/%n:INDEX=/var/ferrari/indexes/3/4/%u:CONTROL=/var/ferrari/indexes/3/4/%u
> 
>    inbox = no
>    list = yes
>    subscriptions = yes
> }
> 
> Where do I store "dovecot-acl" as the default ACL ?

Based on the assumption this is a current version, one option would be setting a global acl for the INBOX like:

plugin {
  acl = vfile:/var/ferrari/acls/%d:cache_secs=300
}

$ cat /var/ferrari/acls/<%d>/INBOX
owner lrwstiekxap

Putting the 'dovecot-acl' inside the maildir root should also work, but
may require deploying it to new users via some mechanism.

Regards
Thomas



More information about the dovecot mailing list