The procmailex(5) manpage describes how to do this for non-multipart
text/plain messages:
The following example preconverts all plain-text mail
arriving in certain encoded MIME formats into a more com-
pact 8-bit format which can be used and displayed more
easily by most programs. The mimencode(1) program is part
of Nathaniel Borenstein's metamail package.
<recipe elided>
Doing this for multipart messages is seriously non-trivial. Consider that
the decoded content may be found to contain the multipart boundary,
at which you either need to rewrite the boundary(ies) or leave
the part encoded. Decoding is also likely to create problems with
cryptographically signed messages or those which have Content-Md5:
header field.
Philip Guenther
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail