1MIMEDEFANG-UTIL(1) MIMEDefang Documentation MIMEDEFANG-UTIL(1)
2
3
4
6 mimedefang-util -- Utility script for message structure debugging
7
9 # Print a "pretty" version of an input message
10 mimedefang-util --prettyprint < input.msg
11
12 # Print the message structure
13 mimedefang-util --structure < input.msg
14
15 # Parse and re-MIME the message
16 mimedefang-util --dump < input.msg
17
19 This script provides some debug tools formerly provided as part of
20 mimedefang.pl
21
23 --prettyprint
24 Parses a mail message from standard input and reformats it in a
25 "pretty" format on standard output. All text/* parts are printed
26 directly, and non-text parts are described without printing their
27 content.
28
29 --structure
30 Parses a mail message from standard input, and outputs a
31 description of the MIME tree to standard output.
32
33 --dump
34 Parses a mail message from standard input, and dumps the parsed
35 message back out again to standard output.
36
37 --data-dump
38 Parses a mail message from standard input, and dumps the parsed
39 message back out again to standard output using Data::Dumper
40
41 --help
42 This help
43
44 --man
45 Full manpage
46
48 Copyright (C) 2010 Roaring Penguin Software Inc.
49
50 This program may be distributed under the terms of the GNU General
51 Public License, Version 2, or (at your option) any later version.
52
53
54
552.84 2021-01-26 MIMEDEFANG-UTIL(1)