Re: LIST % wildcard as the last character
On Wed, 29 Sep 2004, David Truckenmiller wrote: R2: * LIST () / /m/aaa R2: * LIST () / /m/aaa/one This. It has been discussed before; see the archives for details. Andy :-) -- Andreas Aardal Hanssen http://www.andreas.hanssen.name/gpg2
Re: LIST % wildcard as the last character
Andreas Aardal Hanssen wrote: On Wed, 29 Sep 2004, David Truckenmiller wrote: R2: * LIST () / /m/aaa R2: * LIST () / /m/aaa/one This. It has been discussed before; see the archives for details. The mailbox /m/aaa doesn't match mailbox pattern /m/aaa/%, so it shouldn't be returned.
Re: LIST % wildcard as the last character
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. -- 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
Re: LIST % wildcard as the last character
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.
Re: LIST % wildcard as the last character
Ken Murchison [EMAIL PROTECTED] writes: ... 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. Mark and Andreas are saying that the second command should have also returned * LIST (\Noselect) . INBOX.cyrus. Philip Guenther
Re: LIST % wildcard as the last character
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
Re: LIST % wildcard as the last character
Philip Guenther wrote: Ken Murchison [EMAIL PROTECTED] writes: ... 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. Mark and Andreas are saying that the second command should have also returned * LIST (\Noselect) . INBOX.cyrus. I vaguely remember a discussion between Mark and Larry and/or Rob about this and I *think* it was determined that the architecture of the server determines if this is necessary. Cyrus doesn't need this, but UW does. -- 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