[Dovecot] maildirsize corruption

Timo Sirainen tss at iki.fi
Tue Mar 6 18:21:11 EET 2007


On Fri, 2007-03-02 at 12:32 +1100, Dean Manners wrote:
> Using maildir++ with LDA and POP/IMAP we have been seeing intermittant
> maildirsize corruption.  Where an operation will be prepended by a handful
> of ASCI null characters ^@^@.

Is this a real problem? From the code:

	/* We rely on O_APPEND working in here. That isn't NFS-safe, but it
	   isn't necessarily that bad because the file is recreated once in
	   a while, and sooner if corruption causes calculations to go
	   over quota. This is also how Maildir++ spec specifies it should be
	   done.. */

I guess I could make it recalculate the quota if it detects any errors
in the file.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20070306/c6ff3cbe/attachment.pgp 


More information about the dovecot mailing list