Headers and mc Configuration

V8 sendmail offers a number of m4 macros for use in your mc configuration file that deal directly with headers. They are shown in Table 25-5.

Table 25-5. Header-related mc macros

Macro

§

Sets what

confFROM_HEADER

From: on page 1157

Define the format for the From: header.

confRECEIVED_HEADER

Received: on page 1162

Define the format for the Received: header.

confOLD_STYLE_HEADERS

OldStyleHeaders on page 1061

Declare the OldStyleHeaders option.

confMAX_HEADERS_LENGTH

MaxHeadersLength on page 1045

Declare the MaxHeadersLength option.

confMAX_MIME_HEADER_LENGTH

MaxMimeHeaderLength on page 1047

Declare the MaxMimeHeaderLength option.

confSINGLE_LINE_FROM_HEADER

SingleLineFromHeader on page 1092

Declare the SingleLineFromHeader option.

confUSE_ERRORS_TO

UseErrorsTo on page 1115

Declare the UseErrorsTo option, which affects the Errors-To: header.

confNO_RCPT_ACTION

NoRecipientAction on page 1060

Declare the NoRecipientAction option, which affects the To:, Cc:, and Bcc: headers.

confRRT_IMPLIES_DSN

RrtImpliesDsn on page 1083

Declare the RrtImpliesDsn option, which affects the Return-Receipt-To: header.

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.