Skip to content
Module 12 · Lesson 24 of 25

The five-minute diagnostic ritual

Part of Dovecot: IMAP/POP3 at Production Scale, in the Troubleshooting, Forensics & Common Errors module.

Author

Don't restart Dovecot first. Read first.

1. What's the user-visible symptom? "Can't log in", "messages disappeared", "slow"?

2. Check service status:

systemctl status dovecot
doveconf -n | head -50

3. Tail the right log with the user's pid:

tail -F /var/log/dovecot.log /var/log/dovecot-info.log | grep alice@example.com

4. Replay the failing operation while watching the log. Most issues print a clear error within 5 seconds.

5. Inspect mailbox state:

doveadm mailbox status -u alice@example.com all INBOX
doveadm fetch -u alice@example.com 'uid hdr.subject' mailbox INBOX last 5

doveadm is your Swiss Army knife. Read its man page once and refer back forever.

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