Set a Default Database-Map Type for Features
FEATURE
s that
employ on-disk database files all share the common
default database-map type hash
. But if you wish to change that
default to another type, you can do so with the
following mc configuration
command:
define(`DATABASE_MAP_TYPE', `dbm')
Here, we declare the default to be dbm
, thereby causing all
such FEATURE
s to
use ndbm(3) database files.
Note that if you declare a default, you must do so
before declaring any database FEATURE
s.
Many FEATURE
s that
take arguments require you to declare the database
type. For example:
FEATURE(`authinfo', `dbm /etc/security/authinfo')
That is, this DATABASE_MAP_TYPE’s default is used only if no argument is given for the feature.
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.