Is it possible to clean the trash folder automatic?

Adi Linden adil at adis.on.ca
Thu Oct 28 14:42:32 EDT 2004


> Does this work:
>
> purgetrash    cmd="ipurge -d 7 -f *.Trash" at=0300

I adapted it to my particular situation and ran it from command line as
user cyrus:

    ./bin/ipurge -b 10 -X -f *.junkmail

This works. It also processes nested folders:

    ./bin/ipurge -b 10 -X -f *.junkmail
    Working on user.fred.junkmail at planecrazy.ca
    Working on user.fred.testing.junkmail at planecrazy.ca

Any way to limit its actions to just the INBOX.junkmail folder of every
user on the system regardless of domain? Is there a document anywhere that
describes the matching of mailbox paths and the purpose of '*' versus '%'?

Thanks,
Adi
---
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