On Mon, 15 Sep 2003, Rob Siemborski wrote: > > > 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. > > However, "INBOX/" does; and if INBOX is not \NoInferiors then that name > > should be shown. > Where in RFC3501 does it say that the server needs to maintain this > trailing-hierarchy-separator convention?
The semantics of hierarchy vis a vis % were discussed in great deal in the IMAP WG. You might want to review some of the old messages. As I recall, your predecessors in the Cyrus project advocated this behavior. If the server does not show foo/ in response to foo/%, that indicates to the client that foo does not exist as a level of hierarchy. If servers can pick and choose whether or not to show foo/, the result would be that the client does not know what is going on and will either have to guess or do more work. The result would be that IMAP is a less useful protocol. -- Mark -- http://staff.washington.edu/mrc Science does not emerge from voting, party politics, or public debate. Si vis pacem, para bellum.
