Replication issue 2.3.7

Reio Remma
Sat, 13 Jul 2019 09:27:57 -0000

On 13.07.2019 12:13, Reio Remma via dovecot wrote:
> Hello!
>
> I noticed these in the logs since upgrading from 2.3.6. to 2.3.7:
>
> Jul 13 11:52:10 turin dovecot: doveadm: Error:
> dsync-remote(reio at mrstuudio.ee)</1ekE7qbKV2gYwAAsNnMGQ>: Error:
> Exporting mailbox INBOX failed: Mailbox attribute
> vendor/vendor.dovecot/pvt/server/sieve/files/MR lookup failed: Mailbox
> attributes not enabled
> Jul 13 11:52:11 turin dovecot: doveadm: Error:
> dsync-remote(reio at mrstuudio.ee)<MVs/K7ubKV2oYwAAsNnMGQ>: Error:
> Exporting mailbox INBOX failed: Mailbox attribute
> vendor/vendor.dovecot/pvt/server/sieve/files/MR lookup failed: Mailbox
> attributes not enabled
>
> After turning on mailbox attributes these errors went away:
>
> mail_attribute_dict = file:~/Maildir/dovecot-attributes
>
> protocol imap {
> ? ? imap_metadata = yes
> }
>
> But now the errors are replaced with (when deleting mail):
>
> Jul 13 12:04:32 turin dovecot: imap(reio at mrstuudio.ee): Warning:
> /home/vmail/mrstuudio.ee/reio/Maildir/dovecot-uidlist: Duplicate file
> entry at line 2:
> 1563008644.M18534P25946.orc.mrstuudio.ee,S=4180,W=4262 (uid 23030 ->
> 23031) - retrying by re-reading from beginning
> Jul 13 12:04:32 turin dovecot: imap(reio at mrstuudio.ee): Warning:
> Maildir /home/vmail/mrstuudio.ee/reio/Maildir: Expunged message
> reappeared, giving a new UID (old uid=23030,
> file=1563008644.M18534P25946.orc.mrstuudio.ee,S=4180,W=4262:2,S)
>
> The mail message reappears on the other side of dsync and eventually I
> end up with 3 identical messages in trash after I've deleted them on
> both sides.
>
> Thanks for any advice,
> Reio

More info:

the issue manifests itself when I read a freshly arrived message on one
server and then delete it on the other server.

If I delete it on the same server after reading, it seems to work.

The mail client is Thunderbird.

Reio