It looks like mpack is not shipped with RHEL. Is there a command line MIME extractor (i.e. something that can be used from a shell script) shipped with RHEL 5 that does not require installing a third party package or building from source?
The powers that beTM won't be keen on using anything that's not packaged by the vendor, so I'd prefer to use something that comes with RHEL 5 if possible.