[Dovecot] Zero-sized Maildir files and index corruption on over-quota

Timo Sirainen tss at iki.fi
Thu Oct 14 19:48:47 EEST 2010


On Tue, 2010-10-05 at 15:29 +0200, Edgar Fuß wrote:

> It looks like all mails which correctly got bounced are >64KB while
> those resulting in zero-sized files are <64KB (there is one >32KB). My
> first guess would be that maybe for large files, write() fails, while
> for small ones, close() fails or there is some buffering involved for
> large files.

Even if close() fails, the file is still in tmp/ and Dovecot aborts the
save. The only reason I can think of is that you've done async NFS mount
and the failed write() is noticed way too late by the kernel.




More information about the dovecot mailing list