This setup will help you to configure Postfix to listen to an additional SMTP port. This enables your SMTP client to access your Postfix SMTP server using other port number when your ISP is blocking the access to any server listening on SMTP port 25.
1. Edit this file /etc/postfix/master.cf and add an entry like below causes Postfix to listen to port 2525: -
2525 inet n - n - - smtpd
2. Then, restart your Postfix service as below: -
service postfix restart
Note: The above was tested on Postfix 2.3.3-2 in CentOS 5
If you found these helpful, please contribute to help:
simon
7 months ago
Whew..just 2 steps and its done, but does it still accepting connection from port 25 as well?
wingloon
7 months ago
simon, it does accept the default SMTP port 25 too.