[Dovecot] Zero-sized Maildir files on over-quota

Timo Sirainen tss at iki.fi
Tue Oct 19 15:59:23 EEST 2010


On Tue, 2010-10-19 at 13:42 +0200, Edgar Fuß wrote:
> > Yes. Sieve uses the same functions for saving mails as the rest of
> > Dovecot.
> It happened again, so I have more input:
> 
> I have several of these:
> Oct  9 00:41:22 xxx dovecot: deliver(xxxxxx): fdatasync(/import/mail/xxxxxx/dovecot-uidlist) failed: Disc quota exceeded

These are about errors writing to uidlist. It's not very good to keep
these files in quota tracked filesystem, but they're not causing the
zero byte files either.

> Hope that helps tracking down the bug.

I'm still thinking this has more to do with your system than anything in
Dovecot. But you could try if the attached patch catches those zero byte
files by logging about them.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: diff
Type: text/x-patch
Size: 963 bytes
Desc: not available
Url : http://dovecot.org/pipermail/dovecot/attachments/20101019/bc38cc0c/attachment.bin 


More information about the dovecot mailing list