home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam    

sendmail Desktop Reference

sendmail Desktop ReferenceSearch this book
Previous: 2.17 Hints Chapter 3 Next: 3.2 Aliasing

3. Databases

Database support in sendmail includes external files, internal symbol tables, and database-style hooks into processes. Databases support the common aliases and such m4 style features as mailertable and the User Database.

3.1 Support in Makefile

Some database support is always supplied as a part of sendmail (like dequote ), while others require you to include support inside your Makefile when building sendmail . Support is added on the DBMDEF= line:


This line adds support for ndbm (3) database files (see §18.4.1). Some database formats, such as db , may require that you also add include file and library support:

LIBS=   -ldb -lresolv

Here LIBS= had -ldb added (see §18.4.6), and INCDIR= show the path to the db include files (see §18.4.3).


Supports hesiod (3) for aliases only (see §18.8.10).


Supports ldap (3) white pages (see §18.8.15).


Supports ndbm (3) database files (see §18.8.24).


Supports the Berkeley db (3) database (see §18.8.28).


Supports Sun's nis network services (see §18.8.29).


Supports Sun's nisplus network services (see §18.8.30).


Supports NeXT's netinfo (3) (see §18.8.27).