Hi Timo,
Thanks for your reply, I've patched this commit before, but it cannot solve my problem.
Besides, I log more information on server B and it shows server B generates the mail itself. (The mail which has UID 2128 is the redundant mail and sync back to server A)
Feb 24 22:57:36 dsync-server(test 28740): Info: highest_seen_uid 2125, importer->local_uid_next 2124 Feb 24 22:57:36 dsync-server(test 28740): Debug: brain S: Import Drafts: unwanted UIDs: 2124:2125 Feb 24 22:57:36 dsync-server(test 28740): Debug: brain S: Import Drafts: Reassign UIDs: 2124
Feb 24 22:57:37 dsync-local(test 28748): Debug: brain M: Import Drafts: UID 2125 isn't usable, assigning new UID 2128 Feb 24 22:57:37 dsync-local(test 28748): Info: copy from Drafts: box=Drafts, uid=2128, msgid=20151009090132.62413F6136D@test.yoyo.mail, size=34744, from="wf skr" wfskr@fstml.us, subject=The wf skr..., flags=(\Seen) Feb 24 22:57:37 dsync-local(test 28748): Info: expunge: box=Drafts, uid=2125, msgid=20151009090132.62413F6136D@test.yoyo.mail, size=34744, from="wf skr" wfskr@fstml.us, subject=The wf skr..., flags=(\Seen)
Best Regards, Jay Pan
2016-03-01 19:24 GMT+08:00 Timo Sirainen timo.sirainen@dovecot.fi:
On 01 Mar 2016, at 13:20, 潘信傑 sfffaaa@gmail.com wrote:
I meet the problem about dsync with expunge. The problems is expunged mail would reappear after dsyncing and it is easily to reproduce.
I've never been able to reproduce this easily. But I wonder if this fix would help here:
https://github.com/dovecot/core/commit/950a6e61d6c2dac961ce031bdd8b2895bc32b...