ipurge with virtual domains
Eli Cantu
eli at then7.com
Mon Apr 19 23:32:49 EDT 2004
when in rome do as the romans do(so i'll continue this top post)
perhaps this isn't related, but from the cyradm man page:
""lm [--subscribed] [pattern [reference]]
List all, or all subscribed, mailboxes matching the specified pattern. The
pattern may have embedded wildcards '*' or '%', which match anything or
anything except the separator character, respectively.
Mailboxes returned will be relative to the specified reference if one is
specified. This allows a mailbox list to be limited to a particular hierarchy.
In some cases when the '%' wildcard is used to end a pattern, it may match
an entry which is not a mailbox but which contains other mailboxes. In this
case, the entry will be parenthesized to indicate that it is a root for other
mailboxes, as opposed to a mailbox itself.""
i'm finding out that i really don't know cyrus-imap all that well, but when I'm
using cyradm, I use % all the time.
e
Quoting Michael Loftis <mloftis at wgops.com>:
> 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
>
-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/
---
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