Automatically expire messages in imap folder

Patrick Boutilier boutilpj at
Thu Jun 3 11:22:12 EDT 2004

Adi Linden wrote:
> Is it possible to have cyrus-imap automatically expire messages in a 
> subfolder for every user of the system? I would like to deliver messages 
> identified as SPAM to a particular folder, INBOX.spam. Further it would be 
> nice if the number of messages in this folder could be limited, not by a 
> quota but by automatically deleting older messages. Is that possible?

man cyradm

and look at mboxcfg and setinfo

for example:

mboxcfg user.someuser.spam expire 7
Cyrus Home Page:
Cyrus Wiki/FAQ:
List Archives/Info:

More information about the Info-cyrus mailing list