7.37 on
page 246) is used, in which case $s is given the value specified by that switch. Thereafter, $s
is given a new value by sendmail only if the mail message was received via SMTP. For
bounced mail, the $s value is always localhost.
The s macro is intended for use in the Received: header definition:
HReceived: $?sfrom $s $.by $j$?r with $r$. id $i
The phrase from host will be included in this header line if $s has any value. Here, host is
the name of the sending machine.
The value in $s is saved to the qf file when the mail message is queued and restored to $s
when the queue is later processed.
$s is transient. It can be defined on the command line but should not be defined in the
configuration file. Note that a $& prefix is necessary when you reference this macro in rules
(that is, use $&s, not $s).
21.9.88 ${sendmailMTACluster}
The LDAP cluster to use V8.12 and later
Beginning withV8.12 sendmail, it is possible to fill a class macro withvalues from an ldap
database map. The general form looks like this:
F{classname}@ldap:switches
The switches are ldap database map-type switches that might look something like this:
-k (&(objectClass=someclass)) -v classvalue
An alternative form of ldap database map-type declaration uses default switches:
F{classname}@LDAP
Here, the literal @LDAP tells sendmail to use default switches that look like the following
(where the line has been split to fit the page):
-k (&(objectClass=sendmailMTAClass)(sendmailMTAClassName=ClassName)
(|(sendmailMTACluster=${sendmailMTACluster})(sendmailMTAHost=$j)))
-v sendmailMTAClassValue
Note that the default sendmailMTACluster is based on the value in the ${sendmail-
MTACluster} macro.
Pages:
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490