Per Jessen
2010-Sep-16 06:51 UTC
[Dovecot] default ACL - in namespace's mail root directory ?
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 ? /Per Jessen, Z?rich
Thomas Leuxner
2010-Sep-16 09:06 UTC
[Dovecot] default ACL - in namespace's mail root directory ?
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