SMTP is an abbreviation for Simple Mail Transfer Protocol, a data transmission format used to send email. In this article dollar1hosts will give you how to open alternate SMTP port 26 on Plesk server. Follow the steps and open alternate SMTP port 26.
How to open alternate SMTP port 26 on Plesk server
Step 1 : create a new entry for the alternate port in xinetd by using following command:
# CD /ETC/XINETD.D
# CP SMTP_PSA SMTP_PSA_P26
Step 2 : The entry that was just created needs to be modified smtp_psa_p26 by using following command:
# VI SMTP_PSA_P26
Step 3 : Edit the first line of the file as
Step 4 : Save the file.
Step 5 : Next, edit the service to include the newly created one by using following command:
# VI /ETC/SERVICES
Step 6 : Add the following entry:
SMTP_P26 26/TCP MAIL
SMTP_P26 26/UDP MAIL
Step 7 : After editing this, just restart xinetd by using following command:
# SERVICE XINETD RESTART
Step 8 : Now, the server should be listening on port 26. A quick way to verify the changes took effect can be done using this command:
# NETSTAT -LPN|GREP 26
Don’t forget to make sure port 26 is open in the firewall.