ipurge or expire on virtual domains?

Cristian Livadaru drac3 at vwclub.ro
Thu Dec 1 01:12:04 EST 2005

On Thu, Dec 01, 2005 at 10:28:02AM +1100, Robin Rainton wrote:
> Hi,
> I've just moved to a virtual domain environment which seems to have broken
> ipurge. Used to have stuff such this in a cron job:
> 1 0 * * * /usr/cyrus/bin/ipurge -f -d 7 user.\*.Spam > /dev/null
> Of course, now using 'unixhierarchysep: yes' and though I could just change the
> ipurge command to this:
> ipurge -f -d 7 user/\*/Spam
> But that doesn't work. Also tried stuff like this:
> ipurge -f -d 7 user/\*/Spam@\*
> ipurge -f -d 7 user/\*@\*/Spam

I have unixhierarchysep: yes and this is how I do the ipurge, not quite
the best solution since I have to creati it for every domain
didn't find out how to solve this 

user/%/spam at foo.net

hope this helps

> All with no joy. Can anyone shed light on the correct ipurge syntax for virtual
> domains? This is all with v2.2 of the server.
> Alternatly, I found something about expiring messages with mboxcfg expire... Is
> there a way to automatically set expire values in the same way one can specify
> autocreateinboxfolders? That would be nice, then users could perhaps control
> this as I assume the autoexpire setting might only be set at mbcreation time? I
> have this in /etc/imapd.conf for example:
> autocreateinboxfolders:Sent Items|Trash|Drafts|Spam
> Thanks in advance,
> Robin
> ----
> 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 ]=--

More information about the Info-cyrus mailing list