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

Table 2-7 Sendmail Logging Levels (continued)
SMTP outbound connections logged at LOG_INFO.
12
Logs bad user shells, world-writable files and other questionable situations.13
Connection refusals logged at LOG_INFO. More STARTTLS information logged at
LOG_INFO.
14
All incoming and outgoing SMTP commands and their arguments logged at LOG_INFO.
15
Logs attempts to run locked queue files. These are not errors but this level is useful if
your queue appears to be clogged.
20
Denotes lost locks (only if you are using lockf instead of flock).
30
Reserved for extremely verbose debugging output>64
Understanding syslog Entries
Sendmail logs the following:
Failures beyond its control (SYSERR).
Administrative activities (for example, rebuilding the aliases database, and killing
and restarting the daemon).
Events associated with mail transactions.
Log entries marked SYSERR indicate either system failures or configuration errors and
may require the attention of the system administrator.
Each system log entry for a mail transaction has a queue ID associated with it. All log
entries for the same input message have the same queue ID. Log level is normally set
to 10 in the configuration file. At this level, the following information is logged for each
delivery:
message-id= If a message had a Message ID header line when it was input to
Sendmail, this is logged. Sendmail can also be configured to add a
Message ID header line if none is present. This ID uniquely
identifies a message and can be used to trace the progress of a
message through mail relays.
from=
The sender of the message and the message size are logged.
to=
The recipient of the message. One message may have multiple
recipients. Sendmail logs a separate entry for each separate delivery
attempt it makes, so multiple recipients on the same host may appear
on the same line, but multiple recipients on different hosts will
appear on different lines. The delivery status of the message (whether
message succeeded, failed, or was queued), the mailer, and the host
used are logged.
Troubleshooting Sendmail 97