MBOX-Line: From mrc+uw at panda.com  Tue Dec 29 09:54:46 2009
To: imap-protocol@u.washington.edu
From: Mark Crispin <mrc+uw@panda.com>
Date: Fri Jun  8 12:34:43 2018
Subject: [Imap-protocol] Childless noselect mailboxes
In-Reply-To: <1262106049.26478.745.camel@timo-desktop>
References: <1262106049.26478.745.camel@timo-desktop>
Message-ID: <alpine.OSX.2.00.0912290938230.18442@hsinghsing.panda.com>

On Tue, 29 Dec 2009, Timo Sirainen wrote:
> Does anyone think these are actually useful? If server allows creating
> "foo/bar" without foo existing, is it actually useful to allow "CREATE
> foo/" and have it create a \Noselect "foo" without any children?

Are you saying that the only way to do an mkdir MUST be by implicit 
creation, and that if the last child is deleted the superior MUST be 
rmdired?

Note those words "MUST".  They are significant to the argument.

It is perfectly compliant for a server to treat "CREATE foo/" as meaning 
"create a mailbox named foo, and ignore that trailing /".  It is also 
perfectly compliant for a superior to vanish if it is \NoSelect and its 
last child is deleted.

In fact, that is how my new server works.

But that is different from requiring those behaviors.

-- Mark --

http://panda.com/mrc
Democracy is two wolves and a sheep deciding what to eat for lunch.
Liberty is a well-armed sheep contesting the vote.

