Hi Martin,
Courier-imap never creates any folder outside the maildir.
Messenger never shows any subfolders in your private namespace on the
same level as the INBOX-folder.
IMAP-Namespace has nothing to to how IMAP-Server stores their messages.
Even if you patch courier-imap, Messenger shows subfolders of private
namespace as subfolders of INBOX.
courier-imap uses some extensions to maildir-format.
The "." when creating a folder is used to be compatible with
standard-maildir-format.
Otherwise an appplication would not be able to differentiate between
maildir-folder "cur" and user folder "cur".
I realy don't know whats your the problem with courier-imap.
Bye
Georg
Martin Jespersen schrieb:
Hi Georg,
Definition
root-level folders = folders on the same level as the INBOX in the filesystem
directory structure.
Example:
INBOX == ~mylogin/Maildir/
Trash == ~mylogin/Trash/
Sent == ~mylogin/Sent/
etc...
I have made a Maildir folder under ~mylogin as ~mylogin/Maildir/ using maildirmake
and there is no
problem delivering to it or reading from it.
The problem is this: Courier-imapd refuse to create root-level folders and insists
that all folders
should be created as subfolder of the INBOX folder.
Example:
INBOX == ~mylogin/Maildir/
Trash == ~mylogin/Maildir/Trash/
Sent == ~mylogin/Maildir/Sent/
Furthermore, since courier-imapd uses '.' as separator instead of the standard '/'
that other
Maildir-like message structures like Mh use all folders are created with a . infront.
Example:
INBOX == ~mylogin/Maildir/
Trash == ~mylogin/Maildir/.Trash/
Sent == ~mylogin/Maildir/.Sent/
The problem basically seems to be that the guy who wrote courier-imapd is so hooked
on the rfc's
that he made a imap server that breakes all clients :( (or at least netscape
messanger and microsoft
outlook, which are used by the larger part of internet users as MUA)
At first i thought that this was due to the silly choice of personal Namespace that
he made, ie.
INBOX which is a more or less reserved word in most MUA's.
But although i patched the source to use PRIVA instead it still fucked up.
So i guess it might be the '.' seperator that is the problem, though i am in know
way knowledgable
enough about the imap specs to base this on anything else than gut-feeling as a
professional
programmer of many years.
But before i take on the task of making a complete working patch for courier imapd
which supports
standard MUA's i would like to be sure that no-one has done this before me, since i
am hard pressed
on time as it is, and actually need a good working imap server that supports Maildir
now ;)
I thought about contacting the guy who wrote it, but i must admit that after reading
the FAQ and
BUGS section on the download site i doubt very much that he in anyway cares about my
problems since
he seems to think that all MUA's that doesn't speak imap his way should be fixed
*shrug*.
That is an attitude that is hard to find usefull for the rest of us IMHO.
Regards
Martin Jespersen
--
Georg Lutz | http://www.erc.de
ERC - Euro Regio Consult AG | Tel: +49 7854 9696-0
Im Buehl 10 | Fax: +49 7854 9696-20
D-77694 Kehl