You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

common.conf 1.3KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. # A common rspamd configuration file
  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. lua = "$RULESDIR/rspamd.lua"
  17. .include "$CONFDIR/metrics.conf"
  18. .include "$CONFDIR/actions.conf"
  19. .include "$CONFDIR/groups.conf"
  20. .include "$CONFDIR/composites.conf"
  21. .include "$CONFDIR/statistic.conf"
  22. .include "$CONFDIR/modules.conf"
  23. # Include users settings
  24. .include "$CONFDIR/settings.conf"
  25. # User local settings
  26. .include(try=true) "$LOCAL_CONFDIR/rspamd.conf.local"
  27. .include(try=true,priority=10) "$LOCAL_CONFDIR/rspamd.conf.local.override"
  28. .include(try=true,priority=10) "$LOCAL_CONFDIR/rspamd.conf.override"
  29. modules {
  30. path = "${PLUGINSDIR}";
  31. fallback_path = "${SHAREDIR}/lua"; # Legacy path
  32. try_path = "${LOCAL_CONFDIR}/plugins.d/"; # User plugins
  33. }