26
8
I am looking for a command-line tool for Unix (ideally, available in a Debian / Ubuntu package) for extracting all MIME parts from a multipart email message (or the body from a singlepart with an interesting content-type, for that matter).
I have been using the mimeexplode
tool which ships with the Perl MIME::Tools package, but it's not really production quality (the script is included as an example only, and has issues with what it regards as "evil" character sets) and I could certainly roll my own script based on that, but if this particular wheel has already been innovated, perhaps I shouldn't.
Via another question I came across http://www.pldaniels.com/ripmime/ which looks very nice, but it's not available as an Ubuntu package as far as I can tell.
– tripleee – 2012-06-11T05:52:15.140