[Rspamd-Users] Directories Missing (Atleast in Docker build)

Andrew Lewis rspamd-users at judo.za.org
Fri May 1 17:33:42 UTC 2026


Hi E,

Rspamd defines two variables at build time: `CONFDIR` & `LOCAL_CONFDIR`
which are for stock and user configuration respectively; these have
historically both been set to `/etc/rspamd` and so it remains.

In Docker build, this ambiguity has been resolved from the beginning:
`CONFDIR` is banished to `/usr/share/rspamd/config` and `/etc/rspamd`
is left functionally empty for user configuration- It might be worth
populating a README there with some explanation about it.

Best,
-AL.

On Fri, 2026-05-01 at 11:33 -0500, E R wrote:
> According to
> https://docs.rspamd.com/getting-started/understanding-rspamd/
> I should have three folders relating to modules (just started reading
> the documentation):
> 
> Module defaults: /etc/rspamd/modules.d/module_name.conf
> Local overrides: /etc/rspamd/local.d/module_name.conf
> Complete replacement: /etc/rspamd/override.d/module_name.conf
> 
> These do not exist in the docker build.  I found a folder
> /usr/share/rspamd/config/modules.d/ which appears to have module
> configuration files.
> 1.  Should I create a symbolic link in /etc/rspamd/ to point to this
> location?
> 2.  Should I create the two other missing folders so I can use them
> to
> configure things as I would tend to think there should not be
> anything
> writeable under /usr?


More information about the Users mailing list