sendmail, 4th Edition
The confMAPDEF macro defines the database library support you want. The currently available choices are listed in Table 2-9. Details are given in the section indicated. Table 2-9. Define for database support
[20] If yes, this database format supports aliasing. [21] Note that the old dbm (3) form of database is no longer supported. If neither NDBM nor NEWDB are defined, sendmail will read the aliases into its symbol table every time it starts. This will make sendmail crawl every time it starts up and is not recommended. External databases can be extremely valuable , especially in providing easy solutions for complex problems. Therefore, we recommend that you include a definition for all databases that your system supports, even if you don't immediately see a need for them. Here we illustrate the selection of two forms of database: [22] [22] Note that Build will automatically define -DNEWDB for you, if it can find the db (3) library (see confLIBSEARCH , confLIBSEARCH). You can suppress this automatic behavior (and the automatic search for a resolver library) by adding a -S command-line switch when you run Build (-S). APPENDDEF(`confMAPDEF', `-DNEWDB -DNDBM') When these two forms are selected, old databases are read by using NDBM, but new databases are created by using NEWDB. Read sendmail/README for details about and exceptions to this transition process. |