1# A common rspamd configuration file (should never ever be changed) 2# Please don't modify this file as your changes might be overwritten with 3# the next update. 4# 5# You can modify '$LOCAL_CONFDIR/rspamd.conf.local.override' to redefine 6# parameters defined on the top level 7# 8# You can modify '$LOCAL_CONFDIR/rspamd.conf.local' to add 9# parameters defined on the top level 10# 11# For specific modules or configuration you can also modify 12# '$LOCAL_CONFDIR/local.d/file.conf' - to add your options or rewrite defaults 13# '$LOCAL_CONFDIR/override.d/file.conf' - to override the defaults 14# 15# See https://rspamd.com/doc/tutorials/writing_rules.html for details 16 17lua = "$RULESDIR/rspamd.lua" 18 19.include "$CONFDIR/metrics.conf" 20.include "$CONFDIR/actions.conf" 21.include "$CONFDIR/groups.conf" 22.include "$CONFDIR/composites.conf" 23 24.include "$CONFDIR/statistic.conf" 25 26.include "$CONFDIR/modules.conf" 27 28# Include users settings 29.include "$CONFDIR/settings.conf" 30 31# User local settings 32.include(try=true) "$LOCAL_CONFDIR/rspamd.conf.local" 33.include(try=true,priority=10) "$LOCAL_CONFDIR/rspamd.conf.local.override" 34.include(try=true,priority=10) "$LOCAL_CONFDIR/rspamd.conf.override" 35 36modules { 37 path = "${PLUGINSDIR}"; 38 fallback_path = "${SHAREDIR}/lua"; # Legacy path 39 try_path = "${LOCAL_CONFDIR}/plugins.d/"; # User plugins 40} 41