Nondigits for the category or range evaluate
to zero. Nondigits for the level evaluate to 1.
The level specifies the maximum amount of verbose output to produce. All levels
below the level specified also produce output.
The expression that produces the maximum debugging output is:
-d0-99.127
But beware that debugging levels of 100 or greater can cause sendmail to modify its
behavior. (For example, one category at such a high level prevents sendmail from
removing its temporary files.) For this reason, -d0-99.99 is the maximum level
recommended.
Debugging can be turned on from the command line and from within -bt rule-testing
mode (?§8.7 on page 318).
Beginning withV8.8 sendmail, a special debugging word can be specified at the command
line to cause debugging output to become clearer:
-dANSI ?†? V8.8 and above
ANSI is case-sensitive and must be the only argument following the -d. If you wishto
combine it with other debugging switches, you must specify them separately:
-dANSI -d0.4
ANSI causes defined macros, class macros, and operators to be displayed in reverse
video, as shown in Figure 15-1.
Figure 15-1. Reverse video display using ANSI
$+ R $# local $: $1
This is the Title of the Book, eMatter Edition
Copyright ?© 2007 O??™Reilly & Associates, Inc. All rights reserved.
532 | Chapter 15: Debug sendmail with -d
This is truly a ???hack.
Pages:
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947