logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

mimedefang-util -- Utility script for message structure debugging

Description

       This script provides some debug tools formerly provided as part of mimedefang.pl

Name

       mimedefang-util -- Utility script for message structure debugging

Options

--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

Synopsis

           # Print a "pretty" version of an input message
           mimedefang-util --prettyprint < input.msg

           # Print the message structure
           mimedefang-util --structure < input.msg

           # Parse and re-MIME the message
           mimedefang-util --dump < input.msg

See Also