mha-decode is a utility program that is part of the MHonArc
software package. mha-decode provides basic MIME decoding for
If given mail folders as input, all messages within in the mail
folders will be decoded. All message parts are written to files. If a
filename is specified for a message part, that filename will be used
when writing the part to a file. If no filename is specified in the
message, a unique name will be used based upon the content-type of
the message part.
A single message can be decoded by using the "-single" option.
mha-decode takes options available to mhonarc, but only those
options affect parsing of mail folders are applicable:
Also, mha-decode supports the following additional options:
Run in message digest mode. When this option is specified, any
embedded "message/rfc822" and "message/news" parts will be saved
instead of recursively decoding any parts contained within.
The documentation for MHonArc is distributed in HTML format.
Due to its size and organization, it is not suited for manpage
format. Consult your system administrator for where the documentation
has been installed, or see ``AVAILABILITY'' on where you can
access the documentation on the web.