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.

whitelist_group.conf 1.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. # Whitelist rules scores
  2. #
  3. # Please don't modify this file as your changes might be overwritten with
  4. # the next update.
  5. #
  6. # You can modify '$LOCAL_CONFDIR/rspamd.conf.local.override' to redefine
  7. # parameters defined on the top level
  8. #
  9. # You can modify '$LOCAL_CONFDIR/rspamd.conf.local' to add
  10. # parameters defined on the top level
  11. #
  12. # For specific modules or configuration you can also modify
  13. # '$LOCAL_CONFDIR/local.d/file.conf' - to add your options or rewrite defaults
  14. # '$LOCAL_CONFDIR/override.d/file.conf' - to override the defaults
  15. #
  16. # See https://rspamd.com/doc/tutorials/writing_rules.html for details
  17. max_score = 10.0;
  18. symbols = {
  19. "WHITELIST_SPF" {
  20. weight = -1.0;
  21. description = "Mail comes from the whitelisted domain and has a valid SPF policy";
  22. }
  23. "BLACKLIST_SPF" {
  24. weight = 1.0;
  25. description = "Mail comes from the whitelisted domain and has no valid SPF policy";
  26. }
  27. "WHITELIST_DKIM" {
  28. weight = -1.0;
  29. description = "Mail comes from the whitelisted domain and has a valid DKIM signature";
  30. }
  31. "BLACKLIST_DKIM" {
  32. weight = 2.0;
  33. description = "Mail comes from the whitelisted domain and has non-valid DKIM signature";
  34. }
  35. "WHITELIST_SPF_DKIM" {
  36. weight = -3.0;
  37. description = "Mail comes from the whitelisted domain and has valid SPF and DKIM policies";
  38. }
  39. "BLACKLIST_SPF_DKIM" {
  40. weight = 3.0;
  41. description = "Mail comes from the whitelisted domain and has no valid SPF policy or a bad DKIM signature";
  42. }
  43. "WHITELIST_DMARC" {
  44. weight = -7.0;
  45. description = "Mail comes from the whitelisted domain and has valid DMARC and DKIM policies";
  46. }
  47. "BLACKLIST_DMARC" {
  48. weight = 6.0;
  49. description = "Mail comes from the whitelisted domain and has valid failed DMARC and DKIM policies";
  50. }
  51. }