There are a fairly large number of debug flags
built into
sendmail. Each debug flag has a number and a level,
where higher levels means to print out more information.
The convention is that levels greater than nine are
absurd, i.e.,
they print out so much information that you wouldn't normally
want to see them except for debugging that particular piece of code.
Debug flags are set using the
-d option;
the syntax is: