The second indirectly adds domains to the $={LDAPRoute}
class by reading them from a file. It does this by creating a F configuration file command.
23.7.11.24 LDAPROUTE_EQUIVALENT and LDAPROUTE_EQUIVALENT_FILE
In addition to looking up hosts in the $={LDAPRoute} class (explained earlier), FEATURE(ldap_
routing) will also look up hosts in the $={LDAPRouteEquiv} class. The difference is that
hosts in this $={LDAPRouteEquiv} class are converted into the MASQUERADE_AS (?§17.4.2
on page 600) host??™s name just before the lookup.
The mc configuration technique provides two macros that facilitate the process of adding
hosts to the $={LDAPRouteEquiv} class:
LDAPROUTE_EQUIVALENT(`list of domains??)
LDAPROUTE_EQUIVALENT_FILE(`file??)
This is the Title of the Book, eMatter Edition
Copyright ?© 2007 O??™Reilly & Associates, Inc. All rights reserved.
23.7 Alphabetized Database-Map Types | 925
The first form directly adds the list of domains to the class by creating a C configuration file
command. The second indirectly adds domains to it by reading them from a file. It does
this by creating an F configuration file command.
23.7.12 macro
Store a value into a macro via a rule V8.10 and later
Not only is it possible to use defined macros in rule sets, but as of V8.10 sendmail, it is also
possible to place new values into defined macros from inside rule sets.
Pages:
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635