TCP · Port 465IANA Registered

Port 465 — SMTPS (SMTP over Implicit TLS)

Secure email client submission over a dedicated TLS-encrypted socket.

⚡ Primary Use Cases & Environments

  • ✓Encrypted email submission (Outlook, Apple Mail, Thunderbird)

🛡️ Security & Vulnerability Analysis

Replaced explicit STARTTLS with implicit TLS connection wrapper, establishing encryption before sending any SMTP banner or commands.

🔧 Network Diagnostics & Inspection

1. Check Active Listening Sockets (Local Host)
Terminal Command
$ sudo ss -tuln | grep :465
Inspects whether any local process daemon is bound to port 465.
2. Remote Port & Service Scan (Nmap)
Terminal Command
$ nmap -p 465 -sV --script ssl-cert <target-ip>
Probes target IP to determine whether port 465 is open, closed, or filtered.
3. Wireshark Capture / Display Filter
tcp.port == 465Wireshark Filter

🔥 Firewall Configuration Rules (UFW & iptables)

UFW (Uncomplicated Firewall)
Terminal Command
$ sudo ufw allow 465/tcp
Applies a persistent Linux UFW firewall rule for port 465.
iptables Command
Terminal Command
$ sudo iptables -A INPUT -p tcp --dport 465 -j ACCEPT
Appends a direct netfilter kernel rule to the INPUT chain for port 465.

❓ Frequently Asked Questions (FAQ)

Should I configure my mail client with port 465 or port 587?

Both are standard. Port 465 uses implicit TLS (encryption from byte 0). Port 587 uses explicit STARTTLS. Both provide strong security when configured with modern TLS.

Related Networking Tools & Guides