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 7.1KB

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