How do I Set up default Email to Send notifications through office 365 or Email.

+1 vote
asked Dec 13, 2017 in EventSentry Light by mjotech (130 points)
I keep getting Either connection refused or an SMTP protocol Error 504 5.7.5 depending on which i try.  I have also tried an onsite exchange 2010 with similar results. what am i missing?




1 Answer

+1 vote
answered Dec 13, 2017 by Sally (2,460 points)
To set up mail through Office 365, there are three options, with option 2 and option 3 being the most common for ease of management:

For error 5.7.5, the most common problems are solved in the sections for "Remove the sender restriction" or "If the sender is outside of your organization" or "Incorrect SPF record".

For exchange 2010/2013/etc it's very similar to option 2 and option 3 from the Office 365 article, just with different UI for creating and configuring the SMTP connector.  Easiest way is to set up an SMTP connector just for EventSentry, allow anonymous permission, and then only allow the IP of the EventSentry server to connect.  You could still have the same issue regarding error 5.7.5 where you need to change the sender or recipient permissions and possibly the SPF settings, with a different configuration UI than the Office 365 article.
commented Dec 13, 2017 by mjotech (130 points)
Thanks for the response, I did get it to work with just had to adjust egress filtering n the firewall.
commented Dec 13, 2017 by Ingmar (7,190 points)
Great, thanks for letting us know!
Welcome to EventSentry Q&A, where you can ask questions and receive answers from other members of the community.