Auto create folders

Andrew Morgan morgan at
Fri Jan 23 13:32:51 EST 2015

On Fri, 23 Jan 2015, John Mok wrote:

> Hi,
> I have been using Cyrus IMAP 2.4.17 on Debian 7 with Kerberos / GSSAPI 
> authentication.
> I would like to auto-create one or more folders upon mailbox creation, 
> e.g. a spam folder to store potential spam mails for spamassassin 
> learning.
> On the other hand, how to prevent such folders from deletion by users?
> Thanks a lot.

How do you create mailboxes now?

We create mailboxes using a Perl script, and that script also creates a 
"junk-mail" folder with an annotation to delete messages older than 30 

You can also alter the folder's permissions to prevent users from deleting 

Does that help?


More information about the Info-cyrus mailing list