- Shipped
- 11 Agosti 2026, 03:47 UTC
- Author
- Kamo
- Commit
- 7a05327
Dovecot now enforces a per-mailbox limit, and nothing was setting the column it reads. This writes it nightly, after the storage snapshot so the capacity being divided is today's figure rather than yesterday's. Each mailbox gets an equal share of the whole pool. The property that matters is that the shares sum to the capacity, so mail can never on its own take an organization past its ceiling. It is also the version an owner can predict — "your share of the organization's storage" — and it does not move when an unrelated domain grows, which giving each mailbox the remaining headroom would. Unlimited plans and organizations with no live subscription write 0, which the user_query turns into a NULL quota_rule: no limit. That direction is deliberate, because the alternative is refusing mail for an organization whose billing rows are missing or mid-migration.