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:
Add all ip's from the screenshot below
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.