On Sat, 2026-09-26 at 23:06 -0700, Dave Close wrote:
> =?utf-8?q?Bob_Mar=C4=8Dan_via_users?= wrote:
> 
> > I have a bunch of recipes with the same content, appearing with
> > different headers and subjects. I would like to get rid of emails
> > with
> > the same content regardless of the header or subject. I tried
> > mdedup,
> > but I couldn't find the right parameters. Can anyone help me? TIA
> > ...
> > I haven't been programming for a long time.
> > Just some shell script from time to time.
> 
> Write a sed script to extract just the body from all your messages
> and
> save the output to numbered files in a new directory. Then use sum
> (or
> better) effectively to compute a digest for all of them. Sort the
> sums
> and look for duplicates. Just a little shell scripting...
> 
> I'm assuming you have access to the mail store so you can use it as
> input to your script(s). In mailbox format, you'd have to separate on
> ^From lines, again just some simple shell work. In MH format,
> messages
> are already separated. You might need to learn a few new commands.

procmail might be useful in extracting the message bodies.

poc
-- 
_______________________________________________
users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://forge.fedoraproject.org/infra/tickets/issues/new

Reply via email to