KamoCRM

Pin how the pool divides into per-mailbox limits

Testkamo-shared-library
Shipped
11 ஆகஸ்ட், 2026 அன்று 3:47 AM UTC
Author
Kamo
Commit
554e796

Dovecot needs a byte figure per mailbox, but storage is one organization-wide pool across eighteen domains. The division has to hold one property above all — the shares must sum to no more than the capacity, so mail alone can never take an organization past its ceiling however full every mailbox gets. Also pins the two failing-open cases: an unlimited plan and an organization with no capacity both write 0, which the user_query turns into a NULL quota_rule and Dovecot reads as no limit. Refusing mail for an organization whose billing rows are missing or mid-migration is not a defensible way to be wrong.

All changes

Like what you see shipping?

All of it arrives in your workspace on its own. Start on the free plan and read this page again in a month.

Start Free ForeverView Pricing