By adding a numeric argument to the
-d switch, output can be limited to one specific aspect of the sendmail program??™s
behavior.
Type in this command line, but change you to your own login name:
% /usr/lib/sendmail -d0 you < /dev/null
Here, the -d0 is the debugging switch with a category of 0. That category limits sendmail??™s
program output to information about how sendmail was compiled. A detailed
explanation of that output is covered in ?§15.7.2 on page 542.
In addition to a category, a level can also be specified. The level adjusts the amount
of output produced. A low level produces little output; a high level produces greater
and more complex output. The string following the -d has the form:
category.level
For example, enter the following command line:
% /usr/lib/sendmail -d0.1 -bp
The -d0 instructs sendmail to produce general debugging information. The level .1
limits sendmail to its minimal output. That level could have been omitted because a
level .1 is the default. Recall that -bp causes sendmail to print the contents of its
queue. The output produced looks something like the following:
Version 8.14.1
Compiled with: LOG NAMED_BIND NDBM NETINET NETUNIX NIS SCANF
XDEBUG
== == == == == == SYSTEM IDENTITY (after readcf) == == == == == ==
(short domain name) $w = here
(canonical domain name) $j = here.us.edu
(subdomain name) $m = us.
Pages:
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83