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

Timo Sirainen tss at iki.fi
Sat Dec 20 05:40:09 EET 2003


On Wed, 2003-12-17 at 13:27, 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...

Well, you shouldn't need to do that. It's most likely because either one
of them thinks everything is under "INBOX.". Squirrelmail at least can
be configured not to do that (/etc/squirrelmail/conf.pl).

> 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?

Well.. I could check it but.. It's kind of annoying to add special cases
for them. Currently I just list everything that begins with '.' with two
hardcoded exceptions: .subscriptions and .customflags. I do plan to
change the file and directory names to "dovecot-subscriptions",
"dovecot-customflags" and "dovecot-indexes" (or similiar). Then there
would be no namespace conflicts.

If I did add special check for ".imap", it would mean that you couldn't
create a root folder called "imap" which I think some people might
actually do.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20031220/01404e59/attachment.pgp


More information about the dovecot mailing list