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.

url_reputation.conf 1.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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. url_reputation {
  16. enabled = false; # Please set enabled = true to activate
  17. # Key prefix for redis - default "Ur."
  18. #key_prefix = "Ur.";
  19. # Symbols to insert - defaults as shown
  20. #symbols {
  21. # white = "URL_REPUTATION_WHITE";
  22. # black = "URL_REPUTATION_BLACK";
  23. # grey = "URL_REPUTATION_GREY";
  24. # neutral = "URL_REPUTATION_NEUTRAL";
  25. #}
  26. # DKIM/DMARC/SPF allow symbols - defaults as shown
  27. #foreign_symbols {
  28. # dmarc = "DMARC_POLICY_ALLOW";
  29. # dkim = "R_DKIM_ALLOW";
  30. # spf = "R_SPF_ALLOW";
  31. #}
  32. # SURBL metatags to ignore - default as shown
  33. #ignore_surbl = ["URIBL_BLOCKED", "DBL_PROHIBIT", "SURBL_BLOCKED"];
  34. # Amount of samples required for scoring - default 5
  35. #threshold = 5;
  36. # Maximum number of TLDs to update reputation on (default 1)
  37. #update_limit = 1;
  38. # Maximum number of TLDs to query reputation on (default 100)
  39. #query_limit = 100;
  40. # If true, try to find most 'relevant' URL (default true)
  41. #relevance = true;
  42. .include(try=true,priority=5) "${DBDIR}/dynamic/url_reputation.conf"
  43. .include(try=true,priority=1,duplicate=merge) "$LOCAL_CONFDIR/local.d/url_reputation.conf"
  44. .include(try=true,priority=10) "$LOCAL_CONFDIR/override.d/url_reputation.conf"
  45. }