• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Issue Notice outbound connections on TCP port 25 is blocked

Askancy

New Pleskian
Hi guys I have a problem.

I assume that I am not an expert, indeed, but since I installed Plesk, almost two years ago on DigitalOcean, I have this warning in email settings:

You cannot send emails from Plesk because outbound connections on TCP port 25 is blocked. Check the firewall settings or contact your hosting provider. If you are sure that the ports are already open, Plesk can recheck them. Start the recheck

I looked at the documentation and it seems like it should have solved itself by updating Plesk: [FIXED BUG] Is the warning "You cannot send emails from Plesk because outbound connections on TCP ports 25 and 587 are blocked." a false-positive result when the ports are accessible?

if i run in the terminal: telnet smtp.gmail.com 25
I receive:

Code:
220 smtp.gmail.com ESMTP d11sm12749716wrw.77 - gsmtp
502 5.5.1 Unrecognized command. d11sm12749716wrw.77 - gsmtp
2a00:1450:400c:c04::6c
Trying 74.125.206.109...
Connected to smtp.gmail.com.
Escape character is '^]'.
220 smtp.gmail.com ESMTP d11sm12749716wrw.77 - gsmtp
502 5.5.1 Unrecognized command. d11sm12749716wrw.77 - gsmtp
502 5.5.1 Unrecognized command. d11sm12749716wrw.77 - gsmtp
502 5.5.1 Unrecognized command. d11sm12749716wrw.77 - gsmtp
502 5.5.1 Unrecognized command. d11sm12749716wrw.77 - gsmtp

I saw that the Fix was placed in Plesk Obsidian 18.0.25

while I have:

Plesk Obsidian Web Pro Edition
Versione 18.0.29 Aggiorna #2

Do you know how I can solve it?
 
Try making a new rule specifically for TCP port 25 outbound, apply it then see if there’s any change.
 
Last edited:
Additionally, DigitalOcean may require a request or change on their to open 25 at a level higher than your installation.

Other cloud providers have been known to imposed that limitation out of the box to help combat spam originating from their IPs.
 
Back
Top