Files
inbuxa-server/crates/smtp
jcoffey-dev fc56c44cc2 Queue: every recipient domain quota is enforced
With more than one queue quota keyed on the recipient domain, only the
first was checked. The quotas shared one list of domains already
counted, so once the first quota had seen a domain, every later quota
skipped it, whether or not the first quota applied to it. A sender
could fill the queue for a domain past the limit an operator set for
it in any quota but the first.

Each quota now keeps its own list, so every quota checks every
recipient domain once.

Test: with a second domain quota allowing one queued message to
quota.net, the second message to [email protected] was queued with 250 on
main. Now it gets 452 4.3.1, and the first quota still applies.
2026-11-09 07:35:48 -07:00
..
2026-10-18 13:53:24 -07:00