MABS SMTP Configuration with M365 SMTP Relay

Dion Pezzimenti 21 Reputation points
2022-04-28T12:58:05.807+00:00

I'm currently trying to setup SMTP Server in MABS using M365 as the relay. I keep receiving error 2013 that the user name or password is incorrect as shown below:

197384-image.png

I have seen where they say to make sure all the lines are filled in and they are (sudo email addresses for privacy):

197394-image.png

I have tried with both port 587 and port 25. I have even verified using PowerShell's Send-MailMessage that the user account that I want to use to relay mail is able to authenticate and send without any issues. Is there some special configuration or setting that I need to use in order to use M365 as the relay?

Azure Backup
Azure Backup
An Azure backup service that provides built-in management at scale.
1,302 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,706 questions
0 comments No comments
{count} votes

Accepted answer
  1. Peter C 81 Reputation points
    2022-04-28T14:27:51.833+00:00

    I'm wondering if the issue is to do with the security method as there seems to be no way to force it to use TLS1.2.

    You could setup an SMTP relay in IIS - This seems to be what Microsoft recommend and I suspect it is to do with TLS1.2 support.

    197326-capture.png

    1 person found this answer helpful.

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.