On my CentOS 7 install I'm having trouble connecting one of my email accounts made on the server as an alias on Gmail.I have run the following commands: firewall-cmd --permanent --zone=public --add-service=smtp firewall-cmd --permanent --zone=public --add-port=25/tcpAnd when I do afirewall-cmd --permanent --zone=public --query-port=25/tcpIt returns 'yes'However I still get a 'server cannot be reached' error on Gmail and on various email testing sites.I then did anmap -sT -O localhostAnd saw my ports weren't listed there. Any ideas why?
Firewalld says a port is open, but nmap says its closed
centos;smtp;firewalld