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.

surbl_group.conf 6.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228
  1. # URIBL 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 = "URL DNS lists";
  18. max_score = 12.5;
  19. symbols = {
  20. "SURBL_BLOCKED" {
  21. weight = 0.0;
  22. description = "SURBL: blocked by policy/overusage";
  23. groups = ["surblorg", "blocked"];
  24. }
  25. "PH_SURBL_MULTI" {
  26. weight = 5.5;
  27. description = "SURBL: Phishing sites";
  28. groups = ["surblorg", "phishing"];
  29. }
  30. "MW_SURBL_MULTI" {
  31. weight = 5.5;
  32. description = "SURBL: Malware sites";
  33. groups = ["surblorg"];
  34. }
  35. "ABUSE_SURBL" {
  36. weight = 5.5;
  37. description = "SURBL: ABUSE";
  38. groups = ["surblorg"];
  39. }
  40. "CRACKED_SURBL" {
  41. weight = 4.0;
  42. description = "SURBL: cracked site";
  43. groups = ["surblorg"];
  44. }
  45. "RSPAMD_URIBL" {
  46. weight = 4.5;
  47. description = "Rspamd uribl, bl.rspamd.com";
  48. one_shot = true;
  49. groups = ["rspamdbl"];
  50. }
  51. "RSPAMD_EMAILBL" {
  52. weight = 2.5;
  53. description = "Rspamd emailbl, bl.rspamd.com";
  54. one_shot = true;
  55. groups = ["rspamdbl"];
  56. }
  57. "MSBL_EBL" {
  58. weight = 7.5;
  59. description = "MSBL emailbl";
  60. one_shot = true;
  61. groups = ["ebl"];
  62. }
  63. "MSBL_EBL_GREY" {
  64. weight = 0.5; # TODO: test it
  65. description = "MSBL emailbl grey list";
  66. one_shot = true;
  67. groups = ["ebl"];
  68. }
  69. "SEM_URIBL_UNKNOWN" {
  70. weight = 0.0;
  71. description = "Spameatingmonkey uribl: unknown result";
  72. groups = ["sem"];
  73. }
  74. "SEM_URIBL" {
  75. weight = 3.5;
  76. description = "Spameatingmonkey uribl";
  77. groups = ["sem"];
  78. }
  79. "SEM_URIBL_FRESH15_UNKNOWN" {
  80. weight = 0.0;
  81. description = "Spameatingmonkey Fresh15 uribl: unknown result";
  82. groups = ["sem"];
  83. }
  84. "SEM_URIBL_FRESH15" {
  85. weight = 3.0;
  86. description = "Spameatingmonkey uribl. Domains registered in the last 15 days (.AERO,.BIZ,.COM,.INFO,.NAME,.NET,.PRO,.SK,.TEL,.US)";
  87. groups = ["sem"];
  88. }
  89. "DBL" {
  90. weight = 0.0;
  91. description = "DBL unknown result";
  92. groups = ["spamhaus"];
  93. }
  94. "DBL_SPAM" {
  95. weight = 6.5;
  96. description = "DBL uribl spam";
  97. groups = ["spamhaus"];
  98. }
  99. "DBL_PHISH" {
  100. weight = 6.5;
  101. description = "DBL uribl phishing";
  102. groups = ["spamhaus"];
  103. }
  104. "DBL_MALWARE" {
  105. weight = 6.5;
  106. description = "DBL uribl malware";
  107. groups = ["spamhaus"];
  108. }
  109. "DBL_BOTNET" {
  110. weight = 5.5;
  111. description = "DBL uribl botnet C&C domain";
  112. groups = ["spamhaus"];
  113. }
  114. "DBL_ABUSE" {
  115. weight = 6.5;
  116. description = "DBL uribl abused legit spam";
  117. groups = ["spamhaus"];
  118. }
  119. "DBL_ABUSE_REDIR" {
  120. weight = 1.5;
  121. description = "DBL uribl abused spammed redirector domain";
  122. groups = ["spamhaus"];
  123. }
  124. "DBL_ABUSE_PHISH" {
  125. weight = 7.5;
  126. description = "DBL uribl abused legit phish";
  127. groups = ["spamhaus"];
  128. }
  129. "DBL_ABUSE_MALWARE" {
  130. weight = 7.5;
  131. description = "DBL uribl abused legit malware";
  132. groups = ["spamhaus"];
  133. }
  134. "DBL_ABUSE_BOTNET" {
  135. weight = 5.5;
  136. description = "DBL uribl abused legit botnet C&C";
  137. groups = ["spamhaus"];
  138. }
  139. "DBL_PROHIBIT" {
  140. weight = 0.0;
  141. description = "DBL uribl IP queries prohibited!";
  142. groups = ["spamhaus"];
  143. }
  144. "DBL_BLOCKED_OPENRESOLVER" {
  145. weight = 0.0;
  146. description = "You are querying Spamhaus from an open resolver, please see https://www.spamhaus.org/returnc/pub/";
  147. groups = ["spamhaus"];
  148. }
  149. "DBL_BLOCKED" {
  150. weight = 0.0;
  151. description = "You are exceeding the query limit, please see https://www.spamhaus.org/returnc/vol/";
  152. groups = ["spamhaus"];
  153. }
  154. "URIBL_MULTI" {
  155. weight = 0.0;
  156. description = "uribl.com: unrecognised result";
  157. groups = ["uribl"];
  158. }
  159. "URIBL_BLOCKED" {
  160. weight = 0.0;
  161. description = "uribl.com: query refused";
  162. groups = ["uribl", "blocked"];
  163. }
  164. "URIBL_BLACK" {
  165. weight = 7.5;
  166. description = "uribl.com black url";
  167. groups = ["uribl"];
  168. }
  169. "URIBL_RED" {
  170. weight = 3.5;
  171. description = "uribl.com red url";
  172. groups = ["uribl"];
  173. }
  174. "URIBL_GREY" {
  175. weight = 1.5;
  176. description = "uribl.com grey url";
  177. one_shot = true;
  178. groups = ["uribl"];
  179. }
  180. #"SPAMHAUS_ZEN_URIBL" {
  181. # weight = 0.0;
  182. # description = "Spamhaus ZEN URIBL: Filtered result";
  183. # groups = ["spamhaus"];
  184. #}
  185. #"URIBL_SBL" {
  186. # weight = 6.5;
  187. # description = "A domain in the message body resolves to an IP listed in Spamhaus SBL";
  188. # one_shot = true;
  189. # groups = ["v"];
  190. #}
  191. #"URIBL_SBL_CSS" {
  192. # weight = 6.5;
  193. # description = "A domain in the message body resolves to an IP listed in Spamhaus SBL CSS";
  194. # one_shot = true;
  195. # groups = ["spamhaus"];
  196. #}
  197. #"URIBL_XBL" {
  198. # weight = 1.5;
  199. # description = "A domain in the message body resolves to an IP listed in Spamhaus XBL";
  200. # one_shot = true;
  201. # groups = ["spamhaus"];
  202. #}
  203. #"URIBL_PBL" {
  204. # weight = 0.01;
  205. # description = "A domain in the message body resolves to an IP listed in Spamhaus PBL";
  206. # groups = ["spamhaus"];
  207. #}
  208. #"URIBL_DROP" {
  209. # weight = 5.0;
  210. # description = "A domain in the message body resolves to an IP listed in Spamhaus DROP";
  211. # one_shot = true;
  212. # groups = ["spamhaus"];
  213. #}
  214. #"RBL_SARBL_BAD" {
  215. # weight = 2.5;
  216. # description = "A domain in the message body is blacklisted in SARBL";
  217. # one_shot = true;
  218. #}
  219. }