Hey! :)

> Von: Scott Russell [mailto:[EMAIL PROTECTED]
> > I try to reask you experts for the usage of the tool ipurge:
> >
> >> dev:~# ipurge -f -d 0 user/miro/Test
> >> usage: ipurge [-f] [-s] [-C <alt_config>] [-x] [-X] [-i] {-d days |
-b
> >> bytes|-k Kbytes|-m Mbytes}
> >> ...... and so on
> >> dev:~# ipurge -f -d 0 user.miro.SPAM
> >> usage: ipurge [-f] [-s] [-C <alt_config>] [-x] [-X] [-i] {-d days |
-b
> >> bytes|-k Kbytes|-m Mbytes}
> >> ...... and so on
> >>
> >> So all of these don't work.
> >> What's wrong here?
> >>
> Seems odd. Are you running this as the cyrus admin user? I see a #
> prompt which leads me to think you may be running this as root. From
> your examples you're running with unixhierarchysep enabled. Have you
> tried running against user^micro^Test ?
You're right!
I didn't know this need to be executed under cyrus user...
As root it won't work as expected.

I have unixhierarchysep=yes but queries need to be named like:
[EMAIL PROTECTED]:~$ /usr/sbin/ipurge -f -d 10 user/miro.md/Test

In contrast to the root execution i see results of this query!

[EMAIL PROTECTED]:~$ /usr/sbin/ipurge -f -d 10 user/miro.md/TEST
Working on user.miro^md.TEST...
total messages                   1
total bytes                      90459
Deleted messages                 0
Deleted bytes                    0
Remaining messages               1
Remaining bytes                  90459

Thanks!

> I don't run with
> unixhierarchysep so I'm not sure that's actually needed when passing
> mailbox names to the cyrus tools. If you aren't running
> withunixhierarchysep then you definitely should be using
> "user.micro.Test" and not "user/micro/Test".
> 
> --
> Scott Russell <[EMAIL PROTECTED]>
> IBM Linux Technology Center

+-------------------------------+  +-------------------------------+
| Miro Dietiker                 |  | MD Systems Miro Dietiker      |
+-------------------------------+  +-------------------------------+

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

Reply via email to