• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Question How to change port 25 to 587?

ice

New Pleskian
Server operating system version
Debian11
Plesk version and microupdate number
18.0.44
Hi.
I have been using Plesk for a long time and I have port 25 open at home and everything works. I recommended my friend Plesk, he started using it, but he has port 25 blocked. So, I go to:
settings - mail server settings - Enable SMTP service on port 587 for all IP addresses - checked.

When I send an email, the logs contain:
206F35C044C: to = <[email protected], relay = none, delay = 2.2, delays = 0.18 / 0.01 / 2/0, dsn = 4.4.1, status = deferred (connect to alt2.gmail-smtp-in.l .google.com [74.125.200.26]: 25: No route to host)

How to permanently change port 25 to another?
Best regards
 
Port 587 is used to send an email via the Plesk mail server. It forces you to authenticate before you send an email. Otherwise, everyone could abuse your mail server without authenticating (also called an "open relay").

Port 25 is used by the outside world to deliver emails between mail servers. As port 25 is blocked, Gmail can't deliver the email.

Have a look at this article:
 
Back
Top