Skip to content

protect small servers by rejecting new addresses under resource constraints / capping smtp/imap connection limits#1019

Open
hpk42 wants to merge 2 commits into
mainfrom
autolimit_address_creation
Open

protect small servers by rejecting new addresses under resource constraints / capping smtp/imap connection limits#1019
hpk42 wants to merge 2 commits into
mainfrom
autolimit_address_creation

Conversation

@hpk42

@hpk42 hpk42 commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

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.

hpk42 added 2 commits July 17, 2026 23:49
…urable via chatmail.ini parameters

this by default limits new address creation if load average/disk usage/RAM-usage is too high
…it in chatmail.ini

current max connection limits for dovecot (50K) and postfix (10K) are geared for nine.testrun.org.
A small VPS would typically have a lot less resources as many operators run on a <10EUR per month budget.

@missytake missytake left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for pushing this! Let's ask operators which limits they deem sufficient.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants