Name
-d38.2
Synopsis
Most database maps are declared directly with the
K configuration command (Section 23.2). Others are declared internally by
sendmail, such as the host
and alias maps. The -d38.2
debugging switch (there is no -d38.1 information)
first shows database maps being initialized:
map_init(dbtype:name, file, pass)Here, dbtype is one of the internal database
types allowed by sendmail, such as
host, and dequote (Section 23.2, the K configuration
command). The name is either the name you gave
to the database map with the K configuration
command, or one assigned internally by sendmail
(such as aliases.files). The
file is either a literal NULL, or the name of
the database file (such as /etc/mail/aliases).
And pass is a flag that tells
sendmail whether it should open the database,
rebuild the database, or do neither.
Next, the -d38.2 debugging switch causes
sendmail to show each database map as it is
about to be opened. The output that is produced will look like one of
the following lines:
bt_map_open(name, file, mode) hash_map_open(name, file, mode) hes_map_open(name, file, mode) impl_map_open(name, file, mode) ldap_map_open(name, mode) ndbm_map_open(name, file, mode) ni_map_open(name, file, mode) nis_map_open(name, file, mode) nisplus_map_open(name, file, mode) stab_map_open(name, file, mode) switch_map_open(name, file, mode) text_map_open(name, file, mode) user_map_open(name, mode)
In all of the previous lines, the mode is a decimal representation of the file permissions that ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access