Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Mail servers frequently use specific ports per type of connection, however, technically any port can be used. Your system administrator should this information:

PortProtocolPurposeCertificate
25SMTPPlain Text no
465SMTPS (Implicit SSL)SMTP over SSLyes
587 / 2525SMTP (Explicit SSL)SMTP over TLSyes


Below examples check availability of port 587, however, any port can be used:

Code Block
languagebash
titleTest Connection with Curl (Unix, Windows)
# should telnet be available
telnet mail.example.com 587

# should nc or ncat be available
ncat -v -u mail.example.com 587

# 
curl --ssl --url mail.example.com
Code Block
languagepowershell
titleTest Connection with PowerShell (Windows, Unix)
Test-NetConnection -ComputerName mail.example.com -Port 587

...