Postfix Configuration File Plesk Login
SMTP uses port 25 as its default port. When you configure mail server on your server, port 25 is use to send mails.
Plesk Php Error Log
Sometimes ISP blocked the 25 port for junk mail protection as a result you are unable to send mails from your server.Most the ISP suggests to change the Default SMTP port to 26 or 587. You can change the default SMTP port by modifying configuration file of your mail server. Also, DO NOT forget to open the new SMTP port in server firewall.
If the port is not open, your mails will not delivered to anyone. Before making any modifications do not forget to take backup of the configuration file.Below are the steps to change default SMTP port: POSTFIXOpen the configuration file of postfix and make the following changes.
Postfix Configuration File
Vi /etc/postfix/master.cfand make the following changes: #Comment default line as below.#smtp inet n – n – – smtpd#Add new line with port as you like as below.26 inet n – n – – smtpdAfter making adjustment in configuration file. Please do not forget to restart the mail server. /etc/init.d/postfix restart EXIMOpen the /etc/exim.conf make the following changes in your file. Vi /etc/exim.confAdd the following three line in the configuration file, if do not exist.
Postfix Configuration File Plesk Login Page
Replace the smtp port with the one you want to change. Daemonsmtpports = 26aclsmtprcpt = checkrecipientaclsmtpdata = checkmessageNow save the file and restart the exim. /etc/init.d/exim restartNow open the port in firewall and start sending mails.