35.6 Headers by Category
The
sendmail
program
contains an internal list of header 35.6.1 Recommended HeadersEvery sendmail.cf file should have a minimal complement of header definitions. Below we present a recommendation. Don't use this as is. The details are not generic to all versions of sendmail , nor are they appropriate for all sites.
H?P?Return-Path: $g HReceived: $?sfrom $s $.by $j ($v/$V) id $i; $b mandatory H?D?Date: $a mandatory H?F?From: $q mandatory H?x?Full-Name: $x H?M?Message-Id: <$t.$i@$j> mandatory H?D?Resent-Date: $a mandatory H?F?Resent-From: $q mandatory H?M?Resent-Message-Id: <$t.$i@$j> mandatory
Each of these is described individually at the end of this chapter.
Except for
The Of those shown, only the seven indicated are truly mandatory and must be declared in every configuration file. The others are highly recommended. 35.6.2 Sender Headers
Certain header
When returning bounced mail,
sendmail
always uses the envelope sender's address.
If the special header 35.6.3 Recipient Headers
Recipient headers are those from which one or more recipients
can be parsed.
Addresses in headers with the H_RCPT flag (see
Section 35.5.2
) are
rewritten as recipient addresses.
When they are invoked with the The list of recipient headers used by sendmail is shown in Table 35.4 .
35.6.4 Identification and Control HeadersSome headers serve to uniquely identify a mail message. Others affect the way sendmail processes a mail message. The complete list of all such identification and control headers is shown in Table 35.5 .
Note that the 35.6.5 Date and Trace HeadersDate headers are used to document the date and time that the mail message was sent or forwarded. Trace headers (those with an H_TRACE header flag; see Section 35.5.8 ) are used to determine the hop count of a mail message and to document the message's travel from machine to machine. The list date and trace headers is shown in Table 35.6 .
35.6.6 Other RFC822 Headers
Other headers that you will see in mail messages are defined by
the RFC822 standard but are not otherwise internally defined
by
sendmail
. A few of them, such as
35.6.7 MIME HeadersMIME (Multipurpose Internet Mail Extensions) is documented in RFC1521, with additional details in RFC1344, RFC1426, RFC1428, and RFC1437. The sendmail program cares about MIME only when bouncing messages and when determining how to convert the message body between 8 and 7 bits. Those MIME headers for which sendmail contains special knowledge are shown in Table 35.8 .
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|