Skip to content
Module 2 · Lesson 4 of 25

Installing Dovecot on Debian/Ubuntu

Part of Dovecot: IMAP/POP3 at Production Scale, in the Installation & Mail Storage Formats module.

Author

Install core + protocol packages:

apt update
apt install dovecot-core dovecot-imapd dovecot-pop3d dovecot-lmtpd \
            dovecot-managesieved dovecot-sieve dovecot-mysql

Package roles:

Package Adds
dovecot-core Master + auth + base config
dovecot-imapd IMAP protocol
dovecot-pop3d POP3 protocol
dovecot-lmtpd LMTP for MTA handoff
dovecot-managesieved Sieve script management (port 4190)
dovecot-sieve Sieve filtering engine
dovecot-mysql / -pgsql / -ldap Auth backend
dovecot-solr Full-text search via Solr

First sanity check:

systemctl status dovecot
doveconf -n | head -30

You should see your protocols listed in protocols = imap pop3 lmtp sieve.

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