Hello Timo,
Am 30.04.2018 um 16:11 schrieb Timo Sirainen <tss@iki.fi>:
https://dovecot.org/releases/2.2/rc/dovecot-2.2.36.rc1.tar.gz https://dovecot.org/releases/2.2/rc/dovecot-2.2.36.rc1.tar.gz.sig
v2.2.36 is hopefully going to be the last v2.2.x release. Please test this RC well, so we'll have a good final release! v2.3.2 is still going to take a couple of months before it's ready.
I've temporarly upgraded two replicated servers to 2.2.36. The mail duplication on pop3 expunge is not fixed yet. Last known good version is 2.2.33.2 (2.2.34 was not tested).
Summary: mx2a and mx2b are synced via dsync replication (ssh). An email is received via mx2a/lmtp and replicated to mx2b. Then it is fetched from mx2b with pop3 and expunged. On that expunge it gets duplicated (copied from INBOX) so that the mail reapears once again on next pop3 fetch. Duplication does not occur when received and deleted on the same host. There are no sieve scripts involved.
May 04 18:02:35 mx2b.example.com dovecot[25546]: pop3(poptest@gcore.biz): expunge: box=INBOX, uid=29, msgid=<228C5D0D-1AD0-44FB-A83F-6A2AA65CB92E@example.com>, size=2383, subject=test 1802 May 04 18:02:36 mx2b.example.com dovecot[25546]: doveadm: Error: dsync-remote(poptest@gcore.biz): Info: copy from INBOX: box=INBOX, uid=30, msgid=<228C5D0D-1AD0-44FB-A83F-6A2AA65CB92E@example.com>, size=2383, subject=test 1802 May 04 18:02:36 mx2b.example.com dovecot[25546]: doveadm: Error: dsync-remote(poptest@gcore.biz): Info: expunge: box=INBOX, uid=29, msgid=<228C5D0D-1AD0-44FB-A83F-6A2AA65CB92E@example.com>, size=2383, subject=test 1802
May 04 18:02:42 mx2b.example.com dovecot[25546]: pop3-login: Login: user=<poptest@gcore.biz>, method=PLAIN, rip=91.x.x.1, lip=188.x.x.1, mpid=25798, TLS, TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits) May 04 18:02:42 mx2b.example.com dovecot[25546]: pop3(poptest@gcore.biz): expunge: box=INBOX, uid=30, msgid=<228C5D0D-1AD0-44FB-A83F-6A2AA65CB92E@example.com>, size=2383, subject=test 1802 May 04 18:02:42 mx2b.example.com dovecot[25546]: pop3(poptest@gcore.biz): Disconnected: Logged out top=0/0, retr=1/2449, del=1/1, size=2432
For more details see my mail: 2018-03-27 16:37 / Duplicate mails on pop3 expunge with dsync replication on 2.2.35 (2.2.33.2 works)
It would be nice if you could have a look if something changed on dsync replication after 2.2.33.2.
Thanks! Gerald