Can you please check why traffic to smtp.gmail.com on port 25 is not reaching the server from our DR site, even though the port is allowed?

Umar 20 Reputation points
2025-12-02T12:10:57.3533333+00:00

We have allowed port number 25 for smtp.gmail.com, but we are facing an issue while testing through telnet. The traffic is not reaching port 25 on smtp.gmail.com. This is the DR site, and in the on-premise environment the mail server is configured with port 25 only, which is not working in the Azure cloud.

Azure Virtual Network
Azure Virtual Network
An Azure networking service that is used to provision private networks and optionally to connect to on-premises datacenters.
0 comments No comments
{count} votes

Answer accepted by question author
  1. Q&A Assist
    2025-12-02T12:11:06.69+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    Outbound SMTP connections on TCP port 25 from Azure are generally blocked to ensure security and compliance with industry standards. This means that even if you have allowed port 25 for smtp.gmail.com, Azure might still prevent the traffic from reaching that server. The Azure platform blocks outbound SMTP connections on port 25 for deployed VMs, which could be the reason why your traffic is not reaching smtp.gmail.com.

    To send email from Azure, it is recommended to use authenticated SMTP relay services, typically over TCP port 587, which is not blocked. This approach helps maintain IP reputation and ensures reliable email delivery.

    If your setup requires using port 25, you may need to check if your Azure subscription allows sending emails directly over that port, as this is dependent on the type of subscription you have. For example, certain subscription types may have restrictions on using port 25.

    For further troubleshooting, you might want to consider using tools to test connectivity or opening a support case with Azure for assistance.

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.