On 04/10/2025 00:49, Oliver Welter via dovecot wrote:
Hi All, I have migrated my mailserver (from dovecot 2.2 on debian 10 to dovecot 2.3 provided by the mailcow-dockerized project) by coping over the mailstorage directory "as is". There is now a single mailbox where I have an issue with duplicated mails - the "Sent" folder had approx 400 mails upon migration, it now has 4500 mails with each mail duplicated several times. Below are the header lines of one message, besides the Message-Id the header is exactly the same on all copies. I tried "doveadm force-resync" on the mailbox and the mailbox was removed and recreated from scratch on the mail app but we still get additional copies added - anybody has an idea what is going on here and how to fix this? Oliver
Hi Oliver.
Just wanted to let you know that I received 2 copies of your email above. They had different dates and message IDs, and the multipart boundary IDs were different (which is probably due to the way mailman forwards the message) and a few other minor things (also related to mailman?) but the content was otherwise the same.
In case it helps the dates and message IDs were:
Message-ID:<4f2d0415-a239-4af7-b636-09c47bc510b1@oliwel.de> Date: Fri, 3 Oct 2025 13:21:30 +0200
and
Message-ID:<f0f3e00c-ff56-435b-b861-c5c555d2c6ee@oliwel.de> Date: Fri, 3 Oct 2025 13:49:55 +0200
It would be interesting to know what your mail logs show when you sent your email?
Nick.
On 04/10/2025 00:49, Oliver Welter via dovecot wrote:
Hi All,
I have migrated my mailserver (from dovecot 2.2 on debian 10 to dovecot
2.3 provided by the mailcow-dockerized project) by coping over the
mailstorage directory "as is".
There is now a single mailbox where I have an issue with duplicated mails
- the "Sent" folder had approx 400 mails upon migration, it now has 4500
mails with each mail duplicated several times. Below are the header lines
of one message, besides the Message-Id the header is exactly the same on
all copies.
I tried "doveadm force-resync" on the mailbox and the mailbox was removed
and recreated from scratch on the mail app but we still get additional
copies added - anybody has an idea what is going on here and how to fix
this?
Oliver
Hi Oliver.
Just wanted to let you know that I received 2 copies of your email above. They had different dates and message IDs, and the multipart boundary IDs were different (which is probably due to the way mailman forwards the message) and a few other minor things (also related to mailman?) but the content was otherwise the same.
In case it helps the dates and message IDs were:
Message-ID: [1]<4f2d0415-a239-4af7-b636-09c47bc510b1@oliwel.de> Date: Fri, 3 Oct 2025 13:21:30 +0200
and
Message-ID: [2]<f0f3e00c-ff56-435b-b861-c5c555d2c6ee@oliwel.de> Date: Fri, 3 Oct 2025 13:49:55 +0200
It would be interesting to know what your mail logs show when you sent your email?
Nick.
References
Visible links
- mailto:4f2d0415-a239-4af7-b636-09c47bc510b1@oliwel.de
- mailto:f0f3e00c-ff56-435b-b861-c5c555d2c6ee@oliwel.de