MABS SMTP Configuration with M365 SMTP Relay

Dion Pezzimenti 21 Reputation points

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:


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


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.
884 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.
6,525 questions
0 comments No comments
{count} votes

Accepted answer
  1. Peter C 81 Reputation points

    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.


    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful