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.7KB

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