7.3 on page 902 bestmx(3) DNS lookups
-DNETINFO ?§23.7.13 on page 926 NeXT netinfo(3) aliases only
-DNEWDB ?§23.7.2 on page 901 db(3) hash and btree databases, and userdb
-DNIS ?§23.7.14 on page 927 Sun NIS network database maps
-DNISPLUS ?§23.7.15 on page 928 Sun NIS+ network database maps
-DPH_MAP ?§23.7.18 on page 930 PH database maps
-DSOCKETMAP ?§23.7.22 on page 936 Socket database maps (V8.13 and later)
This is the Title of the Book, eMatter Edition
Copyright ?© 2007 O??™Reilly & Associates, Inc. All rights reserved.
23.1 Enable at Compile Time | 881
page 82) and #include-file directories withth e confINCDIRS compile-time macro
(?§2.7.19 on page 78). For example:
APPENDDEF(`confINCDIRS??, `-I/packages/include/db??)
APPENDDEF(`confLIBDIRS??, `-L/packages/lib??)
APPENDDEF(`confMAPDEF??, `-DNEWDB??)
Here, support for db(3) is included where it otherwise would not have been because
of its nonstandard location in /packages.
23.1.1 Create Files with makemap
The makemap program, supplied in source form withV8 sendmail, is fully described
in ?§10.5 on page 370. It is used to create database files and is run, in brief, from the
command line like this:
% makemap type file < textfile
The type can be either dbm (which uses the ndbm(3) library routines), hash, or btree
(both of which use the db(3) library routines). The file is the location and name (full
pathor relative name) for the database file to create.
Pages:
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554