If you plan to use the @LDAP default, you will need to define the ${sendmailMTACluster}
macro in your mc configuration file, as for example:
define(`confLDAP_CLUSTER??, `clustername??)
${sendmailMTACluster} is intended for use only in the default @LDAP setting.
This is the Title of the Book, eMatter Edition
Copyright ?© 2007 O??™Reilly & Associates, Inc. All rights reserved.
21.9 Alphabetized sendmail Macros | 845
21.9.89 ${server_addr}
The address of the connected-to machine V8.11 and later
When sendmail connects to another machine to send email, it gathers two pieces of information
about that machine: its name and its IP address. If the connection is over a
network, the IP address is stored in this ${server_addr} macro. If the connection is local, as
withLMTP, this ${server_addr} macro is given the name of the delivery agent as its value.
If neither situation is true, this ${server_addr} macro is given a 0 (a literal zero character)
as its value.
The ${server_addr} macro is used chiefly with the authinfo (?§5.1.5.1 on page 195), tls_
server (?§5.3.8.2 on page 214), and try_tls (?§5.3.8.4 on page 217) rule sets.
The ${server_addr} macro is available for your use in rule sets, and can be useful, for
example, in policy control. Note that a $& prefix is necessary when you reference this macro
in rules (that is, use $&{server_addr}, not ${server_addr}).
Pages:
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491