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.

settings.conf 1.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. # Settings setup
  2. # Please don't modify this file as your changes might be overwritten with
  3. # the next update.
  4. #
  5. # You can modify 'local.d/settings.conf' to add and merge
  6. # parameters defined inside this section
  7. #
  8. # You can modify 'override.d/settings.conf' to strictly override all
  9. # parameters defined inside this section
  10. #
  11. # See https://rspamd.com/doc/faq.html#what-are-the-locald-and-overrided-directories
  12. # for details
  13. #
  14. # Module documentation: https://rspamd.com/doc/configuration/settings.html
  15. # If you want to use settings map, then please define something like:
  16. #
  17. # settings = "http://example.com/settings.json"
  18. #
  19. # in rspamd.conf.override
  20. settings {
  21. # Some examples below (define in local.d/settings.conf without `settings {}`!)
  22. #some_users {
  23. # id = "some_users";
  24. # priority = high;
  25. # from = "@example.com";
  26. # rcpt = "admin";
  27. # rcpt = "/user.*/";
  28. # ip = "172.16.0.0/16";
  29. # user = "@example.net";
  30. # request_header = {
  31. # "MTA-Tag" = "\.example\.net$";
  32. # }
  33. # apply {
  34. # symbol1 = 10.0;
  35. # symbol2 = 0.0;
  36. # actions {
  37. # reject = 100.0;
  38. # greylist = 10.0;
  39. # "add header" = 5.0; # Please note the space, NOT an underscore
  40. # }
  41. # }
  42. # Always add these symbols when settings rule has matched
  43. # symbols [
  44. # "symbol2", "symbol4"
  45. # ]
  46. #}
  47. #whitelist {
  48. # priority = low;
  49. # rcpt = "postmaster@example.com";
  50. # want_spam = yes;
  51. #}
  52. # Disable some checks for authenticated users
  53. #authenticated {
  54. # priority = high;
  55. # authenticated = yes;
  56. # apply {
  57. # groups_disabled = ["rbl", "spf"];
  58. # }
  59. #}
  60. # End of examples
  61. .include(try=true,priority=1,duplicate=merge) "$LOCAL_CONFDIR/local.d/settings.conf"
  62. .include(try=true; priority=10) "$LOCAL_CONFDIR/override.d/settings.conf"
  63. }