Port 143 is the IMAP port for accessing email. Unlike POP3, IMAP keeps messages on the server and synchronizes state (read/unread, folders, flags) across all devices. Port 993 (IMAPS) is the TLS version. Port 143 supports STARTTLS to upgrade the connection. IMAP is the standard protocol for modern email clients.
Port Number
143
Protocol
TCP
Service
Internet Message Access Protocol
Range
IANA Well-Known (0–1023)
Test STARTTLS on IMAP port 143
openssl s_client -connect host:143 -starttls imapTest IMAPS connectivity and mailbox access
curl -v imaps://host:993/INBOX -u user:passEnumerate IMAP server capabilities (STARTTLS, AUTH mechanisms)
nmap -p 143 --script imap-capabilities targetopenssl s_client -connect mail.example.com:993
A001 LOGIN [email protected] password
A002 SELECT INBOX
A003 FETCH 1:* FLAGSIMAP was designed by Mark Crispin at Stanford in 1986 (RFC 1064). IMAP4rev1 (RFC 3501, 2003) became the standard. IMAP4rev2 (RFC 9051, 2021) modernized the protocol. IMAP replaced POP3 as the dominant mail access protocol as multi-device usage grew in the 2000s.
IMAP vs Exchange ActiveSync vs JMAP?
IMAP is the universal standard (works with every mail client). ActiveSync is Microsoft-proprietary (push email, calendar, contacts). JMAP (RFC 8620) is the modern IETF replacement for IMAP – JSON-based, stateless, efficient – but adoption is still limited to Fastmail and a few providers.