Manual Page Search Parameters

MADDR(1) General Commands Manual MADDR(1)

extract mail addresses from messages

maddr [-ad] [-h headers] [msgs ...]

maddr prints, separated by newlines, all mail addresses found in the headers of the specified msgs. (See mmsg(7) for the message argument syntax.)

If no msgs are specified and maddr is used interactively, maddr will operate on the current sequence by default. Otherwise, maddr will read filenames from the standard input.

The options are as follows:

Only print the addr-spec address, not the display name.
Only print the display name.
Only search the colon-separated list of headers for mail addresses. Default: ‘from:sender:reply-to:to:cc:bcc:’ and their respective ‘resent-’ variants, if any.

The maddr utility exits 0 on success, and >0 if an error occurs.


Leah Neukirchen <>

maddr is in the public domain.

To the extent possible under law, the creator of this work has waived all copyright and related or neighboring rights to this work.

March 30, 2020 x86_64