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.

spamtrap.conf 1.6KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. # Please don't modify this file as your changes might be overwritten with
  2. # the next update.
  3. #
  4. # You can modify 'local.d/spamtrap.conf' to add and merge
  5. # parameters defined inside this section
  6. #
  7. # You can modify 'override.d/spamtrap.conf' to strictly override all
  8. # parameters defined inside this section
  9. #
  10. # See https://rspamd.com/doc/faq.html#what-are-the-locald-and-overrided-directories
  11. # for details
  12. #
  13. # Module documentation can be found at https://rspamd.com/doc/modules/spamtrap.html
  14. # This module is *DISABLED* by default
  15. # If you need to enable it, then define the following line in
  16. # local.d/spamtrap.conf:
  17. #
  18. # enabled = true;
  19. #
  20. # You also need to define redis servers for this module
  21. spamtrap {
  22. # Optionally set an action
  23. #action = "no action";
  24. # A map file containing regexp entries for spamtrap emails and domains
  25. #map = file://$LOCAL_CONFDIR/local.d/maps.d/spamtrap.map
  26. # Name of the symbol
  27. #symbol = "SPAMTRAP";
  28. # A score for this module
  29. #score = 0.0;
  30. # Flag to enable fuzzy learning
  31. learn_fuzzy = false;
  32. # Flag to enable bayes spam learning
  33. learn_spam = false;
  34. # Fuzzy flag
  35. #fuzzy_flag = 1;
  36. # Fuzzy weight
  37. #fuzzy_weight = 10.0;
  38. # Redis key prefix
  39. #key_prefix = 'sptr_';
  40. # Skip spamtrap checks for authorized users
  41. #check_authed = false;
  42. # Skip spamtrap checks for local networks
  43. #check_local = false;
  44. # !!! Disabled by default !!!
  45. enabled = false;
  46. .include(try=true,priority=5) "${DBDIR}/dynamic/spamtrap.conf"
  47. .include(try=true,priority=1,duplicate=merge) "$LOCAL_CONFDIR/local.d/spamtrap.conf"
  48. .include(try=true,priority=10) "$LOCAL_CONFDIR/override.d/spamtrap.conf"
  49. }