[Dovecot] Dovecot returns everything starting with "." as folder

Christoph Hohmann reboot78 at freenet.de
Sun May 30 01:33:48 EEST 2004


Timo Sirainen <tss at iki.fi> wrote:

> > I'm using dovecot imapd 0.99.10.5 from debian unstable and I
> > noticed that dovecot returns everything in the maildir
> > folder that starts with a "." as a folder as the result of
> > 
> >   LIST "" "%"
> > 
> > command without checking if it is really a maildir folder
>
> It's a bit useless to check it in most situations and it would just
> cause extra disk I/O if system doesn't support struct dirent->d_type
> field.. But since this has been asked often enough..:
> 
> http://www.dovecot.org/patches/maildir-stat-dirs.patch

How often do IMAP clients use the LIST commands, that this
extra IO would cause significant slowdown?

> You'd probably want to run autogen.sh + configure again, or just #define
> HAVE_DIRENT_D_TYPE in config.h.

I'm using the debian package.

-- 
http://reboot.animeirc.de
http://sylpheed-claws.sourceforge.net/



More information about the dovecot mailing list