Difference between ". list * %" and ". list * *"

Ken Murchison ken at oceana.com
Fri Jan 30 07:53:03 EST 2004


Robert Mueller wrote:

> This is cyrus 2.2.3 with skiplist mailboxes db.
> 
> Someone pointed this strange behaviour out to me...
> 
> . list * *
> * LIST (\HasChildren) "." "INBOX"
> * LIST (\HasNoChildren) "." "INBOX.Folder1"
> * LIST (\HasChildren) "." "INBOX.Folder2"
> * LIST (\HasChildren) "." "INBOX.Folder2.SubFolder1"
> 
> 
> . list * %
> * LIST (\HasChildren) "." "INBOX"
> * LIST (\HasNoChildren) "." "INBOX.Folder1"
> * LIST (\Noselect \HasChildren) "." "INBOX"
> * LIST (\HasChildren) "." "INBOX.Folder2"
> * LIST (\Noselect \HasChildren) "." "INBOX"
> * LIST (\Noselect \HasChildren) "." "INBOX.Folder2"
> * LIST (\HasNoChildren) "." "INBOX.Folder2.SubFolder1"
> 
> I think I see what's happening, but this doesn't seem the right response
> to me...

You are getting very similar results because you are using "*" as the 
reference argument. Cyrus concatenates the reference and pattern.  Try 
these and see the difference:

. LIST "" *

. LIST "" %


-- 
Kenneth Murchison     Oceana Matrix Ltd.
Software Engineer     21 Princeton Place
716-662-8973 x26      Orchard Park, NY 14127
--PGP Public Key--    http://www.oceana.com/~ken/ksm.pgp




More information about the Info-cyrus mailing list