[Dovecot] mbox sync/lock issue, rc28 and later

Timo Sirainen tss at iki.fi
Fri Apr 6 19:50:07 EEST 2007


On 6.4.2007, at 15.59, Jeff A. Earickson wrote:

> Apr  6 07:22:52 karst dovecot: [ID 107833 mail.error] IMAP 
> (jaearick): mbox file /var/mail/j/jaearick was modified while we  
> were syncing, check your locking settings
>
> Pine coughed up an internal error, no core dump, and dovecot
> basically doubled the size of my mailbox by duplicating all of
> my messages again.  What changed with file locking between rc27 and  
> rc28 to cause this?  How to fix?

I added this check to rc28. Hmm. I guess it's possible that the check  
doesn't work that great with NFS.

But what do you mean duplicated the messages? Same messages exist  
multiple times in the mbox file? The only reason I can think of how  
that could happen is if you expunged a lot of data from the middle of  
the mbox, and then in the middle of the move that external  
modification check cancelled the sync.

If that's not the case, maybe it really was something else than  
Dovecot that went and duplicated the messages?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20070406/6b267b4e/attachment.pgp 


More information about the dovecot mailing list