On Mon, Dec 05, 2005 at 09:32:25AM -0600, Michael King wrote: > Strange... > > I use % instead of * - is that just a version difference thing, or should I > be using * ? > > I'm using: > > cmd="ipurge -X -d 6 -f user/%/SPAM" > > I use the -X so that emails with a date in the distant future (furthest I've > seen is 2012) don't stick around until then.
how would the correct syntax bee to purge all spam mails from virtual domains ? user/%/SPAM is not enough I have to also pass the domain, I now created for every domain a cron script like this: user/%/[EMAIL PROTECTED] user/%/[EMAIL PROTECTED] . . . but this should not be a final solution ( well, this is what I sayd some long long time ago and forgot about it ) Cris > > HTH, > > Michael King, Systems Administrator > Web International, Inc. > [EMAIL PROTECTED] > http://www.webinternational.net > > > -----Original Message----- > > From: [EMAIL PROTECTED] [mailto:info-cyrus- > > [EMAIL PROTECTED] On Behalf Of Darin Perusich > > Sent: Monday, December 05, 2005 7:50 AM > > To: Thomas Vogt; info-cyrus@lists.andrew.cmu.edu > > Subject: Re: automatically delete emails after a few days > > > > 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. > > [EMAIL PROTECTED] > > ---- > > 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 > > > > ---- > 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 > -- Cristian Livadaru --=[ http://www.livadaru.net/cristian ]=-- ---- 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