|
I’m implementing an IMAP server and I’m a bit confused about this sentence found in rfc 3501 6.3.8 (LIST command).
page 42, 3rd paragraph from bottom, 3rd sentence states: If the "%" wildcard is the last character of a mailbox name argument, matching levels of hierarchy are also returned.
Given a hierarchy of selectable mailboxes on my storage device: /m/aaa /m/aaa/one /m/bbb /m/ccc/two and the client request:
C: A013 LIST "" "/m/aaa/%"
Which below is the correct response? I don’t understand exactly which level “matching levels” means, siblings of %, or siblings of aaa.
R1: * LIST () "/" "/m/aaa/one"
- or –
R2: * LIST () "/" "/m/aaa" R2: * LIST () "/" "/m/aaa/one"
- or –
R3: * LIST () "/" "/m/aaa" R3: * LIST () "/" "/m/aaa/one" R3: * LIST () "/" "/m/bbb" R3: * LIST () "/" "/m/ccc"
Thanks in advance. -dave
|
- Re: LIST % wildcard as the last character David Truckenmiller
- Re: LIST % wildcard as the last character Andreas Aardal Hanssen
- Re: LIST % wildcard as the last character Alexey Melnikov
- Re: LIST % wildcard as the last charac... Mark Crispin
- Re: LIST % wildcard as the last ch... Andreas Aardal Hanssen
- Re: LIST % wildcard as the la... Philip Guenther
- Re: LIST % wildcard as the last ch... Alexey Melnikov
- Re: LIST % wildcard as the la... Ken Murchison
- Re: LIST % wildcard as th... Alexey Melnikov
- Re: LIST % wildcard a... Ken Murchison
- Re: LIST % wildcard as th... Philip Guenther
