Troubleshooting Linux e-mail issues.
netstat :
netstat -a | more
shows all listening ports of tcp and udp connections
netstat -at
shows all listening ports connected
netstat -plnt | grep ‘:25’
ss :
ss -lntu | grep ‘:25’
nmap :
nmap -sT -O localhost | grep 25
lsof:
lsof -i:25
telnet myserver.com 25