• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Issue Port 587 is open in Firewall and Telnet but Plesk alert says it's blocked

bekway

New Pleskian
In our server Mail settings we get "You cannot send emails from Plesk because outbound connections on TCP port 587 is blocked. Check the firewall settings or contact your hosting provider.". Port 587 is open when tested using Telnet, Emails can be sent from port 587 and we even opened it up specifcally in Firewall (not sure this was necessary but we did it anyway). Why do we get this alert?
 
please check via panel.ini extension or CLI /usr/local/psa/admin/conf/panel.ini what is configured for unavailableMailPorts, unavailableMailPortsHost , unavailableMailPortsList and so on... and test if you can reach it
 
Last edited:
perhaps you have a different plesk edition as I
I just checked it with the extension Panel.ini Editor and on my Systems it looks like:

1579883890450.png
 
OK I see now, and you are right the ports appear blocked, my settings are almost the same. But how do we explain the "blocked" alert in Plesk panel and, stranglely, why is smtp.gmail.com appearing here?Capture d’écran 2020-01-24 à 20.35.35.png
 
Unfortunately there is no detailed documentation about this. But I think Plesk is using smtp.gmail.com to test if the defined ports 25 & 587 are open to the outside world. So you should test from your system if you can reach it via telnet on port 587, alternatively they can probably be adjusted. In fact, when I got the error message that outgoing port 587 was blocked on the firewall, and it went away as soon as I configured it right on the firewall
 
Last edited:
I already tested my system and I can reach port 587 via telnet, this is the first thing I tried. And I added port 587 in the Plesk firewall. But the mail settings page still shows the alert message saying its blocked.
 
whats the output when you do this from your System
# telnet smtp.gmail.com 587

get it connected?
 
Last edited:
telnet smtp.gmail.com 587
Trying 2a00:1450:400c:c07::6c...
telnet: connect to address 2a00:1450:400c:c07::6c: No route to host
Trying 173.194.76.108...
Connected to smtp.gmail.com.
Escape character is '^]'.
220 smtp.gmail.com ESMTP s139sm10136236wme.35 - gsmtp
 
thats all I found about it yet in the changelogs:
Plesk now automatically checks whether the SMTP ports 25 and 587 used for sending mail are filtered. If they are, notifications are shown in the Plesk interface (in “Tools & Settings” > “Mail Server Settings” > “Settings” and “Subscriptions” > “Mail” tab > “Mail Settings”).
If Plesk detects such an infrastructural problem it will recommend possible ways to resolve the issue. (This improvement is available for all Plesk Onyx and Plesk Obsidian versions)

As a workaround until you figured out the real issue: you can try to set in the panel.ini the

[ext-notifier]
unavailableMailPortstrue

to false, this should hide the message. But in general thats helpful to get such an warning if something works not as expected.
 
Last edited:
If your PLESK server it hosted on GCP (and perhaps other Cloud providers) you cannot run a mail server of your PLESK server. GCP does not permit you to run mail servers on their VMs. Could this be the reason?
 
Back
Top