Interpreting and SMTP Protocol Log

Posted On 2007-05-03 by FortyPoundHead
Keywords: SMTP Protocol Exchange Log XADM
Tags: Exchange 
Views: 1606

When the diagnostics logging level of the SMTP protocol log category is set to maximum the complete incoming message transfer is written to the log. To ensure that SMTP logging is enabled check the application event log after the Internet Mail Service is started. If enabled event 2004 is written to the event log. One point to note is that headers and body of outgoing messages cannot be logged. Only the entire text of incoming messages is included.

The following are transmission codes included in the logs:
2xx or 3xx message code indicate normal transmission of message
4xx codes are temporary problems that can be resolved by resending the message.
5xx codes are permanent negative responses requiring some repair before another attempt to send. Responses with the 4xx and 5xx codes are accompanied by text describing the problem.

The following is an example of a log text found in the SMTP log file:

4/2/01 11:44:31 AM : A connection was accepted from
4/2/01 11:44:31 AM : <<< IO: |HELO
4/2/01 11:44:31 AM : <<< HELO
4/2/01 11:44:31 AM : >>> 250 OK
4/2/01 11:44:31 AM : <<< IO: |MAIL From:
4/2/01 11:44:31 AM : <<< MAIL From:
4/2/01 11:44:31 AM : >>> 250 OK - mail from
4/2/01 11:44:31 AM : <<< IO: |RCPT To:
4/2/01 11:44:31 AM : <<< RCPT To:
4/2/01 11:44:32 AM : >>> 250 OK - Recipient
4/2/01 11:44:32 AM : <<< IO: |DATA

About the Author

FortyPoundHead has posted a total of 1974 articles.

Comments On This Post

No comments on this post yet!

Do you have a thought relating to this post? You can post your comment here. If you have an unrelated question, you can use the Q&A section to ask it.

Or you can drop a note to the administrators if you're not sure where you should post.

Your IP address is:

Before you can post, you need to prove you are human. If you log in, this test goes away.

Code Links