[Dovecot] Locking problems on Dovecot 1.x in Maildir

Ronald MacDonald ronald at rmacd.com
Mon Jun 18 16:13:16 EEST 2007


Hi list,

Overall, everything works fine, and all the emails are delivered without
anything messing up. But then, from time to time, the transaction logs for
some users become corrupted, meaning emails cannot be read at all from
dovecot.

With a bit of a search on google, it seems to be a problem with locking on
the transaction log. The individual files are fine - it's maildir, so the
chances of 2 accesses on the same file are near impossible. But the problem
seems to come when things get a bit busy, and inevitably, the transaction
log tends to get corrupted all too often now for me to just go in and delete
the log, and start afresh.

I've addressed the issue temporarily by putting the index in memory by the
:INDEX=MEMORY as opposed to a static file. This isn't ideal, but it seems to
save the system going up in arms.

Is there an alternative to using this system?

Ronald.

-- 
Ronald MacDonald
http://www.rmacd.com/
0777 235 1655


More information about the dovecot mailing list