Separate Dovecot Index State from Maildir Storage
Keep Dovecot's mutable index, cache, and log files off the same filesystem as user Maildirs to protect quotas, backups, and restores.
ReadMeFeed / Community knowledge
Real questions. Useful conversations. Find the people who know your stack.
Keep Dovecot's mutable index, cache, and log files off the same filesystem as user Maildirs to protect quotas, backups, and restores.
Compare Maildir and sdbox storage formats in Dovecot to solve inode exhaustion and performance degradation in high-volume mailboxes.
When running a large mail server with thousands of users, the choice of storage format can affect performance, reliability, and maintenance. This post compares Dovecot’s Maildir, mdbox, and sdbox, shows how to convert between them, and explains the trade‑offs you should weigh before making decision.
A decision guide for Dovecot's mail_location: when maildir, mdbox, or dbox fits, with a comparison table, an mdbox configuration, and validation steps using doveadm.
Migrate from Maildir to Dovecot's mdbox storage to solve inode exhaustion in high-volume mailbox setups. Follow these steps for configuration, verification, and rollback.
Goal I want to use Dovecot's built-in statistics support (the stats plugin queried via doveadm) to measure an IMAP performance bottleneck before changing anything, and then use those measurements to decide whether our mailbox format should stay Maildir or move to mdbox. Assume Dovecot 2.3.x on a single host with local storage. Constraints and uncertainty The
In high‑concurrency environments, Dovecot’s deliver daemon retries failed deliveries with exponential back‑off, while the indexer may concurrently retry mailbox operations. Because the Maildir specification does not provide atomic file‑creation primitives, a retry can race with an indexer or another delivery, potentially producing duplicate message files. Do