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

Timo Sirainen tss at iki.fi
Sun May 30 01:14:14 EEST 2004


On Sat, 2004-05-29 at 20:49, Christoph Hohmann 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
> (must contain the directories cur, new, tmp and the file
> maildirfolder).

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

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://dovecot.org/pipermail/dovecot/attachments/20040530/8116ff0e/attachment-0001.bin>


More information about the dovecot mailing list