On Fri, 21 Feb 2003, Lee Daniel Crocker wrote: >> (Andreas Aardal Hanssen <[EMAIL PROTECTED]>): >> Then I'll explain what I'm worried about. >> If Maildir/ is to be interpreted as INBOX, >> and Maildir/.INBOX.hello/ is to be interpreted as INBOX/hello, >> ...what should Maildir/.INBOX/ be interpreted as? >> Ignoring it is not an option. Today, Binc will advertise it as INBOX.INBOX >> - a true subfolder of INBOX whose name is also INBOX. Two different >> folders. >Yes, yes, we understand the issue--we just disagree totally that >"ignoring it is not an option". It's the best option. We have no >reason at all to expect anyone will have such a directory. And if >they do, they have no reason to expect Binc IMAP to export it.
If we take what you want the end result to be, and merge that with my stating that ignoring Maildir/.INBOX is not an option, then we get something like this: If .INBOX exists and is a Maildir, then we rename it to an appropriate replacement name, such as .INBOX-Renamed, .INBOX-Renamed-<n> where n increases. If it does not exist, we create it but make it unselectable. Courier-IMAP will not show this in LIST response, but Binc will show it as unselectable, if we create an empty subdirectory with no new/, cur/ and tmp/ directories. That's an invalid Maildir. Andy -- Andreas Aardal Hanssen | http://www.andreas.hanssen.name/gpg Author of Binc IMAP | Nil desperandum

