Utility for extracting MIME attachments [closed]
Solution 1:
munpack from mpack worked for me
In Debian/Ubuntu:
sudo apt-get install mpack
munpack -f mime-attachments-file
Solution 2:
The mu project seems to include a mu-extract command that looks as if it might do what you want. And it appears to be available as an Ubuntu package already.
NB: I haven't actually used this tool myself.
Solution 3:
I needed to unpack a chrome dmp file in order to extract the minidump for analysis on Ubuntu 12.04.4. I found that the mime file had been written in DOS format despite being in a Linux environment, so neither mpack or maildir-utils worked out of the box. The following steps worked for me:
sudo apt-get install dos2unix mpack
cp chromium-renderer-minidump-c3303784f176fb58.dmp backup
dos2unix -f chromium-renderer-minidump-c3303784f176fb58.dmp
munpack chromium-renderer-minidump-c3303784f176fb58.dmp
The -f on dos2unix is required to force the conversion on a binary file. The maildir-utils mu program crashed trying to read the dmp file even after dos2unix conversion.