Log Levels
The level of logging can be set for sendmail.
The default using a standard configuration table is level 9.
The levels are as follows:
0- 
Minimal logging.
 
1- 
Serious system failures and potential security problems.
 
2- 
Lost communications (network problems) and protocol failures.
 
3- 
Other serious failures, malformed addresses, transient forward/include
errors, connection timeouts.
 
4- 
Minor failures, out of date alias databases, connection rejections
via check_ rulesets.
 
5- 
Message collection statistics.
 
6- 
Creation of error messages,
VRFY and EXPN commands.
 
7- 
Delivery failures (host or user unknown, and so on).
 
8- 
Successful deliveries and alias database rebuilds.
 
9- 
Messages being deferred
(due to a host being down, and so on).
 
10- 
Database expansion (alias, forward, and userdb lookups)
and authentication information.
 
11- 
NIS errors and end of job processing.
 
12- 
Logs all SMTP connections.
 
13- 
Log bad user shells, files with improper permissions, and other
questionable situations.
 
14- 
Logs refused connections.
 
15- 
Log all incoming and outgoing SMTP commands.
 
20- 
Logs attempts to run locked queue files.
These are not errors,
but can be useful to note if your queue appears to be clogged.
 
30- 
Lost locks (only if using lockf instead of flock).
 
Additionally,
values above 64 are reserved for extremely verbose debugging output.
No normal site would ever set these.
Next topic: 
Changing file permissions
Previous topic: 
Setting the delivery mode
© 2003 Caldera International, Inc.  All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003