Recipient Headers

Recipient headers are those from which one or more recipients can be parsed. Addresses in headers with the H_RCPT flag (H_RCPT Header Flag (V5 and Later) on page 1141) are rewritten as recipient addresses. When sendmail is invoked with the -t command-line switch, it gathers a list of recipients from all the headers marked with an H_RCPT flag and delivers a copy of the message to each.

The list of recipient headers used by sendmail is shown in Table 25-7.

Table 25-7. Recipient headers

Header

§

Flags

Defined by

To:

To: on page 1167

H_RCPT

RFC2822

Resent-To:

Forwarding with Re-Sent Headers on page 1147

H_RCPT, H_RESENT

RFC2822

Cc:

Cc: on page 1152

H_RCPT

RFC2822

Resent-Cc:

Forwarding with Re-Sent Headers on page 1147

H_RCPT, H_RESENT

RFC2822

Bcc:

Bcc: on page 1152

H_RCPT, H_BCC

RFC2822

Resent-Bcc:

Forwarding with Re-Sent Headers on page 1147

H_RCPT, H_BCC,H_RESENT

RFC2822

Apparently-To:

Apparently-To: on page 1151

H_RCPT

Obsolete

Get sendmail, 4th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.