Post #3300977
2026-06-12 14:08 UTC
Before I go and code it up myself, does anybody know of a battle-tested utility that will take a Maildir directory as input, process all the messages into an output Maildir directory normalizing all messages to just their text/plain components? The notable edge-cases I see:
• pure old-school text/plain (without any MIME component), in which case just copy the message over
• messages with just a MIME single text/plain would ideally get promoted to a non-MIME embodiment of the text/plain body
• messages with multiple text/plain components (like patch files) would keep them as MIME multipart while stripping the other bits (HTML, binary, images, etc)
• any other MIME components should get stripped
Replies (0)
No replies.