Beware that if a corresponding F= flag does not exist in some delivery agent definition,
that header can never be added to any mail message.
Care should be used to avoid selecting flags that have other meanings for delivery
agents. Table 20-19 on page 759 lists all the delivery agent flags that have predefined
meanings, including those traditionally used with header definitions.
25.4.1 Macros Force Header Inclusion
Beginning withV8.12, it is possible to add a header to a message by placing a sendmail
macro between the ? characters instead of, or in addition to, using flags (see
?§25.4). But note that for V8.10 and V8.11 only, the ? character method was omitted,
and only a macro could appear in that position:
H?flags?X-Added-Header: value ?†? all versions
H${macro name}X-Added-Header: value ?†? V8.10 and V8.11 only
H?${macro name}?X-Added-Header: value ?†? V8.12 and later
H?${macro name}flags?X-Added-Header: value ?†? V8.12 and later
In the last three examples, if the macro has a value (is defined and is non-null), the
header will be added to the email message. If the macro lacks a value (was not
defined or was defined to be an empty string), the header is not added to the
This is the Title of the Book, eMatter Edition
Copyright ?© 2007 O??™Reilly & Associates, Inc. All rights reserved.
1128 | Chapter 25: The H (Headers) Configuration Command
message.
Pages:
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034