[Dovecot] mdbox error with 2.0.beta5

Timo Sirainen tss at iki.fi
Fri Jun 4 20:50:03 EEST 2010


On pe, 2010-05-14 at 13:16 -0500, Mike Abbott wrote:
> Running 2.0.beta5 on Mac OS X with HFS+J, I often see this error in the log:
> 
> Fri May 14 12:25:59 gromit dovecot[5466]: imap(pid 8101 user joe): Error: mdbox /var/spool/imap/dovecot/mail/mailboxes/INBOX/Foobar/dbox-Mails: map uidvalidity mismatch (1273852899 vs 1273853949)

This means that storage/dovecot.map.index's uidvalidity was 1273853949
(created Fri May 14 17:19:09 WEST 2010), but
INBOX/Foobar/dbox-Mails/dovecot.index contained messages for
map-uidvalidity 1273852899 (created Fri May 14 17:01:39 WEST 2010).

So storage's uidvalidity had changed 17,5 minutes after Foobar's index
was created. Was this a real user? Since both dates are May 14th and
your mail was also dated May 14h, was the user's first mdbox access also
that day? Does it keep happening more than once for the same user?

I heard this happens also after "dsync mirror", but with a quick test I
wasn't able to reproduce it..

> The logs also reveal that this user was logged in twice at the time.
> There appear to be two issues here:  the uidvalidity mismatch, and the
> path in the "rebuilding indexes" message does not match the path in
> the "uidvalidity mismatch" error.

The path mismatch is intended. "Rebuilding indexes" rebuilds all indexes
in all mailboxes.



More information about the dovecot mailing list