Sendmail: Theory and Practice, Second Edition

These are the debug classes for running Sendmail in debug mode ( -d).
| Class | Type | Level | Description |
|---|---|---|---|
| 0 | General | 1 | Don't fork as often |
| 4 | Setting of $j, $w, $=w | ||
| 15 | Dump configuration file | ||
| 44 | Print argument vector | ||
| 1 | Envelope | 1 | Envelope sender |
| 2 | Exiting | 1 | Final exit status |
| 5 | Timers | 4 | Alarm tick |
| 5 | Event added; event cleared | ||
| 6 | Activity in alarm tick | ||
| 6 | Error notifications | 1 | Each error; returns to sender |
| 5 | dead.letter versus mail back error text | ||
| 7 | Queue file names | 1 | Created a new queue file name |
| 2 | used an existing queue file name | ||
| 20 | Trying a new queue file name | ||
| 8 | DNS | 1 | MX RR lookups; name canonicalization |
| 9 | More DNS | 1 | maphostname (for $[ and $]) |
| 2 | (turn on resolver debugging [ KJS only]) | ||
| 10 | Delivery | 1 | General trace; envelope dump |
| 11 | Mailers | 1 | Mailer open |
| 12 | Remotely visible names ( KJS only) | 1 | Before and after |
| 2 | Ruleset numbers of a mailer's S= and R= | ||
| 13 | Sending to recipient list | 1 | General |
| 3 | Checking for errors | ||
| 4 | errors-to whom? ( owner- xxx) | ||
| 14 | Headers | 2 | Headers with comma-separated lists |
| 15 | SMTP listener | 1 | Initialization; load average |
| 2 | Incoming connection | ||
| 15 | (turns on kernel socket debugging) | ||
| 16 | SMTP client | 1 | Outbound connection |
| 14 | (turns on... |