automatically delete emails after a few days
Darin Perusich
Darin.Perusich at cognigencorp.com
Mon Dec 5 08:49:46 EST 2005
setup an event using the ipurge command in cyrus.conf, here's an example.
junkrm cmd="ipurge -d 14 -f user/*/Junk" at=0345
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?
>
> Regards,
>
>
> ------------------------------------------------------------------------
>
> ----
> 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
--
Darin Perusich
Unix Systems Administrator
Cognigen Corp.
darinper at cognigencorp.com
More information about the Info-cyrus
mailing list