Beginning withV8.9, sendmail automatically determines whether NEWDB should be
included by default. Only nonstandard locations of the db libraries will prevent this.
So, in addition to the database support shown earlier, standard installations will also
have db(3) support.
If you omit all database support with a declaration such as this in your m4 Build file:
define(`confMAPDEF??, `??)
and if your db libraries are in a nonstandard location, a sendmail binary will be created
that will be unable to maintain its aliases in database format. Also, any attempt
to rebuild the aliases database (with newaliases or with -bi) will fail withth e following
error message:
Cannot rebuild aliases: no database format defined
Cannot create database for alias file /etc/mail/aliases: No such device
Note that if you add new database-map types, you might also have to add to your m4
Build configuration file libraries withth e confLIBS compile-time macro (?§2.7.27 on
Table 23-1. m4 definitions for confMAPDEF
Switch ?§ Database support included
-DDNSMAP ?§23.7.6 on page 905 dns lookups (V8.12 and later)
-DHESIOD ?§23.7.8 on page 909 hesiod(3) aliases, and userdb
-DLDAPMAP ?§23.7.11 on page 912 ldap(3)
-DMAP_NSD ?§23.7.16 on page 929 IRIX nsd
-DMAP_REGEX ?§23.7.20 on page 932 Regular expression support
-DNDBM ?§23.7.4 on page 903 ndbm(3) database files (dbm)
-DNAMED_BIND ?§23.
Pages:
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553