Setting up Custom SMTP with Office 365 as Outbound Email in BMS.

Problem: I am unable to set up Office 365 as Custom SMTP in BMS without getting this error:

Error! The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.7.57 SMTP; Client was not authenticated to send anonymous mail during MAIL FROM  [xxxx.prod.outlook.com]"

Resolution: Follow these steps:

1. SMTP settings should be configured as follows:

2. You will then need to create a connector in Office 365 to accept to relay the email sent by BMS web servers:

  • In the security of the email server, you will need to allow external apps from sending emails on behalf. Login to your O365 admin center and follow this Microsoft guide to create the connector.

 

To ensure successful delivery of Alerts and Alarms via Kaseya's e-mail relays, the following IP addresses should also be added as firewall rules on port 25:

  • 34.197.117.170
  • 79.125.7.9

Add all ip's from the screenshot below

Note: https://docs.microsoft.com/en-us/exchange/mail-flow-best-practices/use-connectors-to-configure-mail-flow/set-up-connectors-to-route-mail

Please contact Kaseya Support if after creating the connector you are still having issues setting up custom SMTP.


Applies to: O365 Mail Servers used in BMS.

Was this article helpful?
1 out of 1 found this helpful
Have more questions? Contact us