mailmunge−util −− Utility script for message structure debugging
# Print a
"pretty" version of an input message
mailmunge−util −−prettyprint <
input.msg
# Print the message structure
mailmunge−util −−structure < input.msg
# Parse and re−MIME the message
mailmunge−util −−dump < input.msg
This script provides some debug tools for looking at MIME messages.
−−prettyprint
Parses a mail message from standard input and reformats it in a "pretty" format on standard output. All text/* parts are printed directly, and non−text parts are described without printing their content.
−−structure
Parses a mail message from standard input, and outputs a description of the MIME tree to standard output.
−−dump
Parses a mail message from standard input, and dumps the parsed message back out again to standard output.
−−data−dump
Parses a mail message from standard input, and dumps the parsed message back out again to standard output using Data::Dumper
−−help
This help
−−man
Full manpage
Copyright (C) 2010 Roaring Penguin Software Inc. Copyright (C) 2021−2022 Dianne Skoll
This program may be distributed under the terms of the GNU General Public License, Version 2, or (at your option) any later version.