[Dovecot] Re: Bug#224092: Dovecot IMAP: detection of folders

Charlie Brady charlieb-dovecot at e-smith.com
Thu Dec 18 21:55:30 EET 2003


On Wed, 17 Dec 2003, Jeroen van Disseldorp wrote:

> > On Tue, 2003-12-16 at 07:26, Jaldhar H. Vyas wrote:
> > This shouldn't happen normally. By default INBOX's indexes are stored
> > inside .INBOX/ directory. If you have .imap/ directory in root Maildir,
> > you had changed some settings in a way that's not really supported. Such
> > as setting INBOX=~/Maildir in default_mail_env?
> 
> Ah, maybe that's it then: I use a logical link "INBOX -> ." as KMail
> and SquirrelMail differ on what the actual INBOX is. One thinks that
> it's the Maildir itself, the other expects an INBOX-folder. I can't
> seem to make them agree...
> 
> Would it be hard to ignore .imap.index-files in the root of the
> Maildir? After all, they are files, not folders. Or does this go
> against the definition of the Maildir-format?

IMO, the .INBOX directory and symlink "INBOX -> ." are artefacts of a 
misunderstanding of the mapping of IMAP folder objects to maildirs. 
Perhaps that's a carry over from Courier. I'd certainly be interested to 
hear the history and/or justification from Timo.

Where you have "INBOX=~/Maildir", then the inbox *should* be ~/Maildir, 
not ~/Maildir/.INBOX as it is at present. RFC2060 says "the 
case-insensitive mailbox name INBOX is a special name reserved to mean 
"the primary mailbox for this user on this server". But I see no reason 
why there should be a maildir actually called "INBOX" (or ".INBOX", 
following the hidden "." prefix convention). That just seems extra code, 
and more chance of confusion.

Ah, I've just noticed this in TODO:

...
- remove Maildir/.INBOX/
...

--
Charlie





More information about the dovecot mailing list