Name

confMAPDEF

Synopsis

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

Define

§

Aliases[23]

Description

AUTO_NIS_ALIASES

AUTO_NIS_ALIASES

Yes

Add fall-back alias techniques

DNSMAP

dns

No

Support dns database maps (V8.12 and above)

HESIOD

HESIOD

Yes

Support hesiod database maps

LDAPMAP

LDAPMAP

Yes

Enable use of ldap databases

MAP_REGEX

MAP_REGEX

No

Enable matching to a map that is a regular expression (V8.9 and above)

MAP_NSD

nsd

No

Support for IRIX 6.5 name service maps (V8.10 and above)

NDBM

NDBM

Yes

Support Unix ndbm(3) databases[24]

NETINFO

NETINFO

Yes

Support NeXT netinfo(3) databases

NEWDB

NEWDB

Yes

Support db(3), both hash and btree forms

NIS

NIS

Yes

Support nis maps

NISPLUS

NISPLUS

Yes

Support nisplus maps

PH_MAP

ph

No

UIUC ph database (V8.10 and above)

UDB_DEFAULT_SPEC

UDB_DEFAULT_SPEC

n/a

Default user database location

USERDB

USERDB

n/a

Support the user database

[23] If yes, this database format supports aliasing.

[24] 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 ...

Get Sendmail, 3rd 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.