On 2023-07-04 15:10, Carlos E. R. wrote:
On 2023-07-04 10:35, Carlos E. R. wrote:
Do you know some other tool to find and remove duplicates from a mail folder, where I can tell it to ignore some header?
I found this:
https://serverfault.com/questions/255665/remove-duplicate-messages-from-mail...
The easier seems to be this answer:
Gnome's Evolution [a graphical mail user agent] has a built-in feature to remove duplicate mail. As explained on this help page, it boils down to:
Select the suspect messages (or just all messages) Go to menu Messages, the choose Remove Duplicate Messages.
Voilà.
P.S. Evolution can access your messages locally (MailDir, MH, Mbox) or over IMAP.
But I have to check if deletes immediately or asks, or moves to trash.
Well, Evolution is unable to retrieve the list of folders to subscribe to from my local dovecot. It apparently triggered some search text operation on my entire dovecot server which is taking ages: after all, it is several gigabytes in size. [...] I had to stop all mail clients, then while I had lunch, run: doveadm -v force-resync -u cer '*' #doveadm -v fts rescan -v -u cer} doveadm -v index -u cer '*' Then finally evolution could run, find the test folder, and then I could try to delete duplicates. It does the correct thing, which results in not deleting all duplicates. It is not configurable, but it asks before processing. And when it finished, the mails are marked for deletion, but not deleted: it needs an explicit "expunge" operation to actually delete emails. I'll have to try formail next to remove spam headers, then try with Thunderbird, which is the best of the three, when it works. -- Cheers / Saludos, Carlos E. R. (from 15.4 x86_64 at Telcontar)