On 8.10.2010, at 19.47, Mark Moseley wrote:
Perhaps a good feature request from us NFS+maildir users would be for dovecot to ignore anything like .nfs[0-9]{20,} (or other nfs silly file patterns, if there are any), since there's almost no way someone's really got a folder called that.
Well .. maybe it's unlikely, but I don't really like that idea.
Presumably that'd be too expensive to do on every single file, but I'm guessing relatively painless to do on the top-level directory, when dovecot is building the list of IMAP folders, esp versus having to stat() them all.
There's maildir_stat_dirs setting, which can be used to get rid of this problem. Sure, it makes it slower, but LIST isn't really something that clients do a whole lot (although I guess in a webmail it's worse).