DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Sendmail Installation and Operation Guide
SMM:08-15
class
The class (i.e., numeric precedence) of the message.
pri
The initial message priority (used for queue sorting).
nrcpts
The number of envelope recipients for this message (after aliasing and for-
warding).
msgid
The message id of the message (from the header).
proto
The protocol used to receive this message (e.g., ESMTP or UUCP)
daemon
The daemon name from the DaemonPortOptions setting.
relay
The machine from which it was received.
There is also one line logged per delivery attempt (so there can be several per message if deliv-
ery is deferred or there are multiple recipients). Fields are:
to
A comma-separated list of the recipients to this mailer.
ctladdr
The ``controlling user'', that is, the name of the user whose credentials we use
for delivery.
delay
The total delay between the time this message was received and the current
delivery attempt.
xdelay
The amount of time needed in this delivery attempt (normally indicative of the
speed of the connection).
mailer
The name of the mailer used to deliver to this recipient.
relay
The name of the host that actually accepted (or rejected) this recipient.
dsn
The enhanced error code (RFC 2034) if available.
stat The delivery
status.
Not all fields are present in all messages; for example, the relay is usually not listed for local
deliveries.
2.1.2. Levels
If you have syslogd (8) or an equivalent installed, you will be able to do logging. There is
a large amount of information that can be logged. The log is arranged as a succession of levels.
At the lowest level only extremely strange situations are logged. At the highest level, even the
most mundane and uninteresting events are recorded for posterity. As a convention, log levels
under ten are considered generally "useful;" log levels above 64 are reserved for debugging pur-
poses. Levels from 11-64 are reserved for verbose information that some sites might want.
A complete description of the log levels is given in section ``Log Level''.
2.2. Dumping State
You can ask sendmail to log a dump of the open files and the connection cache by sending it a
SIGUSR1
signal. The results are logged at
LOG_DEBUG
priority.
2.3. The Mail Queues
Mail messages may either be delivered immediately or be held for later delivery. Held mes-
sages are placed into a holding directory called a mail queue.
A mail message may be queued for these reasons:
· If a mail message is temporarily undeliverable, it is queued and delivery is attempted later. If the
message is addressed to multiple recipients, it is queued only for those recipients to whom deliv-
ery is not immediately possible.