On Fri, Sep 19, 2003 at 10:46:51AM -0400, Henry Baragar wrote: > >>With an IMAPdir depot, bincimap creates a maildir called "folder" but > >>records it as "/folder" in .bincimap-subscribed; which Opera reports as > > I would like to take back my "OK" and "That makes sense", since I am > longer sure that it makes sense. Why is it legitimate for bincIMAP to > strip leading and trailing delimiters, but not an IMAP client? Should not > a "LIST" command include a "/folder" (not "folder" as is the case now in > bincIMAP) if "/folder" is recorded in the subscribed file? The Unix folks > learned long ago that allowing a filename to include a directory delimiter > could lead to some bad situations.
Understatement, I'd say. > Mind you, I don't know how you reconcile this with allowing "//" in the > middle of a folder path. Once again, some clients don't allow you to > create such a folder path, while allowing you to subscribe. Outlook > crashes again in this situation. > > All of this is a manifestation of an incomplete IMAP specification, isn't > it? *sigh* So many things, so little time, I still haven't learned IMAP but I'm guessing that Binc doing realpath() on folder names, maybe along with additional (configurable) processing, would be a very good thing. Lots of talk and no code though, sorry Andy. :\ In a new thread I'd also like to discuss whether Binc should use the equivalent of mkdir -p when creating folders, especially with Maildir++ this feels problematic since I don't know if IMAP allows implicit folders to exist. Different clients handle implicit folders more or less gracefully. And, how does Binc deal with 8bit-characters? The strange umlaut encodings used by SqWebmail that I'm migrating from are at least similar to what Binc stores on disk, but the IMAP client is involved as well, again since I don't know the spec I ask here, who does what kind of encoding? I'm looking at migrating to v-webmail per management decision and the folder names don't work. v-webmail prepends a \0 to any swedish umlaut charactes in folder names. (v-webmail creates &5eT2- for ���, SqWebmail &AOUA5AD2-, is anyone familiar with details of either encoding so I can automate translation? Please URL me if you can? :) //Peter

