protect small servers by rejecting new addresses under resource constraints / capping smtp/imap connection limits - #1019
Merged
Merged
Conversation
missytake
approved these changes
Jul 18, 2026
missytake
left a comment
Contributor
There was a problem hiding this comment.
Thanks for pushing this! Let's ask operators which limits they deem sufficient.
link2xt
reviewed
Jul 20, 2026
link2xt
reviewed
Jul 20, 2026
link2xt
reviewed
Jul 21, 2026
j4n
reviewed
Jul 22, 2026
j4n
left a comment
Contributor
There was a problem hiding this comment.
Looks good to me, can't speak to the validity of the default limits; two robustness changes suggested.
missytake
reviewed
Jul 23, 2026
hpk42
force-pushed
the
autolimit_address_creation
branch
from
July 27, 2026 14:59
aafe6db to
6d51bc1
Compare
hpk42
force-pushed
the
autolimit_address_creation
branch
from
July 27, 2026 15:40
6d51bc1 to
3be89d2
Compare
hpk42
temporarily deployed
to
staging.chatmail.at/doc/relay/
July 27, 2026 15:40 — with
GitHub Actions
Inactive
hpk42
force-pushed
the
autolimit_address_creation
branch
from
July 27, 2026 15:55
3be89d2 to
78704bc
Compare
hpk42
temporarily deployed
to
staging.chatmail.at/doc/relay/
July 27, 2026 15:55 — with
GitHub Actions
Inactive
…ation and limit imap/smtp connections. The default values are geared towards minimal-requirements server. If you have a big server, you will need to set chatmail.ini parameters.
hpk42
force-pushed
the
autolimit_address_creation
branch
from
July 27, 2026 23:55
78704bc to
0b22d9d
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Mainly, this PR rejects new address creation when system is under load, has not much RAM or disk storage left.
It also makes postfix/dovecot max connection limit available in chatmail.ini and lowers the defaults which were geared for nine.testrun.org operations.