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 days. You can also alter the folder's permissions to prevent users from deleting them. Does that help? Andy ---- 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