7.48 -d38.4
Show result of database map open Debug command-line switch
When rebuilding the aliases files, eachdatabase file is rebuilt even if its source file has not
changed. The -d38.4 debugging switch shows the success or failure of each open:
map_init(dbtype:name, file, pass) ?†? from -d38.2
dbtype:name file valid or invalid
This is the Title of the Book, eMatter Edition
Copyright ?© 2007 O??™Reilly & Associates, Inc. All rights reserved.
566 | Chapter 15: Debug sendmail with -d
The status is valid if the open succeeded; otherwise, it is invalid.
The -d38.4 debugging switchalso shows eachmap being looked up in a switch database
type (?§23.7.24 on page 938):
switch_map_open(name, file, mode) ?†? from -d38.2
map_stack[index] = dbtype:name
If the name was not declared in a K configuration command, the following error is printed:
Switch map dbtype: unknown member map name
15.7.49 -d38.9
Trace database map closings and appends Debug command-line switch
The -d38.9 debugging switch traces map closures for maps that can be closed:
ndbm_map_close(name, file, flags)
db_map_close(name, file, flags)
impl_map_close(name, file, flags)
ph_map_close(name): pmap-ph_fastclose=num
prog_map_lookup(name) failed (errno) -- closing
seq_map_close(name)
Here, the name is either the name you gave to the map with the K configuration command,
or one assigned internally by sendmail (suchas aliases.
Pages:
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005