carta
mimedefang-util(1)

mimedefang-util1

Usage

mimedefang-util --prettyprint < input.msg

mimedefang-util --structure < input.msg

mimedefang-util --dump < input.msg

Overview

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

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

History

  • Debian 13 (Trixie): the text shown here
  • Debian 12 (Bookworm)
  • Debian 11 (Bullseye)
  • Debian 10 (Buster)
  • Debian 9 (Stretch)
  • Debian 8 (Jessie)

--data-dump since Debian 9 (Stretch).

From mimedefang 3.6-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.