On Tue, 16 Sep 2003 11:24:39 +0200 (CEST), Andreas Aardal Hanssen
<[EMAIL PROTECTED]> wrote:
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.
OK. That's cool.
"/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.
Understandable.
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?
No. I presume because they consider the folder separator to be an illegal
character.
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.
You would not want to leave this bug alone would you?-)
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.
Makes sense.
Andy :-)
--
Henry Baragar
Principal, Technical Architecture
416-453-5626
Instantiated Software Inc.
http://www.instantiated.ca