GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
MHDR(1) FreeBSD General Commands Manual MHDR(1)

mhdr
print message headers

mhdr [-h hdrs [-p parameter]] [-d] [-H] [-M] [-A | -D] [msgs ...]

mhdr prints the headers of the specified msgs. (See mmsg(7) for the message argument syntax.)

If no msgs are specified, mhdr will default to the current message.

If no hdrs are specified, mhdr will print all headers.

The options are as follows:

hdrs
Only print the values of headers in the colon-separated list hdrs.
parameter
Extract a particular RFC 2045 parameter from the specified hdrs.
Decode the hdrs according to RFC 2047.
Prefix output lines with the filename of the message, followed by a tab.
Search for all occurrences of the hdrs (default: only the first).
Scan for RFC 5322 addresses in the hdrs and print them, one per line.
Assume header contains RFC 5322 date and print as Unix timestamp.

The mhdr utility exits 0 on success, 1 if no header was printed, and >1 if an error occurs.

mmsg(7)

N. Freed and N. Borenstein, Multipurpose Internet Mail Extensions (MIME) Part One: Format of Internet Message Bodies, RFC 2045, November 1996.

N. Freed and N. Borenstein, MIME (Multipurpose Internet Mail Extensions) Part Three: Message Header Extensions for Non-ASCII Text, RFC 2047, November 1996.

P. Resnick (ed.), Internet Message Format, RFC 5322, October 2008.

Leah Neukirchen <leah@vuxu.org>

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

http://creativecommons.org/publicdomain/zero/1.0/

August 17, 2016 FreeBSD 13.1-RELEASE

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.