how to check SMTP Logs

Glenn Maxwell 12,876 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.

Exchange Online
Exchange Online
A Microsoft email and calendaring hosted service.
6,182 questions
Exchange | Exchange Server | Management
Exchange | Hybrid management
{count} votes

Accepted answer
  1. KyleXu-MSFT 26,396 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

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.