NEWDB

Support Berkeley db(3) databases Tune with confMAPDEF

The db(3) form of database uses a single file and can be shared by different architectures. If you intend to support aliasing in an efficient manner, you should at least define this NEWDB (or the NDBM described earlier) in your Build m4 file. The db(3) routines are used to look up aliases and are the routines used by the User Database (userdb on page 942). They can also be used to declare hash and btree type maps (The type on page 882) with the K configuration command.

The db(3) libraries have overcome many of the limitations of the earlier ndbm(3) libraries. If possible, you should get and install the db(3) libraries before you build sendmail (see The Sleepycat DB Library on page 104 for a guide to downloading these libraries).

If you are running a precompiled sendmail binary, you can use the -d0.1 debugging command-line switch (-d0.1 on page 542) to determine whether NEWDB support is included (if it appears in the list, support is included).

Get sendmail, 4th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.