Autodelete of old mails

Ramprasad A Padmanabhan ramprasad at
Thu Jan 8 05:25:09 EST 2004

On Tue, 2003-12-30 at 12:44, Craig Ringer wrote:

> Ramprasad A Padmanabhan wrote:
> > I want to maintain my cyrus-imap server in such a way that all mails
> > older than 30 days will be deleted for all users
> >  I have written a client code using perl Mail::IMAPClient. 
> > But I was wondering if it was possible at the cyrus level.
> > the "popexpiretime:"  in imapd.conf  parameter is something like this ,
> > But I dont think I can use it to actually delete older mails
> What about using the `ipurge` command? I nuke my users' trash mailboxes 
> after 14 days with a simple command in the EVENTS section of cyrus.conf:
>    purgetrash    cmd="ipurge -d 14 -f user.%.Trash" at=0200
> and it works well.
> Craig Ringer

I am trying ipurge out.
Seems a good idea, but does not work even if one mailbox is corrupt.
I have around 2000 mailboxes on a redhat 7.3 machine but now whenever
ipurge encounters the first corrupt mailbox it just exits

Is there a way I can tell ipurge to continue on error  after reporting
the errors



NETCORE SOLUTIONS *** Ph: +91 22 5662 8000 Fax: +91 22 5662 8134

MailServ and FlexiMail: Messaging Solutions:

Pragatee: Integrated Server-Software Suite:

Emergic Freedom: Server-centric Computing:

BlogStreet: Blog Profiles and RSS Ecosystem:

Deeshaa: Rural Development:

Rajesh Jain's Weblog on Technology:

-------------- next part --------------
An HTML attachment was scrubbed...

More information about the Info-cyrus mailing list