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

Thanks
Ram

----------------------------------------------------------------

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

MailServ and FlexiMail: Messaging Solutions: http://netcore.co.in

Pragatee: Integrated Server-Software Suite: http://www.pragatee.com

Emergic Freedom: Server-centric Computing: http://www.emergic.com

BlogStreet: Blog Profiles and RSS Ecosystem: http://blogstreet.com

Deeshaa: Rural Development: http://www.deeshaa.com

Rajesh Jain's Weblog on Technology: http://www.emergic.org
----------------------------------------------------------------

Reply via email to