How to enable port 587 (submission) in postfix
Monday, April 26, 2010 posted by Till
Some internet access providers have port 25 disabled in their routers to prevent spam. If you run your own mailserver in a datacenter, you might have to enable the submission port (587) in postfix to be able to send emails from your local email client to your own mailserver.
To enable port 587, edit the file /etc/postfix/master.cf
vi /etc/postfix/master.cf
and remove the # in front of the line:
#submission inet n – n – – smtpd
so that it looks like this:
submission inet n – n – – smtpd
and restart postfix:
/etc/init.d/postfix restart
Make sure you enable this port in your firewall settings in ISPCONFIG3 aswell. Otherwise it wont work.
It should work – I think , just punch in port 587 and voilla !!
you must also create an iptables prerouting for redirect inbound port 25 to port 587.
That is not true And Would not add a benefit