Skip to content
Module 1 · Lesson 1 of 25

What Dovecot does (and doesn't)

Part of Dovecot: IMAP/POP3 at Production Scale, in the Dovecot Architecture module.

Author

Dovecot is an IMAP, POP3, ManageSieve, and LMTP server written in C by Timo Sirainen. It is not an MTA: it doesn't relay mail between servers. It receives mail from an MTA (usually Postfix), stores it, and serves it to clients.

Where Dovecot fits in the stack:

Internet → MTA (Postfix) → LMTP → Dovecot → Maildir/mdbox on disk
                                  ↑
                  IMAP/POP3 ← Dovecot ← clients (Outlook, iOS, Thunderbird)

What Dovecot provides:

Service Default port
IMAP 143 (STARTTLS)
IMAPS 993 (implicit TLS)
POP3 110
POP3S 995
ManageSieve 4190
LMTP 24 (or unix socket)
Submission 587 (newer versions)

Why Dovecot dominates:

  • Fastest IMAP server with proper indexing (mdbox > 100k msgs/folder no problem).
  • Modular auth: PAM, passwd-file, MySQL, PostgreSQL, LDAP, OAuth2.
  • Strong replication, proxying, and director clustering.
  • Sieve scripting for server-side filtering.
  • Sane defaults: most production sites tweak <20 settings.

Sign in to keep track of what you have read.

Pulse · email sending

Sending infrastructure that is yours alone.

Every domain gets its own MX host, IP, DKIM selector and certificate. Take it managed, and we run it for you, or buy a licence and run it on your own servers.

# on a fresh Ubuntu server
$ cd pulse && sudo ./install.sh
→ docker compose up · kumomta · stalwart · caddy
→ dashboard ready on https://pulse.yourdomain.com
$

Also from us:Beat: monitoring that tells you the fixConsulting: $65/hr, no retainer