Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!

Author Topic: Cheatsheet for Exim mail log troubleshooting  (Read 2495 times)

0 Members and 1 Guest are viewing this topic.

rinop

  • Guest
Cheatsheet for Exim mail log troubleshooting
« on: November 11, 2017, 10:34:12 am »
Exim mail log file is “/var/log/exim_mainlog”

From the email queue, we can analyse the log details of an email by using the command “exim -Mvl Message-ID”
also for each message received, and for each successful, unsuccessful, and delayed delivery. These lines can readily be picked out by the distinctive two-character flags that immediately follow the timestamp.

The flags are:

<=     message arrival
=>     normal message delivery
->     additional address in same delivery
*>     delivery suppressed by -N
**     delivery failed; address bounced
==     delivery deferred; temporary problem


A summary of the field identifiers that are used in log lines is shown in the following table:

A           authenticator name (and optional id)
C           SMTP confirmation on delivery
            command list for “no mail in SMTP session”
CV          certificate verification status
D           duration of “no mail in SMTP session”
DN          distinguished name from peer certificate
DT          on => lines: time taken for a delivery
F           sender address (on delivery lines)
H           host name and IP address
I           local interface used
id          message id for incoming message
P           on <= lines: protocol used   on => and ** lines: return path
QT          on => lines: time spent on queue so far
            on “Completed” lines: time spent on queue
R           on <= lines: reference for local bounce  on =>  ** and == lines: router name
S           size of message
ST          shadow transport name
T           on <= lines: message subject (topic) on => ** and == lines: transport name
U           local user or RFC 1413 identity
X           TLS cipher suite