Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!

Author Topic: Setting Alternate SMTP port in Plesk on Linux  (Read 1690 times)

0 Members and 1 Guest are viewing this topic.

lathu_official

  • Guest
Setting Alternate SMTP port in Plesk on Linux
« on: January 01, 2014, 02:36:25 pm »
First a new entry will need to be created in xinetd for the alternate port:

cd /etc/xinetd.d

cp smtp_psa smtp_psa_p26


Next the entry that was just created needs to be modified:


vi smtp_psa_p26

Make the first line say “service smtp_p26” and save the file.
Next edit the services for the system to include the newly created one:


vi /etc/services

smtp_p26 26/tcp mail
smtp_p26 26/udp mail


After editing this, just restart xinetd and 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


NOTE: Don’t forget to make sure port 26 is open in the firewall. 

-----
Thanks.