There are no default macros passed to the Milter??™s end-of-headers routine. If you wish to
add macros you may do so using your mc configuration file like this:
define(`confMILTER_MACROS_EOM??, ``{mail_host},{mail_addr}????)
Here, we tell the Milter library to send the ${mail_host} macro (?§21.9.66 on page 833) and
the ${mail_addr} macro (?§21.9.65 on page 833) to your end-of-headers function. Note the
use of two single quotes. They are needed because the macro list contains a comma (recall
that the list of macros must be delimited with commas).
The Milter.macros.eoh option is not safe. If specified from the command line, it can cause
sendmail to relinquish its special privileges.
24.9.76.8 Milter.macros.eom
Beginning withV8.13, the Milter.macros.eom option defines a list of macros to be passed
to a Milter??™s end-of-message handling routine. It is declared like this:
O Milter.macros.eom=list ?†? configuration file (V8.13 and later)
-OMilter.macros.eom=list ?†? command line (V8.13 and later)
define(`confMILTER_MACROS_EOM??,`list??) ?†? mc configuration (V8.13 and later)
The Milter.macros.eom option is of type string. Th elist is a sequence of macro names,
eachseparated from the next using a comma, and eachstripped of its leading ???$??? prefix
(that is, {nbadrcpts}, not ${nbadrcpts}).
The default macro passed to the Milter??™s end-of-message routine is the ${msg_id} macro
(?§21.
Pages:
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893