Automatically expire messages in imap folder

Ken Murchison ken at oceana.com
Thu Jun 3 14:28:58 EDT 2004


Patrick Boutilier wrote:

> 
> 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

This is what I use for my user's SPAM folders and for my newsgroup 
folders, but you need to keep in mind that the /expire annotation is 
inherited by children unless told otherwise.

--
Kenneth Murchison     Oceana Matrix Ltd.
Software Engineer     21 Princeton Place
716-662-8973 x26      Orchard Park, NY 14127
--PGP Public Key--    http://www.oceana.com/~ken/ksm.pgp
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html




More information about the Info-cyrus mailing list