# WHATPORT(143)

## NAME

port 143 — IMAP — IMAP — server-side mailboxes with folders, flags, and search, kept in sync across devices.

Protocol: TCP  
IANA registry

## DESCRIPTION

Clients issue tagged commands (CAPABILITY, LOGIN, SELECT, FETCH, SEARCH) and the server keeps the authoritative state, so messages, flags, and folders look the same on every device. Port 143 is the cleartext port; the STARTTLS upgrade happens here, while implicit TLS runs on 993, which is what most clients now use. Dovecot and Cyrus are the common self-hosted servers, and 143 is often left open for LAN clients and migration tools. IMAP is retrieval only — sending still goes out over submission on 587.

## EXPOSURE

**Expose with care.** Expose only with STARTTLS required before LOGIN; plain 143 sends mailbox credentials in the clear, so prefer 993.

## CHECK

```sh
printf 'a1 CAPABILITY\r\na2 LOGOUT\r\n' | nc -v MAIL_HOST 143
```

## SEE ALSO

- spec — [RFC 9051 — Internet Message Access Protocol (IMAP) Version 4rev2](https://www.rfc-editor.org/rfc/rfc9051.html) (rfc-editor.org)
- source — [Dovecot (IMAP/POP3 server) source repository](https://github.com/dovecot/core) (github.com)
- iana — [IANA Service Name and Transport Protocol Port Number Registry](https://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xhtml) (iana.org)

---

HTML: <https://whatport.net/143/> · JSON: <https://whatport.net/143.json> · full dataset: <https://whatport.net/ports.json>
