Hi, Dan.
On Mon, 17 Mar 2003, Dan Mills wrote:
>Hi Andy,
>These sound pretty good to me. I only have one comment/question:
>> Also, we change the delimiter, which under no circumstance can
>> be a dot '.'. This is to ensure compatibility with Maildir. Ex-
>> Couriers will get this funny output from LIST:
>> special case is that the first dot is actually interpreted as
>> part of the folder name, and not as a meta symbol.
>Why? Using dot as a separator seems sane, so you'd have:
>.foo.bar -> /foo/bar ("foo/bar" reported on imap).
>But why have:
>.foo -> .foo (".foo" reported on imap).
>instead of:
>.foo -> /foo ("foo" reported on imap).
>That is, do a s/\./\//g and treat dots as separators in all cases. If
>they are at the beginning of the mailbox string, then strip it off and
>show it as a toplevel mailbox over imap.
Ambiguity. The folder /foo and the folder foo, as interpreted by the IMAP
protocol, are the same. To allow the folder ".foo" to be selected, the
server would have to try both "foo" and ".foo", and I don't want that sort
of ambiguity in the spec.
Andy
--
Andreas Aardal Hanssen | http://www.andreas.hanssen.name/gpg
Author of Binc IMAP | Nil desperandum