Multiple messages with the same GUID

Aki Tuomi aki.tuomi at open-xchange.com
Tue Nov 2 08:46:33 EET 2021


> On 21/10/2021 21:22 Ron Garret <ron at flownet.com> wrote:
> 
>  
> I somehow ended up with multiple messages in the same mailbox with the same GUID.  All of the messages are identical (AFAICT) but getting multiple responses for doveadm fetch for a particular guid is screwing up one of my applications.
> 
> When I searched for the offending guid in dovecot-uidlist I found this:
> 
> 4927 :1632837493.M663171P23208.vm1.rngh.net,S=3942258,W=3993573
> 4928 G1632837493.M663171P23208.vm1.rngh.net,S=3942258,W=3993573 :1632880292.M915983P1968.vm1.rngh.net,S=3942258,W=3993573
> 4929 G1632837493.M663171P23208.vm1.rngh.net,S=3942258,W=3993573 :1632880303.M863130P547.vm1.rngh.net,S=3942258,W=3993573
> 4930 G1632837493.M663171P23208.vm1.rngh.net,S=3942258,W=3993573 :1632880303.M863131P547.vm1.rngh.net,S=3942258,W=3993573
> 
> I tried to figure this out by looking at:
> 
> https://doc.dovecot.org/admin_manual/mailbox_formats/maildir/
> 
> but this case doesn’t seem to be covered there.  Can someone please help me figure out what might have happened to produce this situation?  Is there a way to recover from it?
> 
> Thanks,
> rg

You can try `doveadm deduplicate`

Aki


More information about the dovecot mailing list