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.
