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 --help
38 This help
39
40 --man
41 Full manpage
42
44 Copyright (C) 2010 Roaring Penguin Software Inc.
45
46 This program may be distributed under the terms of the GNU General
47 Public License, Version 2, or (at your option) any later version.
48
49
50
512.72 2010-11-22 MIMEDEFANG-UTIL(1)