Question

plesk roundcube port 25 unable to connect to *any* (Network is unreachable)

Posted October 24, 2021 178 views
UbuntuNetworkingFirewall

I have plesk droplet with roundcube webmail.

I receive emails, able to send but not reaching the destination:

connect to alt2.gmail-smtp-in.l.google.com[142.250.150.27]:25: Connection timed out

After days of investigation, this is like DO blocking email to be sent via port 25:

# telnet smtp.gmail.com 587
Trying 108.177.15.108...
Connected to smtp.gmail.com.
Escape character is '^]'.
220 smtp.gmail.com ESMTP o6sm557170wrs.11 - gsmtp
quit
221 2.0.0 closing connection o6sm557170wrs.11 - gsmtp
Connection closed by foreign host.

# telnet smtp.gmail.com 25
Trying 108.177.15.108...
^X  
quit
^C

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
Submit an Answer
2 answers

Hello, @ans1genie

It is possible that port 25 is closed for new accounts. This is something we have been doing to reduce spam on our network. Please do not think that we are accusing you of sending spam, it is more that we simply cannot accurately determine who is going to send it.

Stopping spam is a constant fight, so we have implemented some restrictions on newer accounts.

You could use an SMTP service like SendGrid. They have a free plan and you could use it.

Regards,
Alex

Hi @ans1genie,

As mentioned, port 25 is closed for new accounts to prevent SPAM leaving out your Droplet.

To qualify for the ability to send out emails, new accounts are required to wait 60 days before a request for removing the restriction could be raised. Once your account has reached 60 days of stable use, you could reach out to the DigitalOcean support team so they could look into this for you:

https://www.digitalocean.com/support/

If you however wish to use your Droplet for E-mails rather than any third-party tool, you could instead use ports 465 or 587. I’ll suggest using those ports even after port 25 is opened.