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

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  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. description = "White lists group";
  18. max_score = 10.0;
  19. symbols = {
  20. "WHITELIST_SPF" {
  21. weight = -1.0;
  22. description = "Mail comes from the whitelisted domain and has a valid SPF policy";
  23. }
  24. "BLACKLIST_SPF" {
  25. weight = 1.0;
  26. description = "Mail comes from the whitelisted domain and has no valid SPF policy";
  27. }
  28. "WHITELIST_DKIM" {
  29. weight = -1.0;
  30. description = "Mail comes from the whitelisted domain and has a valid DKIM signature";
  31. }
  32. "BLACKLIST_DKIM" {
  33. weight = 2.0;
  34. description = "Mail comes from the whitelisted domain and has non-valid DKIM signature";
  35. }
  36. "WHITELIST_SPF_DKIM" {
  37. weight = -3.0;
  38. description = "Mail comes from the whitelisted domain and has valid SPF and DKIM policies";
  39. }
  40. "BLACKLIST_SPF_DKIM" {
  41. weight = 3.0;
  42. description = "Mail comes from the whitelisted domain and has no valid SPF policy or a bad DKIM signature";
  43. }
  44. "WHITELIST_DMARC" {
  45. weight = -7.0;
  46. description = "Mail comes from the whitelisted domain and has valid DMARC and DKIM policies";
  47. }
  48. "BLACKLIST_DMARC" {
  49. weight = 6.0;
  50. description = "Mail comes from the whitelisted domain and has failed DMARC and DKIM policies";
  51. }
  52. }