Debugging sendmail
There is a fairly large number of debug flags
built into
sendmail.
Each debug flag has a number and a level,
where higher levels cause more information to be printed out.
The convention is that levels greater than nine are not required.
They print out so much information that you would not normally
want to see them, except for debugging that particular piece of code.
Debug flags are set using the sendmail -d
command-line flag. The syntax is:
debug-flag:-
-d debug-list
debug-list:-
debug-option [ , debug-option ]*
debug-option:-
debug-range [ . debug-level ]
debug-range:-
integer | integer - integer
debug-level:-
integer
The spaces are for reading ease only.
For example:
-d12-
Set flag 12 to level 1.
-d12.3-
Set flag 12 to level 3.
-d3-17-
Set flags 3 through 17 to level 1.
-d3-17.4-
Set flags 3 through 17 to level 4.
Next topic:
Changing the values of options
Previous topic:
Administering sendmail
© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003