HP-UX Mailing Services Administrator's Guide (B2355-91064)

For more information on configuring syslogd, see the HP-UX Internet Services
Administrator’s Guide
at:http://www.docs.hp.com/hpux/netcom/index.html#Internet%20Services.
Setting Log Levels
You can set the log level with the -oL option on the Sendmail command line or on the
OL line in the Sendmail configuration file. At the lowest level, no logging is done. At
the highest level, even the most mundane events are recorded. As a convention, log
levels 11 and lower are considered useful. Log levels above 11 are normally used only
for debugging purposes. We recommend that you configure syslogd to log mail
messages with a priority level of debug and higher. Sendmail’s behavior at each log
level is described in Table 2-7.
Table 2-7 Sendmail Logging Levels
BehaviorLogging Level
Minimal logging0
Serious system failures and security problems logged at LOG_CRIT or LOG_ALERT.
1
Communication failures (for example, logs communications of protocol failures) logged
at LOG_CRIT
2
Malformed addresses logged at LOG_NOTICE. Transient forward or include errors
logged at LOG_ERROR. Connect timeouts logged at LOG_NOTICE.
3
Malformed qf filenames and minor errors logged at LOG_NOTICE. Old alias databases
logged at LONG_INFO. Connection rejections (through libwrap.a or one of the
check_rule sets) logged at LOG_NOTICE.
4
A record of each message received logged at LOG_INFO. Envelope cloning logged at
LOG_INFO.
5
SMTP VRFY attempts and messages returned to the original sender logged at
LOG_INFO. The ETRN and EXPN ESMTP commands logged at LOG_INFO.
6
Delivery failures, excluding mail deferred because of a lack of resource, logged at
LOG_INFO.
7
Successful deliveries logged at LOG_INFO. Alias database rebuilds logged at
LOG_NOTICE.
8
Mail deferred because of a lack of resource logged at LOG_INFO.
9
SMTP inbound connects logged at LOG_INFO. Each key is looked up in a database
and the result of each lookup, logged at LOG_INFO. TLS errors logged at LOG_WARNING.
AUTH= and STARTTLS errors logged at LOG_INFO. Milter connects and replies logged
at LOG_INFO.
10
All NIS errors logged at LOG_INFO. The end of processing (job deletion) logged at
LOG_INFO.
11
96 Configuring and Administering Sendmail