For example, the following adds the ${nbadrcpts} macro??™s value (?§21.9.73
on page 837) to the default list passed to the xxfi_eom() function:
define(`confMILTER_MACROS_EOM??, confMILTER_MACROS_EOM``,{nbadrcpts}????)
Because each macro name is separated from the next by a comma, the entire list must be
surrounded in two single quotes. Note that the following declaration is the same as the
preceding one, because the ${msg_id} macro is the default sent to the xxfi_eom() function:
define(`confMILTER_MACROS_EOM??, ``{msg_id},{nbadrcpts}????)
26.5.9 Milter smfi_insheader()
Unconditionally insert a header V8.13 and later
Prior to V8.13, the only way to add a header to the message was by using either the smfi_
addheader() (?§26.5.1 on page 1184) or the smfi_chgheader() (?§26.5.5 on page 1188).
The smfi_addheader() routine, however, had its limitations. Using its special logic, it examined
existing header names to determine whether the new name already existed, and, if it
was neither a trace header (such as Received:) nor an X- header, nor one added by another
Milter, sendmail would silently replace that existing header??™s value with the new value,
rather than adding the new header.
Beginning withV8.13, the new smfi_insheader() routine allows you to unconditionally
insert a new header, even if that header already exists in the message.
Pages:
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145