Error: mdbox .../storage: Duplicate GUID

Dennis Schridde dschridde at kynes.de
Thu Aug 24 23:38:01 EEST 2017


Hello!

On Tuesday, 22 August 2017 09:59:32 CEST Dennis Schridde wrote:
> When I force-resync a mailbox of mine, I see following output:
> 
> # doveadm force-resync -u $U $P
> doveadm($USER): Warning: mdbox .../storage: Inconsistency in map index
> ($X,$Y2 != $X,$Y2)
> doveadm($USER): Warning: fscking index file .../storage/dovecot.map.index
> doveadm($USER): Warning: mdbox .../storage: rebuilding indexes
> doveadm($USER): Error: mdbox .../storage: Duplicate GUID $G in m.$N1:$N2
> (size=$N3) and m.$N1:$N2 (size=$N3)
> doveadm($USER): Warning: fscking index file .../storage/dovecot.map.index
> doveadm($USER): Warning: mdbox .../storage: Inconsistency in map index
> ($X,$Y1 != $X,$Y3)
> doveadm($USER): Warning: fscking index file .../storage/dovecot.map.index
> doveadm($USER): Warning: fscking index file .../storage/dovecot.map.index
> 
> Different numbers are represented by different $variables, e.g. $N3 != $M3
> and $Y2 != $Y3.
> 
> How can I fix this?  Since the two messages are not the same (they have
> different sizes), I would expect a cleanup operation to give each message a
> unique GUID and write both GUIDs into all places where the old GUID was
> referenced.
> 
> I am using Dovecot 2.2.31.  Please CC me, since I am not on the list.

Is there a way to extract and save the offending messages, delete them and 
remove them from all mailboxes, and then re-insert them in a healthy way?

Or is there at least a way to have a look at their contents and figure out 
which mailboxes they appear in?

--Dennis
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: This is a digitally signed message part.
URL: <http://dovecot.org/pipermail/dovecot/attachments/20170824/6e031666/attachment.sig>


More information about the dovecot mailing list