On Mon, 15 Sep 2003, Henry Baragar wrote:
>Hello all,
>What is the semantic difference between "/folder" and "folder"?
The answer is: nothing. If a client wishes to subscribe to "/folder", then
Binc will agree to this. Binc will also show the mailbox as "/folder" in
the LSUB response. As a way to identify a mailbox, Binc treats the
following equivalently:
folder
/folder
/folder/
folder/
>With an IMAPdir depot, bincimap creates a maildir called "folder" but
>records it as "/folder" in .bincimap-subscribed; which Opera reports as
This is what is meant by design.
>"/folder" but Netscape reports as "folder", and SquirrelMail and Outlook
>won't create because of the use of the folder separator. However, both
This is also expected. Clients will sometimes strip all delimiters, with
or without any real reason to.
>SquirrelMail and Outlook will work with the folder if it has already been
>subscribed (e.g. if one does it manually from the shell).
Will they not allow you to subscribe to the folder?
>With a Maildir++ depot, binimap creates a maildir called "..folder" and
>records it as "INBOX//folder"; which Opera reports as "/folder" and
>Netscape reports as "folder". However, SquirrelMail will work if the
>folder has already been subscribed and Outlook crashes.
This is a bug in BincIMAP. It should not create ..folder - it should
create .folder. :/ Outlook crashes? ;) Haha.
>Obviously, there are differences in the implementations of the mail depots
>in bincimap and within the IMAP clients. What is the expected behaviour?
>Note that the IMAP standard specifies how to handle a folder separator
>("/" for bincimap) anywhere in the string, except at the beginning.
Binc should, the way it's designed, strip leading and trailing delimiters
when creating, deleting, renaming or selecting mailboxes. When subscribing
or listing, it should leave them as is.
Andy :-)
--
Andreas Aardal Hanssen | http://www.andreas.hanssen.name/gpg
Author of Binc IMAP | "It is better not to do something
http://www.bincimap.org/ | than to do it poorly."