From: ram (no email)
Date: Tue Jul 15 2008 - 08:16:34 EDT
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
---- Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
|
|
|