Auto-deletion of messages in Junk-folder after a certain time
ram
ram at netcore.co.in
Tue Jul 15 08:16:34 EDT 2008
On Tue, 2008-07-15 at 19:50 +1000, Bron Gondwana wrote:
> On Mon, Jul 14, 2008 at 01:54:01PM +0200, Marten Lehmann wrote:
> > Hello,
> >
> > we have a virtual domain configuration and I want to remove all messages
> > within the folder
> >
> > user/<any-userpart>@<any-domain>/Junk/*
>
> Being the filty perl programmer that I am, I would just make an admin
> IMAP connection to the server, LIST all mailboxes, regex match the ones
> I wanted, select them and process them.
I used to do the same , But I found a client connection script too slow
& too heavy for my server with 40k mailboxes
I use ipurge now , but ipurge seems to have some bug. If I dont use "-f"
the mailbox under sub domains using realm is not matched
(So just hacked into ipurge.c to do my job )
Thanks
Ram
More information about the Info-cyrus
mailing list