Is there a command line MIME extractor shipped with RHEL 5?
Solution 1:
The perl-MIME-tools
package includes a variety of command-line tools for processing MIME-encoded messages, including mimeexplode
:
Takes one or more files from the command line that contain MIME
messages, and explodes their contents out into subdirectories of
the current working directory. The subdirectories are just called
"msg0", "msg1", "msg2", etc. Existing directories are skipped
over.
The ripmime
command is packaged in EPEL, if that meets your "packaged by the vendor" requirements.