Chez ouam

/home/jmfrouin

View on GitHub
21 May 2013

Ouvrir le port 587 smtp pour contourner le blockage ISP du port 25

by Jean-Michel Frouin

Dans /etc/postfix/master.cf

submission inet n - - - - smtpd
-o smtpd_tls_security_level=encrypt
-o smtpd_sasl_auth_enable=yes
-o smtpd_client_restrictions=permit_sasl_authenticated,reject

Puis redémarrer postfix :
sudo service postfix restart

Ne pas oublier d'ajouter une règle de firewalling dans iptables :
root@secure:/etc/postfix # cat /etc/iptables.rules | grep 587
-A INPUT -p tcp -m tcp --dport 587 -j ACCEPT
-A INPUT -p udp -m udp --dport 587 -j ACCEPT

tags: