I've got postfix and dovecot running on ports 25, 110, 587, 465, 993, 995 for the usual mail protocols. I can telnet into all ports except port 25 which you can see below. Any ideas on what's going on?
Remotely Telnet to port 25 (fails)
# telnet 192.168.1.100 25
Trying 192.168.1.100 ...
telnet: connect to address 192.168.1.100: Operation timed out
telnet: Unable to connect to remote host
Locally Telnet to port 25 (success)
# telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 example.com.au ESMTP Postfix
Firewalld rules:
# firewall-cmd --list-all
public (default, active)
interfaces: eth0
sources:
services: dhcpv6-client dns http https imaps pop3s smtp ssh
ports: 110/tcp 465/tcp 5432/tcp 587/tcp 143/tcp 2288/tcp 25/tcp
masquerade: no
forward-ports:
icmp-blocks:
rich rules:
My postfix main.cf has
inet_interfaces = $myhostname, localhost
and ss -plnt |grep :25 returns
LISTEN 0 100 *:25 *:* users:(("master",30844,13))
LISTEN 0 100 :::25 :::* users:(("master",30844,14))
LISTEN 0 100 *:25 *:* users:(("master",30844,13)) LISTEN 0 100 :::25 :::* users:(("master",30844,14))– Shane Rowatt Mar 29 '16 at 10:32