Ports 25 and 587 are blocked and unable to open in azure VM

Thrilokesh 35 Reputation points
2023-05-19T10:19:49.2166667+00:00

I trying Configure a email with postfix and dovecot . i have installed the postfix and trying to connect to gmail telnet using the telnet gmail-smtp-in.l.google.com 587 .

getting timeout .

i tried add new inbound and outbound rules to my azure vm .but no luck

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
9,070 questions
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.
2,778 questions
{count} vote

Accepted answer
  1. KapilAnanth-MSFT 49,616 Reputation points Microsoft Employee Moderator
    2023-05-22T04:25:22.5133333+00:00

    @Thrilokesh

    @Thrilokesh

    Welcome to the Microsoft Q&A Platform. Thank you for reaching out & I hope you are doing well.

    I understand that you would like to access the FQDN "gmail-smtp-in.l.google.com" on ports 25 and 587.

    Please let me know if this is incorrect.

    First of all,

    • Is the server "gmail-smtp-in.l.google.com" accepting requests to port 25 and 587?
    • I do not think so.
    • From my local machine, the connections are failing.
    • User's image
    • This simply indicates that the problem is not with Azure VM, rather the destination server.

    Do you have any other VM or working setup(local server) where telnet to Ports 25 and 587 actually succeed?

    Also, Please check : Recommended method of sending email

    Kindly let us know if this helps or you need further assistance on this issue.

    Thanks,

    Kapil


    Please don’t forget to close the thread by clicking "Accept the answer" wherever the information provided helps you, as this can be beneficial to other community members.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

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.