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.

groups.conf 5.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. # Symbols groups setup
  2. # Each individual group lives in scores.d/<GROUPNAME>
  3. #
  4. # Please don't modify this file as your changes might be overwritten with
  5. # the next update.
  6. #
  7. # You can modify 'local.d/groups.conf' to add and merge
  8. # parameters defined inside this section
  9. #
  10. # You can modify 'override.d/groups.conf' to strictly override all
  11. # parameters defined inside this section
  12. #
  13. # See https://rspamd.com/doc/faq.html#what-are-the-locald-and-overrided-directories
  14. # for details
  15. #
  16. # See also: https://rspamd.com/doc/faq.html#how-to-change-score-for-some-symbol
  17. group "headers" {
  18. .include "$CONFDIR/scores.d/headers_group.conf"
  19. .include(try=true; priority=1; duplicate=merge) "$LOCAL_CONFDIR/local.d/headers_group.conf"
  20. .include(try=true; priority=10) "$LOCAL_CONFDIR/override.d/headers_group.conf"
  21. }
  22. group "subject" {
  23. .include "$CONFDIR/scores.d/subject_group.conf"
  24. .include(try=true; priority=1; duplicate=merge) "$LOCAL_CONFDIR/local.d/subject_group.conf"
  25. .include(try=true; priority=10) "$LOCAL_CONFDIR/override.d/subject_group.conf"
  26. }
  27. group "mua" {
  28. .include "$CONFDIR/scores.d/mua_group.conf"
  29. .include(try=true; priority=1; duplicate=merge) "$LOCAL_CONFDIR/local.d/mua_group.conf"
  30. .include(try=true; priority=10) "$LOCAL_CONFDIR/override.d/mua_group.conf"
  31. }
  32. group "rbl" {
  33. .include "$CONFDIR/scores.d/rbl_group.conf"
  34. .include(try=true; priority=1; duplicate=merge) "$LOCAL_CONFDIR/local.d/rbl_group.conf"
  35. .include(try=true; priority=10) "$LOCAL_CONFDIR/override.d/rbl_group.conf"
  36. }
  37. group "statistics" {
  38. .include "$CONFDIR/scores.d/statistics_group.conf"
  39. .include(try=true; priority=1; duplicate=merge) "$LOCAL_CONFDIR/local.d/statistics_group.conf"
  40. .include(try=true; priority=10) "$LOCAL_CONFDIR/override.d/statistics_group.conf"
  41. }
  42. group "fuzzy" {
  43. .include "$CONFDIR/scores.d/fuzzy_group.conf"
  44. .include(try=true; priority=1; duplicate=merge) "$LOCAL_CONFDIR/local.d/fuzzy_group.conf"
  45. .include(try=true; priority=10) "$LOCAL_CONFDIR/override.d/fuzzy_group.conf"
  46. }
  47. # SPF + DKIM + DMARC + ARC
  48. group "policies" {
  49. .include "$CONFDIR/scores.d/policies_group.conf"
  50. .include(try=true; priority=1; duplicate=merge) "$LOCAL_CONFDIR/local.d/policies_group.conf"
  51. .include(try=true; priority=10) "$LOCAL_CONFDIR/override.d/policies_group.conf"
  52. }
  53. group "whitelist" {
  54. .include "$CONFDIR/scores.d/whitelist_group.conf"
  55. .include(try=true; priority=1; duplicate=merge) "$LOCAL_CONFDIR/local.d/whitelist_group.conf"
  56. .include(try=true; priority=10) "$LOCAL_CONFDIR/override.d/whitelist_group.conf"
  57. }
  58. group "surbl" {
  59. .include "$CONFDIR/scores.d/surbl_group.conf"
  60. .include(try=true; priority=1; duplicate=merge) "$LOCAL_CONFDIR/local.d/surbl_group.conf"
  61. .include(try=true; priority=10) "$LOCAL_CONFDIR/override.d/surbl_group.conf"
  62. }
  63. group "phishing" {
  64. .include "$CONFDIR/scores.d/phishing_group.conf"
  65. .include(try=true; priority=1; duplicate=merge) "$LOCAL_CONFDIR/local.d/phishing_group.conf"
  66. .include(try=true; priority=10) "$LOCAL_CONFDIR/override.d/phishing_group.conf"
  67. }
  68. group "hfilter" {
  69. .include "$CONFDIR/scores.d/hfilter_group.conf"
  70. .include(try=true; priority=1; duplicate=merge) "$LOCAL_CONFDIR/local.d/hfilter_group.conf"
  71. .include(try=true; priority=10) "$LOCAL_CONFDIR/override.d/hfilter_group.conf"
  72. }
  73. group "mime_types" {
  74. .include "$CONFDIR/scores.d/mime_types_group.conf"
  75. .include(try=true; priority=1; duplicate=merge) "$LOCAL_CONFDIR/local.d/mime_types_group.conf"
  76. .include(try=true; priority=10) "$LOCAL_CONFDIR/override.d/mime_types_group.conf"
  77. }
  78. # Used to limit maximium score
  79. group "excessqp" {
  80. max_score = 2.4;
  81. .include(try=true; priority=1; duplicate=merge) "$LOCAL_CONFDIR/local.d/excessqp_group.conf"
  82. .include(try=true; priority=10) "$LOCAL_CONFDIR/override.d/excessqp_group.conf"
  83. }
  84. group "excessb64" {
  85. max_score = 3.0;
  86. .include(try=true; priority=1; duplicate=merge) "$LOCAL_CONFDIR/local.d/excessb64_group.conf"
  87. .include(try=true; priority=10) "$LOCAL_CONFDIR/override.d/excessb64_group.conf"
  88. }
  89. # Not defined by default
  90. group "neural" {
  91. .include(try=true; priority=1; duplicate=merge) "$LOCAL_CONFDIR/local.d/neural_group.conf"
  92. .include(try=true; priority=10) "$LOCAL_CONFDIR/override.d/neural_group.conf"
  93. }
  94. group "antivirus" {
  95. .include(try=true; priority=1; duplicate=merge) "$LOCAL_CONFDIR/local.d/antivirus_group.conf"
  96. .include(try=true; priority=10) "$LOCAL_CONFDIR/override.d/antivirus_group.conf"
  97. }
  98. group "external_services" {
  99. .include(try=true; priority=1; duplicate=merge) "$LOCAL_CONFDIR/local.d/external_services_group.conf"
  100. .include(try=true; priority=10) "$LOCAL_CONFDIR/override.d/external_services_group.conf"
  101. }
  102. group "content" {
  103. .include "$CONFDIR/scores.d/content_group.conf"
  104. .include(try=true; priority=1; duplicate=merge) "$LOCAL_CONFDIR/local.d/content_group.conf"
  105. .include(try=true; priority=10) "$LOCAL_CONFDIR/override.d/content_group.conf"
  106. }
  107. .include(try=true; priority=1; duplicate=merge) "$LOCAL_CONFDIR/local.d/groups.conf"
  108. .include(try=true; priority=10) "$LOCAL_CONFDIR/override.d/groups.conf"