On 2023-07-04 12:28, Masaru Nomiya wrote:
Hello,
In the Message;
Subject : Re: [oS-en] Finding duplicates in email Message-ID : <c800e49f-6c34-b328-9b01-30af5a1bb4f3@telefonica.net> Date & Time: Tue, 4 Jul 2023 11:40:20 +0200
[CER] == "Carlos E. R." <robin.listas@telefonica.net> has written:
[...] MN> > In my case, with the .procmailrc setup, there are no duplicate emails MN> > at all.
CER> I was merging mail from the laptop with the desktop machine, and as my sync CER> process would not work for many moons, when I decided to repair CER> that there was a backlog of thousands of mails. I happen to have CER> very complex procmail recipes. The result were duplicates.
Ah, I see.
But, the recipe for duplicate emails is not complicated.
[...] MN> > Duplicate mails should be determined by the unique Message-ID for each MN> > mail.
CER> Not exclusively.
CER> For example, when people reply both to the list and to the CER> person, you get two copies of the same mail, slightly CER> different. Same message-id, different received headers, possibly CER> a different footer and reply to.
..? If you look at the To: and Cc: field of an email, you can see multiple recipient's addresses,, don't you.
So, one email should be enough.
I want them all, they are not actual duplicates, many headers are different.
CER> My procmail recipe moves one of those to a different folder for direct duped CER> replies.
I can't understand why, but if you need duplicate mailings in some cases, then have it your way.
No, it is simply that the Message-ID is not enough criteria to determine a duplicate in my case. Now, and for a different reason that no procmail recipe can detect, I have, in a folder that is not for input, several thousands of duplicates, with different "X-Spam-Status" content. I need some postprocess method to filter a folder with 700000 mails and thousands of duplicates with a method similar to what the thunderbird plugin does. Procmail doesn't do this. Alternatively, I need a method to erase the "X-Spam-Status" header in many thousand of emails. -- Cheers / Saludos, Carlos E. R. (from 15.4 x86_64 at Telcontar)