On Tue, 16 Sep 2003, Arnt Gulbrandsen wrote:Yes. IMHO, Rob is right.This is what Rob has been saying all along.Agreed. What is being discussed is whether INBOX/ must also be returned.Well, is there anything that says it must? I find no wording to that effect.
Then that the concensus is that IMAP should be less useful and ambiguous.
If not, then please think about the consequences of what you are saying vis-a-vis a mail store in which a \NoSelect name may exist without children.
I don't really see what the problem is. Client asks for mailboxes:
1 LIST "" % * LIST (\NoSelect) "/" "foo" 1 OK 2 LIST "" foo/% 2 OK
It already asked about "foo", why should it care if second request returns "foo/" or not? If it returns, it's usually exactly the same reply as the previous "foo".
Unless you mean that in some cases client would want to ask just "foo/%" without knowing if foo exists or not? Why would it do that? And it's asking it's children in any case, why would it care about foo itself?