11 Jun
2017
11 Jun
'17
11:41 a.m.
Greetings.
On Sun, 11 Jun 2017 08:25:33 +0300 (EEST), Aki Tuomi <aki.tuomi@dovecot.fi> wrote:
- Does there exist any tool that will scan a maildir folder to find messages with duplicate Message-IDs, and automatically rewrite the Message-ID headers so that they are (probably) unique? I could probably kludge together a quick shell script, but if someone's already gone to the trouble of writing such a tool and making it relatively robust, I'd rather use that instead.
https://wiki2.dovecot.org/Tools/Doveadm/Deduplicate should let you expunge duplicate messages.
Yeah, simply removing duplicates is pretty trivial, and any decent mail client will also have a nice way of doing this. The tricky part in my case is not removing the duplicates, but preserving them and giving them unique Message-IDs. If there's no existing way of automating this then I'll do as you suggest.
Regards, Tristan
--
Tristan Miller