linux...@gmx.net: > dear list, > > I am using postfix as mail relay which is deployed on gateway for internal > users. > This relay send mail out only, doesn't accept messages. > My question is, do I need to make the relay server port 25 listened on > 0.0.0.0? or just 127.0.0.1 should work?
If you don't want to receive mail from the network, then with inet_interfaces = loopback-only Postfix will still receive mail on 127.0.0.1 (IPv4), ::1 (IPv6), or both, depending on the inet_protocols setting. https://www.postfix.org/postconf.5.html#inet_interfaces https://www.postfix.org/postconf.5.html#inet_protocols Wietse