OK, This is quite a tricky request but I'm trying to convert the mail files from a legacy reader called Ameol2 to work with Thunderbird. I'm 80% there but have a snag I'm trying to resolve.
I can convert the mail folder files and import them into Thunderbird and 90% of the messages work AOK (even displaying the HTML version of a message!), but messages which had attachments don't display.
I have traced this down to what happens when Ameol2 decodes the attachment..
When you decode a message in A2 it saves it to a directory and then strips the trailing MIME part of the message ONLY from the message, leaving the "There's a mime attachment to this message" note in the header. Thunderbird then reads this but can't find the attachment (because Ameol2 has stripped it out), assumes it's a malformed message and doesn't display it
if I use grep -v to strip out all of the "There's a mime attachment to this message" header info then the HTML messages stop displaying and it looks a bit of a mess
Is there a program that can process my half converted mbox files and strip out all of the mime & html portions leaving only the plain text message versions (which I can live with)
Thanks in advance!