ipurge with virtual domains

Michael Loftis mloftis at wgops.com
Mon Apr 19 23:06:04 EDT 2004


not sure who told you % is a wildcard.  you've been doing entirely too much 
SQL.  * is the wildcard character, % is just an SQL brain damage.

--On Monday, April 19, 2004 22:52 -0400 "Robin M." <robin at primus.ca> wrote:

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



--
Undocumented Features quote of the moment...
"It's not the one bullet with your name on it that you
have to worry about; it's the twenty thousand-odd rounds
labeled `occupant.'"
   --Murphy's Laws of Combat

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