For example:
esmtp
Once that delivery agent is determined for the $# part of the triple, it is copied to this
${mail_mailer} sendmail macro.
${mail_mailer} is transient. If it is defined in the configuration file or in the command line,
that definition can be ignored by sendmail. Note that a $& prefix is necessary when you
reference this macro in rules (that is, use $&{mail_mailer}, not ${mail_mailer}).
21.9.68 ${msg_id}
Value of the Message-Id: header V8.13 and later
The Message-Id: header (?§25.12.24 on page 1159) is used to uniquely identify each mail
message. It must be declared in the configuration file. Its field must be an expression in the
syntax of a legal email address (user@host) enclosed in angle brackets (< and >) composed
of elements that create an identifier that is truly unique worldwide.
Beginning withV8.13, when sendmail finds a Message-Id: header in the current message, it
assigns the value for that header to this ${msg_id} macro. If sendmail finds no Message-Id:
header, it creates one and assigns that new value to this ${msg_id} macro.
If a Message-Id: header appeared in the original inbound message, its value can be made
available to rule sets by using the H configuration command (?§25.5 on page 1130) and to
Milters using an xxfi_header() routine (?§26.6.10 on page 1217). But if sendmail creates the
Message-Id: header, its value can be made available only by using this ${msg_id} macro.
Pages:
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471