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

Rob Mueller robm at fastmail.fm
Fri Jan 30 08:01:11 EST 2004


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

Rob

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





More information about the Info-cyrus mailing list