Hi Andy,

On Thursday, March 13, 2003, at 11:34 AM, Andreas Aardal Hanssen wrote:

Everyone. Summing up some of the recent threads, how does this sound:

1) Maildir structuring for Binc IMAP changes.

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:

   tag LIST "" "*"
   * LIST (\UnMarked) "/" "INBOX"
   * LIST (\UnMarked) "/" ".work"
   * LIST (\UnMarked) "/" ".Sent/2002"

   This means we have backwards compatibility with Maildir++. The
   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.

-Dan



Reply via email to