23.1 Enable at Compile Time | 879
In their nondatabase role, database maps can also be used to perform a wide range of
services that make the use of rules and rule sets easier and more versatile. For example,
database maps can be used to:
??? Assign a value to a macro
??? Log information using the syslog facility
??? Perform mathematical computations and comparisons
??? Remove quotation marks from quoted strings
The $( and $) database-map operators (?§23.4 on page 892) are used in the RHS of
rules to access and utilize the information produced by all the database-map roles.
23.1 Enable at Compile Time
Vendors that provide V8 sendmail in precompiled form might or might not provide
access to all the types of databases that V8 sendmail supports. If your online documentation
lacks this information, you can run sendmail withth e -d0.4 debugging
switch to discover what it supports:
% /usr/sbin/sendmail -d0.4 -bt
Version 8.14.1
Compiled with: MAP_REGEX LOG MIME7TO8 MIME8TO7 NAMED_BIND NETINET
NETUNIX NIS NEWDB QUEUE SCANF SMTP TCPWRAPPERS USERDB
XDEBUG
...
In this implementation of sendmail the following databases are available: regularexpression
(the MAP_REGEX), Sun nis (the NIS), the bestmx database-map type (the
NAMED_BIND), and the Sleepycat DB??™s hash and btree types (the NEWDB). Many
internal database maps needed by sendmail are also automatically included without
being enabled.
Pages:
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551