[Dovecot] File isn't in mbox format: /home/foo/mail/Trash

Timo Sirainen tss at iki.fi
Tue Oct 17 12:31:15 UTC 2006


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.

-------------- 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/20061017/c29429ad/attachment.pgp 


More information about the dovecot mailing list