how to check SMTP Logs

Glenn Maxwell 10,146 Reputation points
2021-11-23T19:15:43.297+00:00

Hi All

I am using exchange 2016 hybrid environment. Currently i am using anonymous relay and i want to use Authenticated Relay. I have a printer it works fine using anonymous relay. I want to use onprem relay for this printer. so i have created a AD user and then created remote mailbox and in the printer i have used this AD account when i try to trigger test email i am getting the below error. There is no issue with AD username and password. How can i check the SMTP logs, whether requests are hitting my exchange. i dont have edge transport server, i am using 3 mailbox servers in a DAG

Unable to send test Email.
Login failure. Check user password, and/or setups.

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,177 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,350 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.
1,886 questions
{count} votes

Accepted answer
  1. KyleXu-MSFT 26,211 Reputation points
    2021-11-24T01:44:50.393+00:00

    @Glenn Maxwell

    If you want to use authentication relay, you need to bind certificate to Client Frontend Connector first, you could have a look about this article.
    Please Note: Since the web site is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.

    Then you need to create an Exchange on-premises mailbox rather than remote mailbox to relay email.

    After that, use "Send-MailMessage" command to check whether all configurations are correct. If there exist issue with it, you could check the receiver connector log (%ExchangeInstallPath%TransportRoles\Logs\FrontEnd\ProtocolLog\SmtpReceive) to find why you cannot relay email.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


    0 comments No comments

0 additional answers

Sort by: Most helpful