Is it possible to clean the trash folder automatic?

Ben Poliakoff benp at reed.edu
Wed Oct 13 12:08:44 EDT 2004


* Sebastian Hagedorn <Hagedorn at uni-koeln.de> [041013 08:59]:
> >>>   purgetrash    cmd="ipurge -d 7 -f user/%/Trash" at=0200
> >>
> >>Does this also remove old message from anything below user/%/Trash, like
> >>user/%/Trash/SPAM and user/%/Trash/Virus?
> >
> >The above "purgetrash" event is not recursive.  It should only operate
> >on user/*/Trash (INBOX/Trash, from the user's point of view).
> >Mailboxes fitting the pattern, "user/%/Trash/SPAM" would be untouched.
> 
> unfortunately that's not true. "ipurge" apparently always works 
> recursively. I just tried it on a backup of our server (this is under 
> 2.2.8):

Ouch! I stand corrected.  Thanks for clarifying this issue.

Ben

---
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




More information about the Info-cyrus mailing list