Ports / IMAP

TCP port

Port 143: IMAP

TCP port 143 is IMAP: how a mail program reads mail that stays on its server, in folders, seen alike from every device. Port 993 is IMAP inside TLS from the first byte.

  • Reading mail is IMAP's job; sending it is SMTP's, on ports 587 and 25.

Check port 143 on Linux

Put the server's name or address in place of HOST.

ss -tlnp 'sport = :143'
On the server: is a program listening on TCP port 143, on which address, and which program? How to read ss.
nc -zv HOST 143
From a client: does a TCP connection to port 143 open, get refused, or time out? How to read nc.
tcpdump -ni any tcp port 143
On either end: the packets to and from TCP port 143, as they cross the card. How to read tcpdump.
nmap -p 143 HOST
From outside: is TCP port 143 open, closed or filtered? How to read nmap.

What runs on it

IMAP
How a reader gets mail from their own server: it stays on the server, in folders, seen alike from every device.
SMTP
How mail moves: from a client to its own mail server, then from server to server, found by the domain's MX record.

Use port 143 on real machines

Open Email: where a message goes after you press Send

Sources

Learn it on real machines.

Every lab is a small network of real Linux machines in your browser. Sign in with Google or email to start.

Start this lab