4.3 Debugging (-d)
The
sendmail
program can also produce
debugging
output.
The
sendmail
program is placed in debugging mode by using the
% This command line produces a great deal of output. We won't explain this output, because it is explained in Chapter 37, Debugging with -d . For now just remember that the sendmail program's debugging output can produce a great deal of information.
In addition to producing lots of debugging information, the
Type in this command line, but change
Here, the
>>>>> queueing GAA14008 (new id) queueall=1 >>>>> queueing 95688=you: mailer 4 (local), host `' user `you', ruser `<null>' next=0, alias 95460, uid 0, gid 0 flags=6008<QPRIMARY,QPINGONFAILURE,QPINGONDELAY> owner=(none), home="/home/you", fullname="Your FullName" orcpt="(none)", statmta=(none), rstatus=(none) <<<<< done queueing GAA14008 <<<<<
In addition to a category, a
level
may 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
category.level For example, enter the following command line:
The
Version 8.8.4 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.edu (node name) $k = here ======================================================== Mail queue is empty
Here, the
The increase in the level causes sendmail to print more information:
Version 8.8.4 Compiled with: LOG NAMED_BIND NDBM NETINET NETUNIX NIS SCANF XDEBUG OS Defines: HASFLOCK HASGETUSERSHELL HASINITGROUPS HASLSTAT HASSETREUID HASSETSID HASSETVBUF HASUNAME IDENTPROTO IP_SRCROUTE Config file: /etc/sendmail.cf Pid file: /etc/sendmail.pid canonical name: here.us.edu UUCP nodename: here a.k.a.: [123.45.67.89] ============ SYSTEM IDENTITY (after readcf) ============ (short domain name) $w = here (canonical domain name) $j = here.us.edu (subdomain name) $m = us.edu (node name) $k = here ======================================================== Mail queue is empty |
|