ZWIEGNET Linux Consultants

Dovecot Consulting & Administration

Secure, Scalable IMAP/POP3 Email Server on Linux

Professional Dovecot consulting and administration — expert setup, high availability clustering, performance tuning, security hardening, migration, and integration with Postfix, LDAP, Kerberos, and SASL for reliable, self-hosted email services.

Get Dovecot Expertise

Our Dovecot Consulting Services

Dovecot is the gold standard open-source IMAP/POP3 server — powering millions of mailboxes worldwide. Zwiegnet provides deep expertise in deploying, optimizing, securing, and maintaining Dovecot on Linux for businesses, ISPs, schools, and enterprises seeking secure, high-performance email without proprietary lock-in.

Our Dovecot services include:

  • Dovecot Installation & Configuration – Full setup on AlmaLinux, Rocky, Ubuntu LTS; IMAP, POP3, LMTP, submission, and Sieve/managesieve support.
  • High Availability & Clustering – Active/active clustering, shared storage (NFS/ZFS), dsync replication, and automatic failover for zero-downtime email.
  • Security Hardening – TLS 1.3 enforcement, certificate management, client certificate auth, rate limiting, and protection against brute-force attacks.
  • Authentication & Integration – LDAP (OpenLDAP/389DS/AD), Kerberos (GSSAPI), SASL, PAM, and integration with Postfix, RADIUS, and SSO.
  • Spam & Virus Protection – Sieve filtering, integration with SpamAssassin, ClamAV, and advanced user-defined rules.
  • Migration & Data Import – Migrate mailboxes from Exchange, Zimbra, Google Workspace, or legacy IMAP servers; dsync for zero-downtime sync.
  • Performance Tuning & Scaling – Optimize for thousands of concurrent connections, mailbox indexing, quota management, and monitoring (Prometheus/Grafana).
  • Backup & Recovery – dsync backups, ZFS snapshots, off-site replication, and tested recovery procedures.

Ideal for: small-to-mid-sized businesses, schools, non-profits, law firms, healthcare practices, and enterprises seeking secure, self-hosted IMAP/POP3 email with full control and no subscription fees.

Located between Madison and Milwaukee, Wisconsin since 2009 — direct access to Dovecot specialists with proven experience in high-availability, self-hosted email environments on Linux.

Inquire About Dovecot Consulting

Mailbox format, delivery, and who owns the files

Dovecot serves IMAP and POP3. It does not accept mail from the internet by itself. Postfix, or another MTA, hands the message over with LMTP, which is the setup worth running, because LMTP reports a per-recipient failure back to the sender instead of generating a bounce inside the LDA. mail_location = maildir:~/Maildir and mail_location = mdbox:... are different on-disk layouts. Pick one and write it down.

Permission errors are the common outage. The auth user, the mailbox user, and the LDA have to agree. A virtual-user setup usually means one system uid, vmail, owning the whole tree, with the passdb mapping the login to that uid and a home path. If Postfix delivers as a different uid, Dovecot can see the message in the filesystem and still refuse it.

Sieve runs at delivery, not when the user clicks a folder. A filter that files mail into a folder the client then cannot see is an ACL or a namespace mismatch. Index files under the mailbox are disposable. The mail is not. Rebuilding indexes with doveadm index is safe. Deleting the Maildir cur directory is not.

The MTA in front is Postfix. A suite that already includes a store is Zimbra.

Questions

Why can the user log in and still see an empty inbox?

Authentication worked and the mailbox path did not. mail_location points at a different directory than the one the LDA writes, or the directory is owned by another uid. doveadm mailbox status as that user shows whether Dovecot can see the messages.

Is POP3 a reasonable way to keep a copy on the server?

Only if the client is set to leave mail. POP3's default behavior is to download and delete. IMAP is the protocol when more than one client must see the same mailbox.