On Tue, 16 Sep 2003, Timo Sirainen wrote: > Maildir itself doesn't have any standard where other than INBOX should > be placed. Courier's Maildir++ places everything into ~/Maildir/ > directory with '.' separating hierarchies. So it's possible to create > ".1.2" directory without having ".1".
OK, I understand now. And without some registry of names, there's no good way to create foo.1. without creating foo.1, and you'd have to have a placeholder if there is no foo.1.2 (or other child). That may be hard to do. Here's one possible way. If you have mailbox metadata (which is likely if you're going to implement CONDSTORE, ANNOTATE, etc.), perhaps there could be a bit to say "this mailbox is \NoSelect" in the metadata and then keep a deleted mailbox around (just delete and expunge all messages, and set the \NoSelect bit). If the last child is deleted, then remove the now-childless parent if the \NoSelect bit is set. Similarly, CREATE of a name that exists but has the \NoSelect bit would simply turn off the \NoSelect bit. Don't know if any clients would decline to do that though. -- Mark -- http://staff.washington.edu/mrc Science does not emerge from voting, party politics, or public debate. Si vis pacem, para bellum.
