SMPT Relay Port 25

Isaac Navarrete 6 Reputation points
2022-06-17T17:41:25.583+00:00

Hello!

I followed this process of the Option 3, I want to enable a relay service for notifications from the web app that I own.

The connector is configured correctly, and the SPF in the TXT record is correct as well, but whenever I try to test, I have an error:

Error connecting to ********.mail.protection.outlook.com:25:
*** IO::Socket::INET6: connect: timeout

My application it's hosted in AWS

https://learn.microsoft.com/en-us/exchange/mail-flow-best-practices/how-to-set-up-a-multifunction-device-or-application-to-send-email-using-microsoft-365-or-office-365#option-3-configure-a-connector-to-send-mail-using-microsoft-365-or-office-365-smtp-relay

Azure
Azure
A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.
1,099 questions
Microsoft Exchange Online Management
Microsoft Exchange Online Management
Microsoft Exchange Online: A Microsoft email and calendaring hosted service.Management: The act or process of organizing, handling, directing or controlling something.
4,735 questions
{count} vote

1 answer

Sort by: Most helpful
  1. Andy David - MVP 152.1K Reputation points MVP
    2022-06-17T18:34:38.01+00:00

    Option 3 assumes you are sending this from a validated on-prem environment. You can't anonymously relay email from outside of 365 (From AWS in this case ) like that.

    0 comments No comments

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.