How To Configure PostFix To Listen On Multiple Ports

Published Date Author: , Posted November 27th, 2010 at 1:10:13pm

Modify /etc/postfix/master.cf, and add one line per port. The example below shows the original smtp line along with a sample new line.

25 inet n - - - - smtpd
2525 inet n - - - - smtpd

Make sure to open the port in your firewall…

Another interesting solution I found was to use outbound TCP 587 which may be allowed by the ISP in question.
iptables -t nat -A PREROUTING -p tcp --dport 587 -j REDIRECT --to-ports 25

No comments as yet.

Leave Your Comment  Leave a comment

All fields marked with "*" are required.