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: How to add additional SMTP port qmail  (Read 2506 times)

0 Members and 1 Guest are viewing this topic.

Leo.Prince

  • Guest
How to add additional SMTP port qmail
« on: November 09, 2013, 12:32:06 pm »
Hi,

You may needed to add additional smtp ports incase if your common ports are blocked in the ISP firewall. Normally the port 25 is your smtp port. We can add another port say 25252. You may follow the steps

1, Add the following line to your /etc/services file (At the bottom is fine)

Code: [Select]
smtp_25252            25252/tcp          mail
2, Take an another copy of /etc/xinetd.d/smtp_psa

Code: [Select]
cp -p smtp_psa smtp_psa_25252
Edit the service name

From smtp to smtp_25252

Save and restart the xinetd service.

Code: [Select]
service xinetd restart
That is it. You can now see that additional SMTP port 25252 is listening in the server.

Code: [Select]
telnet localhost 25252
Trying ::1...
Connected to localhost.
Escape character is '^]'.
220 vps-test.com ESMTP

Thanks :)