dbm
Really ndbm supplied with most versions of Unix V8.1 and later
The dbm
database-map type, which is really the
ndbm form of database, is the
traditional form of Unix database file. Data is
stored in one file, keys in another. The data must
fit in blocks of fixed sizes, so there is usually a
limit on the maximum size (1 kilobyte or so) on any
given stored piece of data. The
dbm database-map type is
available only if sendmail was
compiled with NDBM
declared (NDBM
on page 125).
Many database switches are available with this
dbm
database-map type. All are listed in Table 23-9.
Table 23-9. The dbm database-map type K command switches
Switch |
§ |
Description |
---|---|---|
|
-A on page 886 |
Append values for duplicate keys. |
|
-a on page 887 |
Append tag on successful match. |
|
-D on page 887 |
Don’t use this database map if |
|
-f on page 887 |
Don’t fold keys to lowercase. |
|
-m on page 888 |
Suppress replacement on match. |
|
-N on page 889 |
Append a null byte to all keys. |
|
-O on page 889 |
Never add a null byte. |
|
-o on page 889 |
The database file is optional. |
|
-q on page 889 |
Don’t strip quotes from key. |
|
-S on page 890 |
Space replacement character. |
|
-T on page 890 |
Suffix to append on temporary failure. |
|
-t on page 891 |
Ignore temporary errors. |
This is the database-map type used with
aliases files, if the
hash
type is
unavailable. This type is also needed on machines
that employ NIS because the underlying files for
those services are stored in
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.