Skip to content

feat(facts): report Dovecot process limit - #341

Merged
DavidePrincipi merged 1 commit into
mainfrom
facts-process-limit
Nov 11, 2026
Merged

DavidePrincipi merged 1 commit into
mainfrom
facts-process-limit

Conversation

@DavidePrincipi

@DavidePrincipi DavidePrincipi commented Nov 11, 2026 •

Copy link
Copy Markdown
Member

The Mail module now includes the Dovecot process limit in the facts it reports, so we can see how many installations change its default value (400). Related to NethServer/dev#8267.

The mail services behave as before: the facts only get one new value, dovecot_default_process_limit.

  • The value is read from the running dovecot container, because it can be changed in dovecot.env, a file that actions do not read.
  • If the variable is not set, the value is 400, the same default the container uses.
  • If the container is not running, an error flag (get_process_limit_facts_error) is reported instead.

How to test

  • Run api-cli run module/mail1/get-facts and check that dovecot_default_process_limit is 400.
  • Set DOVECOT_DEFAULT_PROCESS_LIMIT=1000 in the module's dovecot.env, restart the dovecot service, and check that the value becomes 1000.

See also


Generated by Claude Code:claude-opus-5-5 with nethserver-pr

Add the dovecot_default_process_limit fact, to evaluate how many
installations override the DOVECOT_DEFAULT_PROCESS_LIMIT default.

The value is read from the running dovecot container because it can
be overridden in dovecot.env, which is not loaded in the action
environment.

Assisted-by: Claude Code:claude-opus-5-5
Co-Authored-By: Claude Opus 5.5 <[email protected]>
@DavidePrincipi DavidePrincipi self-assigned this Nov 11, 2026
@DavidePrincipi DavidePrincipi changed the title Report Dovecot default process limit in facts feat(facts): report Dovecot process limit Nov 11, 2026
@DavidePrincipi
DavidePrincipi marked this pull request as ready for review November 11, 2026 15:46
@DavidePrincipi
DavidePrincipi merged commit cac00d6 into main Nov 11, 2026
5 checks passed
@DavidePrincipi
DavidePrincipi deleted the facts-process-limit branch November 11, 2026 15:53
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.

1 participant