[Web-cyradm] Standard Folders creation with specific ACLs
Andreas Koester
Andreas.Koester at web.de
Fri May 25 21:47:11 CEST 2007
I'm using Web-Cyradm to maintain the mail server of our small company
(about 25 users). Thanks for the great tool!
I set up amavis to sort junk mail into different mailboxes via
plus-addressing. So I had to create some standard folders for each new
user, and I had to set the ACL 'p' to the user anyone.
So I extended the functionality of the "Standard Folders":
You can define multiple mailboxes and ACLs which shall be set in the
following format:
"<MailboxName> [(UserId UserRights [, UserId UserRights] [...]] [, ...]"
For example the sting
"Junk, Junk/Virus (anyone p), Junk/BadHeader (anyone p, everyone rl),
Junk/Spam, Junk/Banned"
will create the mailbox Junk, the mailbox Junk/Virus with additional ACL
p for user anyone, and so on.
I've tested this with cyrus imapd 2.2.13 (openSUSE 10.2), configured with
unixhierarchysep: yes, altnamespace: yes
I attached the patch.
By the way: the Standard Folders creation does not work if the username
contains upper-case letters (e.g. TestUser1). Must be an authentication
problem, the imap_login as the new created user fails. Usernames in
lowercase (testuser1) work fine. But not a problem for me, may be I'll
have some time to look closer to this later.
Greetings,
Andreas
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: newaccount.php.patch
Url: http://foxi.bitheads.ch/pipermail/web-cyradm/attachments/20070525/d807fcd3/newaccount.php.ksh
More information about the Web-cyradm
mailing list