TCP · Port 143IANA Registered

Port 143 — IMAP (Internet Message Access Protocol)

Retrieves and synchronizes email folders, flags, and messages between a remote mail server and client email applications.

⚡ Primary Use Cases & Environments

  • ✓Standard email client synchronization

🛡️ Security & Vulnerability Analysis

Transmits credentials and message contents in plaintext unless wrapped in STARTTLS. Prefer IMAPS (port 993) for encrypted transport.

🔧 Network Diagnostics & Inspection

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

🔥 Firewall Configuration Rules (UFW & iptables)

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

❓ Frequently Asked Questions (FAQ)

Can port 143 be encrypted?

Yes, port 143 can negotiate encryption using the STARTTLS command, though port 993 (IMAPS with implicit TLS) is preferred.

Related Networking Tools & Guides