How to check logs of the Exchange Server for SMTP connection

Kenneth Dias 0 Reputation points
2024-12-04T07:00:15.0166667+00:00

Since we need to connect for SMTP functionality but the connection failed and the vendor said the packet has been sent but there is no response from the Exchange server, we want to check the Exchange server logs and fix this issue.

image

image

Microsoft Exchange Online
Microsoft Exchange Online Management
Microsoft Exchange Online Management
Microsoft Exchange Online: A Microsoft email and calendaring hosted service.Management: The act or process of organizing, handling, directing or controlling something.
4,655 questions
Exchange Server Development
Exchange Server Development
Exchange Server: A family of Microsoft client/server messaging and collaboration software.Development: The process of researching, productizing, and refining new or existing technologies.
558 questions
Exchange Server Management
Exchange Server Management
Exchange Server: A family of Microsoft client/server messaging and collaboration software.Management: The act or process of organizing, handling, directing or controlling something.
7,725 questions
Microsoft Exchange Hybrid Management
Microsoft Exchange Hybrid Management
Microsoft Exchange: Microsoft messaging and collaboration software.Hybrid Management: Organizing, handling, directing or controlling hybrid deployments.
2,177 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Paul Sam Easow 0 Reputation points Microsoft Vendor
    2024-12-04T08:01:04.58+00:00

    You can use the ping command to test connectivity: ping 10.58.252.11. With that you can check if the server hosting the SMTP service (10.58.252.11) is reachable from your Exchange Server.

    You can also confirm that the SMTP service is running on the server with IP 10.58.252.11. You can use telnet to check if the SMTP port (25) is open: telnet 10.58.252.11 25.

    Other than that, to check Exchange logs, you can refer to the article below- Configure logging- https://learn.microsoft.com/en-us/exchange/mail-flow/transport-logs/configure-connectivity-logging?view=exchserver-2019
    Log structure and fields- https://learn.microsoft.com/en-us/exchange/mail-flow/transport-logs/connectivity-logging?view=exchserver-2019

    So enable the logging, locate them and analyze them. The log files are in CSV format and can be opened with any text editor or spreadsheet application. Each log entry includes details such as the date and time, session ID, source and destination IP addresses, and the SMTP commands exchanged.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.