![]() |
postfix listening port
Hi All,
I just completed the wonderful postfix spamassassin tutorial located at http://www200.pair.com/mecham/spam/s...r20060630.html and everything seems to have gone ok. I realized afterword that the isp this server is hosted on blocks traffic on port 25 so I need to adjust my postfix settings to get it listening and relaying on port 587. I added the following entry to my iptables: Code:
iptables -A FIREWALL -p tcp -m tcp --dport 587 --syn -j ACCEPTCode:
127.0.0.1:587 inet n - n - - smtpdCode:
submission 587/tcp # Submission [RFC2476] |
might be nicer for yourself if you just leave postfix alone and do a port translation on the network:
Code:
iptables -t nat -A PREROUTING -p tcp --dport 587 -j REDIRECT --to-ports 25 |
Thanks for the excellent suggestion. I'm getting on with 587 locally now.
|
and of cource locally port 25 still works fine within your lan and the machine itself.
|
It sure does. Thanks for all the help
|
| All times are GMT -5. The time now is 01:22 AM. |