• 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.

Question Port 25 is blocked despite an explicit firewall rule

msinne

New Pleskian
Hello,

I'm using the msmtp relay addon/plugin for my php scripts to send mails (eg contact forms etc.)
Postfix and sendmail are deactivated.
I set up the external relay gateway correctly. The relay gateway sends through port 25.
I tried my scripts - no mail is going out.
I checked the ports with nmap. Port 25 is blocked.
I then put a firewall (the default plesk firewall) rule that opens tcp port 25, then
checked again with nmap, but port 25 is still blocked locally.
Where's the trick? Am I missing something or getting something wrong?

Best regards
Michael
 
no I checked the port locally on the machine with nmap and it's closed.
I asked my ISP already and he said port 25 is not blocked.
 
I asked my ISP already and he said port 25 is not blocked.

By ISP (internet service provider) you mean the company providing you with an internet connection at the place you reside/work? Because you ought to ask your hosting/cloud provider if port 25 is open.
 
O.k., I think what you are seeing is kind of an illusion. I think that everything is actually correctly set-up, but you are trying to connect to port 25 on your local system. However, there is no mail server on port 25 (or other ports) on your local server. When you use the MSMTP option, you do not have any local mail server or mail functions, so you have to make sure that any script where you send mails from is directly connecting to your external mail server. From what I understand you cannot combine the MSMTP option with a local mail functionality to submit mails on your server.
 
Back
Top