Plesk for Linux
kb: how-to
ABT: Group B
Applicable to:
- Plesk for Linux
Question
Is it possible to use another port for SMTP connection if 25 port is blocked by ISP?
Answer
No, it is not possible to use another port instead 25 for SMTP connection.
Additional information
Usually, ISP blocks only outgoing 25 port. There are two options:
- Contact ISP and ask to unblock 25 port for outgoing traffic.
- Setup relayhost(smarthost) in postfix following steps from any 3rd-party resource like this.
If ISP also blocks incoming 25 port, it will be impossible to use mail service on this server. Anyway, contact ISP for assistance.
- For configuring Mail Submission port 587 in Plesk for Windows please refer to the article
- For configuring Mail Submission port 587 in Plesk for Linux please refer to the article
Note: Plesk server cannot be configured to use 587 port for outbound SMTP traffic. Either only 25 or 25 in conjunction with 587 can be used. Also, Plesk will still be listening on 25 port alongside with 587.
Comments
7 comments
It's is very bad situation. There is no solution ?
Hello Sait Firat NEMIS
The limitation is on infrastructure level and Plesk has no direct influence on it.
So, the solutions are to ask ISP to unblock port if possible or to setup relay.
So I would need to Ask Google to open their Cloud Services on Port 25?
For sure I already know the answer, I added a rule to the Firewall for port 2525 and I would like to use the SMTP server on that Port is that possible?
this means no PLESK on Google GCP, a real constraint
Hello,
Dennis Bronno Brouwer philippe henneau
Google Cloud doesn't open port 25 for anyone.
However, there's a workaround, see the details here.
indeed, GCP will not open Port 25, and yes the workaround , it works, we went for SendGrid but there is huge constraint for webhosters: each domain must be validated by endgrid, that means 3 records per domain. Each new domain must be manually validated over the SendGrid platform. We havent figured out yet out to have our Server IP validated for all the domains.More over they are costs associated with the workaround.
Regards
Philippe
Hello,
i got the same problem, google cloud blocked all outgoing traffic to my plesk mail relay server.
But thats not a big problem, plesk is listening on port 465 as well, so use this port instead of 25.
Here is my postfix config on LAMP-Stack on GCP:
relayhost = your-pleskserver.domain.com:465
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/smtp_auth
smtp_tls_security_level = encrypt
smtp_tls_wrappermode = yes
smtp_auth config on GPC:
your-pleskserver.domain.com anymail@domain.com:PASSWORD
After creating the smtp_auth file with your host + user:password you have to create the map file
Thats all, now you can reach your Plesk Mailserver over port 465 and use it as a relay.
Greetz
Please sign in to leave a comment.