mimExplode - mime multipart exploder v0.1 ========================================= requires: bash cut echo grep head sed usage: ./mimExplode.sh inputFile outputPrefix - inputFile raw SMTP dump, e.g. a mail file from .maildir folders - outputPrefix if a directory exists, the parts will be put there, otherwise the parts will be saved with this prefix (internally needed for recursion) example: run ./example.sh, it will create a folder and put there the parts of the sample.SMTP internal configuration: there are two pairs of options which controls how deeply we parse the files and how much garbage we leave behind default settings: total explosion with no garbage/temporary files output: MULTIPART (always) root - header of the multipart message fragment - part of a multipart message TRANSPORT ENCODING (affected by decode_base64, remove_decoded) decoded - file which was BASE64 decoded (after decoding) base64 - file which was BASE64 decoded (before decoding) RECURSION (affected by explode_recursive, remove_exploded options) exploded - file which was recursively exploded author: Daniel Rozsnyo