automatically delete emails after a few days

Ken Murchison murch at
Mon Dec 5 08:45:51 EST 2005

Thomas Vogt wrote:
> Hi
> Is there an easy way to delete mails after a certain period? Let's
> assume every user has a personal "Junk" folder. I want to delete every
> email older than 30 days.
> I know it's possible with find(8) but the problem is that I have to
> reconstruct every mailbox. This is very painfull if you have 100k
> mailboxes. 
> Any idea how I can do that? Perhaps with sieve extension?

Look at cyr_expire or ipurge in the Cyrus distro.

Kenneth Murchison
Systems Programmer
Carnegie Mellon University

More information about the Info-cyrus mailing list