On Sun, 2005-08-07 at 20:10 +0300, Tom Alsberg wrote:
On Sun, Aug 07, 2005 at 07:11:55PM +0300, Timo Sirainen wrote:
Hmm. I guess I didn't then understand the question. It looked like a mixed mbox/maildir tree. Mapping sounds like namespaces that Dovecot already has:
/ -> $HOME/mbox /INBOX -> /var/spool/<username> /folder -> $HOME/mail/folder /folder/foo -> $HOME/mail/folder/foo /folder/bar -> $HOME/mail/folder/bar /folder/foo/bar -> $HOME/mail/folder/foo/bar
There can't be a mailbox named "/" (or ""), so the first one couldn't work? The others could probably be done using namespaces? Assuming you're talking about only mboxes here, not maildirs.
Actually, in my example, / and /INBOX are mboxes ($HOME/mbox and /var/spool/<username> respectively), while everything in /folder are maildirs. The two wishes I've been trying to demonstrate in this example are: (1) dotless maildirs
Easy.
and subfolders,
Not that easy, but copy&pasting the code from mbox code to maildir code shouldn't be too difficult if you want it now instead of sometimes after v1.0.
and (2) mapping the IMAP root folder (I understood there is something like that, that is - IMAP mail folders are a rooted hierarchy) to some specific mbox/maildir.
There isn't such a thing as IMAP root folder.. INBOX is the closest thing to that.