On 28 November 2010 21:58, mouss <mo...@ml.netoyen.net> wrote: > Le 28/11/2010 21:38, Grant a écrit : >>>> >>>> I run postfix and my mail clients use smtps so I was thinking I may as >>>> well close port 25. How can I do that? >>> >>> See the description of the "Service type": inet >>> >>> http://www.postfix.org/master.5.html >> >> Thanks Viktor. I commented the following in master.cf: >> >> smtp inet n - n - - smtpd >> >> and restarted postfix and port 25 is closed. >> > > > This is ok for an "outbound" only server (only your users can use it send > mail). > > if you also need "inbound" mail (external users to send to your server), > then you must keep port 25 open.
Yes it is. You must keep open port 25 for inbound mail so you can close port 25 only for outbound using a firewall like iptables.