nc -vz smtp.example.com 25

Category: Mail Servers & Postfix

nc -vz smtp.example.com 25

Check if the SMTP port is reachable

Tests TCP connectivity to port 25: -v prints the result and -z scans without sending data. A refusal or timeout means the port is filtered or the service is down. Repeat for 587 and 465 to map which listeners are exposed.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.