Archive for the ‘smtp’ category

Plesk – Allow SMTP to listen on another port then 25 – linux

March 30th, 2011

Plesk does run smtp as a xinetd service so the file resides under
/etc/xinetd.d directory. The default file for port 25 is smtp_psa. In
order to enable alternate SMTP port (for example 2525) on Linux/Plesk
servers, follow the below steps:

1. Make a copy of smtp_psa as smtp_psa_alt

2. Edit the new file and replace

    service smtp
    with
    service smtpnew

3. Edit file /etc/services scroll down to the port 2525 and make it
look like

    smtpnew 2525/tcp #alternate SMTP port
    smtpnew 2525/udp #alternate SMTP port

4. Save the file and restart xinetd service:

 /etc/init.d/xinetd restart

5. To make sure it’s working, telnet to your server IP on the new
port:

telnet yourserverip 2525
if you found this helpful feel free to donate to:
ZEC: t1NQp1UuqQbmnXzazbLTSreS2AbaZpRBuTM
LTC: LZyNF1qkBUA7XFz83m5xwzGgmmj1owQn9d
BTC: 1PY95KFPTEJTR7f2NnSgaB6xB9pwDJkcJz