ipurge with virtual domains

Robin M. robin at primus.ca
Mon Apr 19 22:52:40 EDT 2004


How can I use ipurge to delete mail from a trash folder called
"Deleted Items" for all users in all domains using ipurge.

The following command succesfully works, but I cannot figure out how to
wildcard the domain name portion.

./ipurge -f -d 7 "user/%/Deleted Items at draftmail.org"

I have tried unsuccessfull commands such as

./ipurge -f -d 7 "user/%/Deleted Items"
./ipurge -f -d 7 "user/%@draftmail.org/Deleted Items"
./ipurge -f -d 7 "user/%@%/Deleted Items"
./ipurge -f -d 7 "user/%/Deleted Items@%"
./ipurge -f -d 7 "user/%/Deleted Items%"


I have the following items in my /etc/imapd.conf
unixhierarchysep: yes
altnamespace: yes
virtdomains: userid
defaultdomain: localdomain


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