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

Ken Murchison ken at oceana.com
Fri Jan 30 10:17:33 EST 2004


Rob Mueller wrote:

>>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 "" %
> 
> 
> Sure, but should a 'list' command ever return the same mailbox name multiple
> times. It just seems wrong to me...


Oh, I missed that.  I don't know why its doing that.  Rob, is this 
another side effect of recent changes, or has this always been broken?


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


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