Limits as sentences, with presets for who uses the server #42

Merged
jcoffey-dev merged 1 commits from feature/limit-presets into main 2026-09-28 22:00:22 +00:00
1 Commits
Author SHA1 Message Date
jcoffey-dev 8fdae4a32b Limits as sentences, with presets for who uses the server
ci / build (pull_request) Successful in 2m4s
ci / publish (pull_request) Skipped
A stock server has no rate limits: one stolen password can send without
end. A guide ("Guided or manual?" each time) asks who uses the server
(me and my family, a company or school, open to the public) and offers
five rules as sentences with numbers you can change:

- each outside server may connect N times a minute on port 25;
- each signed-in person may send N messages an hour;
- each signed-in person may address N recipients an hour in total
  (keyed by account alone; the condition reads rcpt, so the server
  checks it at RCPT TO);
- at most N deliveries a minute to any one receiving server;
- each sender may have at most N messages waiting.

Rules it writes are marked "Preset:" so running it again edits them; it
never touches rules made by hand. Above the incoming, outgoing and quota
lists, every rule now reads as a sentence, and an empty list says that
nothing is limited.
2026-09-28 14:55:53 -07:00