[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cyrus-info
Subject:    setting acl on autocreate folders
From:       "James B. Byrne" <byrnejb () harte-lyne ! ca>
Date:       2012-06-21 16:38:55
Message-ID: 4a907f4398ab158c71bd45d204a6f125.squirrel () webmail ! harte-lyne ! ca
[Download RAW message or body]

centOS-6.2
cyrus-imapd-2.3.16-6.el6_2.5

My question is:  Is there a mechanism to automatically assign a
default acl to a specific mailbox upon creation?  I found the
configuration option defaultacl but, this states that it is
specifically used by mailboxes OTHER than users.

The reason this feature is desired is that presently there seems no
way to stop cyrus-master from directory recursion when this command is
executed:

  cleanup_delivery cmd="ipurge -X -d 183 -f *" at=0414

Because of this we adopted the convention of delivering messages to
user/mailbox/delivery using the smtp mailbox+delivery scheme.  This
allows us to prune what are effectively INBOX messages over a certain
age without trashing the contents of our users' archives folders.

  cleanup_delivery cmd="ipurge -X -d 183 -f *.delivery" at=0414


To handle this setup we have these lines in /etc/imapd.conf

autocreateinboxfolders: delivery|Drafts|Intray|Sent|Spamyes|Spamno|Trash
autosubscribeinboxfolders:
delivery|Drafts|Intray|Sent|Spamyes|Spamno|Trash

Our difficulty arises from the requirement that the mailbox.delivery
folder must have the acl "anyone:p" in order to permit direct delivery
of addresses using the plus + addressing scheme.  This requires
manually setting that acl on every new users' delivery folder, which
effectively eliminates the labour efficiency gained through the folder
auto create commands.

Ideally, we would like to be able to set the acl "anyone:p" on a
specific folder: user/mailbox/delivery.

-- 
***          E-Mail is NOT a SECURE channel          ***
James B. Byrne                mailto:ByrneJB@Harte-Lyne.ca
Harte & Lyne Limited          http://www.harte-lyne.ca
9 Brockley Drive              vox: +1 905 561 1241
Hamilton, Ontario             fax: +1 905 561 0757
Canada  L8E 3C3

----
Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic