On Mon, 15 Sep 2003, Mark Crispin wrote:
> > Or if mailbox can contain children but currently doesn't, should list
> > "" mailbox/% show anything?
>
> Yes, it should show the mailbox.
Why? RFC3501 states:
The character "*" is a wildcard, and matches zero or more
characters at this position. The character "%" is similar to "*",
but it does not match a hierarchy delimiter. If the "%" wildcard
is the last character of a mailbox name argument, matching levels
of hierarchy are also returned. If these levels of hierarchy are
not also selectable mailboxes, they are returned with the
\Noselect mailbox name attribute (see the description of the LIST
response for more details).
If I do a LIST "" "INBOX/%", and I have no sub-mailboxes in my INBOX,
"INBOX" does not match the pattern -- it is missing the trailing hierarchy
separator.
The "matching levels of hierarchy" text is, of course, referring to
sub-hierarchies (so that "INBOX.bar" gets displayed if "INBOX.bar.foo"
exists).
-Rob
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Rob Siemborski | Andrew Systems Group * Research Systems Programmer
PGP:0x5CE32FCC | Cyert Hall 207 * [EMAIL PROTECTED] * 412.268.7456
-----BEGIN GEEK CODE BLOCK----
Version: 3.12
GCS/IT/CM/PA d- s+: a-- C++++$ ULS++++$ P+++$ L+++(++++) E W+ N o? K-
w O- M-- V-- PS+ PE++ Y+ PGP+ t+@ 5+++ R@ tv-@ b+ DI+++ G e h r- y?
------END GEEK CODE BLOCK-----