They are text, stab, implicit, user, host, program, sequence, null,
syslog, arith, macro, and switch. Note that hesiod and nisplus database maps are
not supported by this particular sendmail binary (neither HESIOD nor NISPLUS was
printed in the preceding output).
If you download and compile sendmail yourself, you can include any supported databases.
Support is declared in your m4 Build file. For example, the following includes
support for the dns database-map type:
APPENDDEF(`confMAPDEF??, `-DDNSMAP??)
Here, APPENDDEF is used to append the compile-time switch to any previous definitions.
The -DDNSMAP is the compile-time switch that, when given a positive,
nonzero value, enables inclusion of that support.
Possible compile-time switches are shown in Table 23-1.
This is the Title of the Book, eMatter Edition
Copyright ?© 2007 O??™Reilly & Associates, Inc. All rights reserved.
880 | Chapter 23: The K (Database-Map) Configuration Command
For example, the default Build m4 file for Ultrix (in devtools/OS/ULTRIX) might
include this line:
define(`confMAPDEF??, `-DNDBM=1 -DNIS=1??)
which includes support for ndbm(3) and nis(3) database maps, whereas the m4 file
for SunOS 5.5 might include the following:
define(`confMAPDEF??, `-DNDBM=1 -DNIS=1 -DNISPLUS=1 -DMAP_REGEX=1??)
which also includes support for the nisplus database map and regular expressions.
Pages:
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552