Timo Sirainen tss@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..:
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/