Concepts / Network services

Network services

IMAP

Also called POP3, mailbox, dovecot, reading mail

How a reader gets mail from their own server: it stays on the server, in folders, seen alike from every device.

The mail stays on the server
The mail stays on the server

Every device looks at the same folders on the server, so a message read on the phone is read on the laptop. IMAP only reads mail; sending it is SMTP.

IMAP is how a mail program reads mail that stays on the server, in folders, so every device sees the same mailbox. The client logs in (TCP 143, or 993 inside TLS), selects a folder and fetches messages; each command carries a tag that its reply repeats. POP3 (110) instead downloads the mail and usually deletes it from the server. IMAP never sends mail: that is SMTP.

See it on real machines

Read next

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