21.9.66 ${mail_host}
Saved $@ value for MAIL From: triple V8.10 and later
Upon receipt of the MAIL From: address, a delivery agent is selected by the RHS of a parse
rule set 0 rule, which defines a triple that contains three pieces of information for that
address:
$#delivery_agent $@ host $:address
* $m is the NIS domain for pre-V8 versions of Sun sendmail, and $m is the original user address for IDA sendmail.
This is the Title of the Book, eMatter Edition
Copyright ?© 2007 O??™Reilly & Associates, Inc. All rights reserved.
834 | Chapter 21: The D (Define a Macro) Configuration Command
The $@ portion of the triple contains the host to which to connect for delivery. For
example:
wash.dc.gov
Once that host is determined for the $@ part of the triple, it is copied to this ${mail_host}
macro.
${mail_host} 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_host}, not ${mail_host}).
21.9.67 ${mail_mailer}
Saved $# value for MAIL From: triple V8.10 and later
Upon receipt of the MAIL From: address, a delivery agent is selected by the RHS of a parse
rule set 0 rule, which defines a triple that contains three pieces of information for that
address:
$#delivery_agent $@ host $:address
The $# portion of the triple specifies the delivery agent to use for delivery.
Pages:
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470