On Tue, 2006-10-17 at 11:10 +0100, Phil Roffe wrote:
We had a problem with this several months ago. The alarming aspect of the corruption is when it occurs at the beginning of an email (i.e. ^@^@^@From:...). Emails can be lost/appended to the bottom of the previous email.
I've seen this problem several times on our deployment and tracked it down to what appears to be NFS locking issues. Are you storing mails on an NFS mounted filesystem? If so check the following... http://wiki.dovecot.org/NFS
We're running dovecot-1.0 beta5 (admittedly not an rc version but
beta4 which is mentioned in the NFS wiki section) so I'm not sure the mbox rewrite from v0.99.x has fixed the problem.
It contains the rewritten mbox code. But sure, if your locking is wrong the mbox can break in all kinds of ways.
In 0.99.x there was anyway also a problem that even if the locking was correct it sometimes left some extra characters at the beginning of the mbox.