Configure additional port for Qmail/ProFTPd
by sudo on Apr.07, 2009, under Linux
Add an entry in /etc/services for the specific port number you would like to listen on. Preferably copy the lines for 25/SMTP.
smtp 25/tcp mail
smtp 25/udp mail
smtp-alt 225/tcp mail
smtp-alt 225/udp mail
In the /etc/xinetd.d/ directory, copy smtp_psa to smtp2_psa. Open smtp2_psa and change the first line.
service smtp
to
service smtp-alt
Restart xinetd after complete and verify service is listening on the correct port.
– This can be applied to other services such as ProFTPd.