Replication Troubles

Wolfgang Hennerbichler wogri at wogri.com
Wed Feb 22 14:51:54 UTC 2017


On 20 Feb 2017, at 11:09, Timo Sirainen <tss at iki.fi> wrote:
> 
> On 17 Feb 2017, at 21.37, Wolfgang Hennerbichler <wogri at wogri.com> wrote:
>> 
>> Hi Dovecot Users, 
>> 
>> I’ve configured dovecot dsync replication and I see troubles in the logs and get user complaints which I can’t explain. I found similar threads on this mailinglist, but I couldn’t find a solution anywhere. Does anybody have dsync running without problems on a high volume mailserver?
>> 
>> I see the following logs, examples given: 
>> 
>> Feb 17 18:16:49 dovecot dovecot: imap(zoechi): Warning: /var/mail/zoechi/dovecot-uidlist: Duplicate file entry at line 10395: 1487350019.M138380P28563.dovecot.wogri.at,S=18930,W=19377 (uid 41092 -> 41093) - retrying by re-reading from beginning
>> 
>> with this one I’m not sure - it might be that this is completely OK because due to replication UIDs clash. Maybe that’s OK, but I couldn’t find a confirmation. 
>> 
>> Feb 17 18:16:49 dovecot dovecot: imap(zoechi): Warning: Maildir /var/mail/zoechi: Expunged message reappeared, giving a new UID (old uid=41092, file=1487350019.M138380P28563.dovecot.wogri.at,S=18930,W=19377)
> 
> There seems to be something weird with using Maildir and replication. Haven't had time to debug it and it's likely not an easy bug to fix, so for now the solution would be to use only sdbox/mdbox with replication.

Thank you, I can confirm that after the migration to sdbox I don’t see those errors anymore. I could not find good documentation for converting maildir to sdbox on the fly, so I wrote a script. If there’s interest I can share this. 

wogri


More information about the dovecot mailing list