You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue: Custom metrics.conf changes not applied by Rspamd in Docker Mailserver
Description:
I placed a custom metrics.conf file both under config/rspamd/local.d/ and config/rspamd/override.d/ as per various suggestions and documentation. The file mounts correctly inside the container at /tmp/docker-mailserver/rspamd/local.d/metrics.conf and /tmp/docker-mailserver/rspamd/override.d/metrics.conf. However, Rspamd does not apply the custom scoring rules defined in either location.
Running rspamadm configdump metrics inside the container returns: Section metrics NOT FOUND
Additionally, scanning emails with rspamc shows the original scores still in use, ignoring the custom scores defined.
What I tried:
Verified the file is present inside the container with correct content.
Restarted the container to reload configuration.
Tested both local.d/metrics.conf and override.d/metrics.conf locations.
Checked Rspamd logs for errors — no relevant errors found.
Expected behavior:
Rspamd should load and apply the scoring rules from the custom metrics.conf file.
Actual behavior:
Rspamd ignores the custom metrics.conf file and continues to use default scores.
Additional notes:
Other config files in override.d are loaded correctly (e.g., multimap.conf).
The custom metrics.conf is valid YAML and contains properly formatted scoring rules.
Request:
Is there a known issue or a recommended method to customize scores in Docker Mailserver’s Rspamd setup? How can I ensure my custom scoring configuration is properly loaded?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Issue: Custom
metrics.confchanges not applied by Rspamd in Docker MailserverDescription:
I placed a custom
metrics.conffile both underconfig/rspamd/local.d/andconfig/rspamd/override.d/as per various suggestions and documentation. The file mounts correctly inside the container at/tmp/docker-mailserver/rspamd/local.d/metrics.confand/tmp/docker-mailserver/rspamd/override.d/metrics.conf. However, Rspamd does not apply the custom scoring rules defined in either location.Running
rspamadm configdump metricsinside the container returns:Section metrics NOT FOUNDAdditionally, scanning emails with
rspamcshows the original scores still in use, ignoring the custom scores defined.What I tried:
local.d/metrics.confandoverride.d/metrics.conflocations.Expected behavior:
Rspamd should load and apply the scoring rules from the custom
metrics.conffile.Actual behavior:
Rspamd ignores the custom
metrics.conffile and continues to use default scores.Additional notes:
override.dare loaded correctly (e.g.,multimap.conf).metrics.confis valid YAML and contains properly formatted scoring rules.Request:
Is there a known issue or a recommended method to customize scores in Docker Mailserver’s Rspamd setup? How can I ensure my custom scoring configuration is properly loaded?
Beta Was this translation helpful? Give feedback.
All reactions