• 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 Change default SMTP Port in Plesk

shanmuga

Basic Pleskian
Server operating system version
Ubuntu 20.04 aarch64
Plesk version and microupdate number
Plesk Obsidian 18.0.47.5
Hi,

I have noticed Plesk use default 25 port for sending mail. Unfortunately, my server provider blocks port 25 by default.

When i asked them they says to use 465, 587, or 2525 instead of 25.

How to change the default port?

 
This is not possible as it's not the way "sending email" works

What you are looking for is a relayhost configuration - with or without authentication, that depends on the server/smarthost you are using.
i.e. something like this in /etc/postfix/main.cf
Code:
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = static:USERNAME:PASSWORD
smtp_sasl_security_options = noanonymous
smtp_tls_security_level = encrypt

relayhost = [smtp.relayhost.tld]:587
 
What you are looking for is a relayhost configuration - with or without authentication, that depends on the server/smarthost you are using.
i.e. something like this in /etc/postfix/main.cf
I have to do this with SSH or SFTP?. No way to change in Plesk UI?

Is Port 25 is mandatory to send mails?
 
a) this file does not look like a "default" main.cf configuration file on a Plesk server....or it's already very heavily customized.
b) if you don't have a "relayhost =" line in that file, you can simply add it.

Best you run "postconf -f | grep relayhost" first, before you make any changes, to really see what is currently set on your server. ("postconf -f " does show ALL configuration settings, including all the default stuff that is not set in the main.cf)
 
I have imunify360 installed on VPS, do i need to do anything to enable port 465 or 587, see the attached its not connecting in WHMCS

1698061959605.png
 
Back
Top