Alexey Melnikov wrote:

Ken Murchison wrote:

Alexey Melnikov wrote:

Mark Crispin wrote:

On Thu, 30 Sep 2004, Alexey Melnikov wrote:

The mailbox "/m/aaa" doesn't match mailbox pattern "/m/aaa/%", so it shouldn't be returned.


However, hierarchial name /m/aaa/ would match and could be returned as a \NoSelect name.


If this is a MUST requirement, than Cyrus is non-compliant (at least version 2.1.14).



2.1.14 is fairly ancient and I don't have a setup that I can test on to verify. Here is what the current code does:


. LIST "" INBOX.cyrus*
* LIST (\HasChildren) "." "INBOX.cyrus"
* LIST (\HasNoChildren) "." "INBOX.cyrus.devel"
* LIST (\HasNoChildren) "." "INBOX.cyrus.sasl"
* LIST (\HasNoChildren) "." "INBOX.cyrus.sieve"
. OK Completed (0.000 secs 5 calls)
. LIST "" INBOX.cyrus.%
* LIST (\HasNoChildren) "." "INBOX.cyrus.devel"
* LIST (\HasNoChildren) "." "INBOX.cyrus.sasl"
* LIST (\HasNoChildren) "." "INBOX.cyrus.sieve"
. OK Completed (0.000 secs 4 calls)

This looks correct to me. I haven't browsed CVS to see when this might have been fixed.


If I understood the issue correctly, the latter LIST should also return:

* LIST (\HasChildren) "." "INBOX.cyrus"

but it doesn't.

I don't think so. I fact, unless I'm reading it incorrectly, that is contrary to what is said above: "The mailbox "/m/aaa" doesn't match mailbox pattern "/m/aaa/%", so it shouldn't be returned."


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

Reply via email to