How to check the Exchange Server log for SMTP connection

Kenneth Dias 0 Reputation points
2024-12-04T04:45:39.12+00:00

Dear Support Team,

Since we need to connect for SMTP functionality but the connection failed and the vendor says 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

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,721 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,175 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Jenne Li-MSFT 855 Reputation points Microsoft Vendor
    2024-12-04T09:31:01.7666667+00:00

    Hi, @Kenneth Dias

    Thanks for posting your question in the Microsoft Q&A forum.

    According to your description, you have encountered an SMTP connection failure, and the image information you provided shows "Unable to connect to SMTP host". You can try the following steps to see if the problem can be solved:

    1. Try to use Telnet to test SMTP communication on the Exchange server. Enter telnet in the command prompt to open a Telnet session, enter set localecho, and enter the target SMTP server, source domain, sender, and recipient email addresses in order. Then check the success and error messages in the Telnet session.

    Refer to: https://learn.microsoft.com/en-us/exchange/mail-flow/test-smtp-telnet?view=exchserver-2019#step-3-use-telnet-on-port-25-to-test-smtp-communication

    1. Try to use the ping command ping 10.58.252.11 to test whether the SMTP server at 10.58.252.11 is accessible from your Exchange server.
    2. In EAC, you can check the configuration connection log: Select Server > Server, select the mailbox server to configure, and then click "Edit" > "Transport Log" > "Connection Log" > "Enable Connection Log". If enabled, the log file is usually located under "%ExchangeInstallPath%TransportRoles\Logs".

    Refer to: Configure connectivity logging in Exchange Server | Microsoft Learn

    If you have any questions, please feel free to contact me. If the answer is helpful, please click "Accept Answer" because it can help other members of the Microsoft Q&A community who have encountered similar problems and are looking for solutions. Thank you.

    Best,

    Jeanne


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.