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.

metrics.conf 21KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672
  1. # Metrics settings
  2. # Please don't modify this file as your changes might be overwritten with
  3. # the next update.
  4. #
  5. # You can modify '$LOCAL_CONFDIR/rspamd.conf.local.override' to redefine
  6. # parameters defined on the top level
  7. #
  8. # You can modify '$LOCAL_CONFDIR/rspamd.conf.local' to add
  9. # parameters defined on the top level
  10. #
  11. # For specific modules or configuration you can also modify
  12. # '$LOCAL_CONFDIR/local.d/file.conf' - to add your options or rewrite defaults
  13. # '$LOCAL_CONFDIR/override.d/file.conf' - to override the defaults
  14. #
  15. # See https://rspamd.com/doc/tutorials/writing_rules.html for details
  16. metric {
  17. name = "default";
  18. # If this param is set to non-zero
  19. # then a metric would accept all symbols
  20. # unknown_weight = 1.0
  21. actions {
  22. reject = 15;
  23. add_header = 6;
  24. greylist = 4;
  25. }
  26. group "excessqp" {
  27. max_score = 2.4;
  28. }
  29. group "excessb64" {
  30. max_score = 3.0;
  31. }
  32. group "header" {
  33. symbol "FORGED_SENDER" {
  34. weight = 0.30;
  35. description = "Sender is forged (different From: header and smtp MAIL FROM: addresses)";
  36. }
  37. symbol "R_MIXED_CHARSET" {
  38. weight = 5.0;
  39. description = "Mixed characters in a message";
  40. one_shot = true;
  41. }
  42. symbol "R_MIXED_CHARSET_URL" {
  43. weight = 7.0;
  44. description = "Mixed characters in a URL inside message";
  45. one_shot = true;
  46. }
  47. symbol "FORGED_RECIPIENTS" {
  48. weight = 2.0;
  49. description = "Recipients are not the same as RCPT TO: mail command";
  50. }
  51. symbol "FORGED_RECIPIENTS_MAILLIST" {
  52. weight = 0.0;
  53. description = "Recipients are not the same as RCPT TO: mail command, but a message from a maillist";
  54. }
  55. symbol "FORGED_SENDER_MAILLIST" {
  56. weight = 0.0;
  57. description = "Sender is not the same as MAIL FROM: envelope, but a message is from a maillist";
  58. }
  59. symbol "ONCE_RECEIVED" {
  60. weight = 0.1;
  61. description = "One received header in a message";
  62. }
  63. symbol "RDNS_NONE" {
  64. weight = 1.0;
  65. description = "Cannot resolve reverse DNS for sender's IP";
  66. }
  67. symbol "ONCE_RECEIVED_STRICT" {
  68. weight = 4.0;
  69. description = "One received header with 'bad' patterns inside";
  70. }
  71. symbol "MAILLIST" {
  72. weight = -0.2;
  73. description = "Message seems to be from maillist";
  74. }
  75. }
  76. group "subject" {
  77. max_score = 6.0;
  78. }
  79. group "mua" {
  80. symbol "FORGED_MUA_MAILLIST" {
  81. weight = 0.0;
  82. description = "Avoid false positives for FORGED_MUA_* in maillist";
  83. }
  84. }
  85. group "rbl" {
  86. symbol "DNSWL_BLOCKED" {
  87. weight = 0.0;
  88. description = "Resolver blocked due to excessive queries";
  89. }
  90. symbol "RCVD_IN_DNSWL" {
  91. weight = 0.0;
  92. description = "Unrecognised result from dnswl.org";
  93. }
  94. symbol "RCVD_IN_DNSWL_NONE" {
  95. weight = 0.0;
  96. description = "Sender listed at http://www.dnswl.org, low none";
  97. }
  98. symbol "RCVD_IN_DNSWL_LOW" {
  99. weight = 0.0;
  100. description = "Sender listed at http://www.dnswl.org, low trust";
  101. }
  102. symbol "RCVD_IN_DNSWL_MED" {
  103. weight = 0.0;
  104. description = "Sender listed at http://www.dnswl.org, medium trust";
  105. }
  106. symbol "RCVD_IN_DNSWL_HI" {
  107. weight = 0.0;
  108. description = "Sender listed at http://www.dnswl.org, high trust";
  109. }
  110. symbol "RBL_SPAMHAUS" {
  111. weight = 0.0;
  112. description = "Unrecognised result from Spamhaus zen";
  113. }
  114. symbol "RBL_SPAMHAUS_SBL" {
  115. weight = 2.0;
  116. description = "From address is listed in zen sbl";
  117. }
  118. symbol "RBL_SPAMHAUS_CSS" {
  119. weight = 2.0;
  120. description = "From address is listed in zen css";
  121. }
  122. symbol "RBL_SPAMHAUS_XBL" {
  123. weight = 4.0;
  124. description = "From address is listed in zen xbl";
  125. }
  126. symbol "RBL_SPAMHAUS_XBL_ANY" {
  127. weight = 4.0;
  128. description = "From or receive address is listed in zen xbl (any list)";
  129. }
  130. symbol "RBL_SPAMHAUS_PBL" {
  131. weight = 2.0;
  132. description = "From address is listed in zen pbl (ISP list)";
  133. }
  134. symbol "RBL_SPAMHAUS_DROP" {
  135. weight = 7.0;
  136. description = "From address is listed in zen drop bl";
  137. }
  138. symbol "RECEIVED_SPAMHAUS_XBL" {
  139. weight = 3.0;
  140. description = "Received address is listed in zen xbl";
  141. one_shot = true;
  142. }
  143. symbol "RWL_SPAMHAUS_WL" {
  144. weight = 0.0;
  145. description = "Unrecognised result from Spamhaus whitelist";
  146. }
  147. symbol "RWL_SPAMHAUS_WL_IND" {
  148. weight = 0.0;
  149. description = "Sender listed at Spamhaus whitelist";
  150. }
  151. symbol "RWL_SPAMHAUS_WL_TRANS" {
  152. weight = 0.0;
  153. description = "Sender listed at Spamhaus whitelist";
  154. }
  155. symbol "RWL_SPAMHAUS_WL_IND_EXP" {
  156. weight = 0.0;
  157. description = "Sender listed at Spamhaus whitelist";
  158. }
  159. symbol "RWL_SPAMHAUS_WL_TRANS_EXP" {
  160. weight = 0.0;
  161. description = "Sender listed at Spamhaus whitelist";
  162. }
  163. symbol "RBL_SENDERSCORE" {
  164. weight = 2.0;
  165. description = "From address is listed in senderscore.com BL";
  166. }
  167. symbol "RBL_ABUSECH" {
  168. weight = 1.0;
  169. description = "From address is listed in ABUSE.CH BL";
  170. }
  171. symbol "MAILSPIKE" {
  172. weight = 0.0;
  173. description = "Unrecognised result from Mailspike";
  174. }
  175. symbol "RWL_MAILSPIKE_NEUTRAL" {
  176. weight = 0.0;
  177. description = "Neutral result from Mailspike";
  178. }
  179. symbol "RBL_MAILSPIKE_WORST" {
  180. weight = 2.0;
  181. description = "From address is listed in RBL - worst possible reputation";
  182. }
  183. symbol "RBL_MAILSPIKE_VERYBAD" {
  184. weight = 1.5;
  185. description = "From address is listed in RBL - very bad reputation";
  186. }
  187. symbol "RBL_MAILSPIKE_BAD" {
  188. weight = 1.0;
  189. description = "From address is listed in RBL - bad reputation";
  190. }
  191. symbol "RWL_MAILSPIKE_POSSIBLE" {
  192. weight = 0.0;
  193. description = "From address is listed in RWL - possibly legit";
  194. }
  195. symbol "RWL_MAILSPIKE_GOOD" {
  196. weight = 0.0;
  197. description = "From address is listed in RWL - good reputation";
  198. }
  199. symbol "RWL_MAILSPIKE_VERYGOOD" {
  200. weight = 0.0;
  201. description = "From address is listed in RWL - very good reputation";
  202. }
  203. symbol "RWL_MAILSPIKE_EXCELLENT" {
  204. weight = 0.0;
  205. description = "From address is listed in RWL - excellent reputation";
  206. }
  207. symbol "RBL_SORBS" {
  208. weight = 0.0;
  209. description = "Unrecognised result from SORBS RBL";
  210. }
  211. symbol "RBL_SORBS_HTTP" {
  212. weight = 2.5;
  213. description = "List of Open HTTP Proxy Servers.";
  214. }
  215. symbol "RBL_SORBS_SOCKS" {
  216. weight = 2.5;
  217. description = "List of Open SOCKS Proxy Servers.";
  218. }
  219. symbol "RBL_SORBS_MISC" {
  220. weight = 1.0;
  221. description = "List of open Proxy Servers not listed in the SOCKS or HTTP lists.";
  222. }
  223. symbol "RBL_SORBS_SMTP" {
  224. weight = 3.0;
  225. description = "List of Open SMTP relay servers.";
  226. }
  227. symbol "RBL_SORBS_RECENT" {
  228. weight = 1.5;
  229. description = "List of hosts that have been noted as sending spam/UCE/UBE to the admins of SORBS within the last 28 days (includes new.spam.dnsbl.sorbs.net).";
  230. }
  231. symbol "RBL_SORBS_WEB" {
  232. weight = 0.4;
  233. description = "List of web (WWW) servers which have spammer abusable vulnerabilities (e.g. FormMail scripts)";
  234. }
  235. symbol "RBL_SORBS_DUL" {
  236. weight = 2.0;
  237. description = "Dynamic IP Address ranges (NOT a Dial Up list!)";
  238. }
  239. symbol "RBL_SORBS_BLOCK" {
  240. weight = 1.0;
  241. description = "List of hosts demanding that they never be tested by SORBS.";
  242. }
  243. symbol "RBL_SORBS_ZOMBIE" {
  244. weight = 1.0;
  245. description = "List of networks hijacked from their original owners, some of which have already used for spamming.";
  246. }
  247. symbol "RBL_SEM" {
  248. weight = 1.0;
  249. description = "Address is listed in Spameatingmonkey RBL";
  250. }
  251. symbol "RBL_SEM_IPV6" {
  252. weight = 1.0;
  253. description = "Address is listed in Spameatingmonkey RBL (ipv6)";
  254. }
  255. }
  256. group "bayes" {
  257. symbol "BAYES_SPAM" {
  258. weight = 4.0;
  259. description = "Message probably spam, probability: ";
  260. }
  261. symbol "BAYES_HAM" {
  262. weight = -3.0;
  263. description = "Message probably ham, probability: ";
  264. }
  265. }
  266. group "fuzzy" {
  267. symbol "FUZZY_UNKNOWN" {
  268. weight = 5.0;
  269. description = "Generic fuzzy hash match";
  270. }
  271. symbol "FUZZY_DENIED" {
  272. weight = 12.0;
  273. description = "Denied fuzzy hash";
  274. }
  275. symbol "FUZZY_PROB" {
  276. weight = 5.0;
  277. description = "Probable fuzzy hash";
  278. }
  279. symbol "FUZZY_WHITE" {
  280. weight = -2.1;
  281. description = "Whitelisted fuzzy hash";
  282. }
  283. }
  284. group "spf" {
  285. symbol "R_SPF_FAIL" {
  286. weight = 1.0;
  287. description = "SPF verification failed";
  288. }
  289. symbol "R_SPF_SOFTFAIL" {
  290. weight = 0.0;
  291. description = "SPF verification soft-failed";
  292. }
  293. symbol "R_SPF_NEUTRAL" {
  294. weight = 0.0;
  295. description = "SPF policy is neutral";
  296. }
  297. symbol "R_SPF_ALLOW" {
  298. weight = -0.2;
  299. description = "SPF verification allows sending";
  300. }
  301. symbol "R_SPF_DNSFAIL" {
  302. weight = 0.0;
  303. description = "SPF DNS failure";
  304. }
  305. }
  306. group "dkim" {
  307. symbol "R_DKIM_REJECT" {
  308. weight = 1.0;
  309. description = "DKIM verification failed";
  310. one_shot = true;
  311. }
  312. symbol "R_DKIM_TEMPFAIL" {
  313. weight = 0.0;
  314. description = "DKIM verification soft-failed";
  315. }
  316. symbol "R_DKIM_ALLOW" {
  317. weight = -0.2;
  318. description = "DKIM verification succeed";
  319. one_shot = true;
  320. }
  321. }
  322. group "surbl" {
  323. symbol "SURBL_BLOCKED" {
  324. weight = 0.0;
  325. description = "SURBL: blocked by policy/overusage";
  326. }
  327. symbol "PH_SURBL_MULTI" {
  328. weight = 5.5;
  329. description = "SURBL: Phishing sites";
  330. }
  331. symbol "MW_SURBL_MULTI" {
  332. weight = 5.5;
  333. description = "SURBL: Malware sites";
  334. }
  335. symbol "ABUSE_SURBL" {
  336. weight = 5.5;
  337. description = "SURBL: ABUSE";
  338. }
  339. symbol "CRACKED_SURBL" {
  340. weight = 4.0;
  341. description = "SURBL: cracked site";
  342. }
  343. symbol "RAMBLER_URIBL" {
  344. weight = 4.5;
  345. description = "rambler.ru uribl";
  346. }
  347. symbol "SEM_URIBL_UNKNOWN" {
  348. weight = 0.0;
  349. description = "Spameatingmonkey uribl: unknown result";
  350. }
  351. symbol "SEM_URIBL" {
  352. weight = 3.5;
  353. description = "Spameatingmonkey uribl";
  354. }
  355. symbol "SEM_URIBL_FRESH15_UNKNOWN" {
  356. weight = 0.0;
  357. description = "Spameatingmonkey Fresh15 uribl: unknown result";
  358. }
  359. symbol "SEM_URIBL_FRESH15" {
  360. weight = 3.0;
  361. description = "Spameatingmonkey uribl. Domains registered in the last 15 days (.AERO,.BIZ,.COM,.INFO,.NAME,.NET,.PRO,.SK,.TEL,.US)";
  362. }
  363. symbol "DBL" {
  364. weight = 0.0;
  365. description = "DBL unknown result";
  366. }
  367. symbol "DBL_SPAM" {
  368. weight = 6.5;
  369. description = "DBL uribl spam";
  370. }
  371. symbol "DBL_PHISH" {
  372. weight = 6.5;
  373. description = "DBL uribl phishing";
  374. }
  375. symbol "DBL_MALWARE" {
  376. weight = 6.5;
  377. description = "DBL uribl malware";
  378. }
  379. symbol "DBL_BOTNET" {
  380. weight = 5.5;
  381. description = "DBL uribl botnet C&C domain";
  382. }
  383. symbol "DBL_ABUSE" {
  384. weight = 6.5;
  385. description = "DBL uribl abused legit spam";
  386. }
  387. symbol "DBL_ABUSE_REDIR" {
  388. weight = 1.5;
  389. description = "DBL uribl abused spammed redirector domain";
  390. }
  391. symbol "DBL_ABUSE_PHISH" {
  392. weight = 7.5;
  393. description = "DBL uribl abused legit phish";
  394. }
  395. symbol "DBL_ABUSE_MALWARE" {
  396. weight = 7.5;
  397. description = "DBL uribl abused legit malware";
  398. }
  399. symbol "DBL_ABUSE_BOTNET" {
  400. weight = 5.5;
  401. description = "DBL uribl abused legit botnet C&C";
  402. }
  403. symbol "DBL_PROHIBIT" {
  404. weight = 0.00000;
  405. description = "DBL uribl IP queries prohibited!";
  406. }
  407. symbol "URIBL_MULTI" {
  408. weight = 0.0;
  409. description = "uribl.com: unrecognised result";
  410. }
  411. symbol "URIBL_BLOCKED" {
  412. weight = 0.0;
  413. description = "uribl.com: query refused";
  414. }
  415. symbol "URIBL_BLACK" {
  416. weight = 7.5;
  417. description = "uribl.com black url";
  418. }
  419. symbol "URIBL_RED" {
  420. weight = 3.5;
  421. description = "uribl.com red url";
  422. }
  423. symbol "URIBL_GREY" {
  424. weight = 1.5;
  425. description = "uribl.com grey url";
  426. one_shot = true;
  427. }
  428. symbol "RAMBLER_EMAILBL" {
  429. weight = 9.5;
  430. description = "rambler.ru emailbl";
  431. one_shot = true;
  432. }
  433. symbol "SBL_URIBL" {
  434. weight = 0.0;
  435. description = "SBL URIBL: Filtered result";
  436. }
  437. symbol "URIBL_SBL" {
  438. weight = 6.5;
  439. description = "Spamhaus SBL URIBL";
  440. }
  441. symbol "URIBL_SBL_CSS" {
  442. weight = 6.5;
  443. description = "Spamhaus SBL CSS URIBL";
  444. }
  445. symbol "RBL_SARBL_BAD" {
  446. weight = 2.5;
  447. description = "A domain listed in the mail is blacklisted in SARBL";
  448. }
  449. }
  450. group "phishing" {
  451. symbol "PHISHING" {
  452. weight = 4.0;
  453. description = "Phished URL";
  454. one_shot = true;
  455. }
  456. symbol "PHISHED_OPENPHISH" {
  457. weight = 7.0;
  458. description = "Phished URL found in openphish.com";
  459. }
  460. symbol "PHISHED_PHISHTANK" {
  461. weight = 7.0;
  462. description = "Phished URL found in phishtank.com";
  463. }
  464. }
  465. group "hfilter" {
  466. symbol "HFILTER_HELO_BAREIP" {
  467. weight = 3.00;
  468. description = "Helo host is bare ip";
  469. }
  470. symbol "HFILTER_HELO_BADIP" {
  471. weight = 4.50;
  472. description = "Helo host is very bad ip";
  473. }
  474. symbol "HFILTER_HELO_1" {
  475. weight = 0.5;
  476. description = "Helo host checks (very low)";
  477. }
  478. symbol "HFILTER_HELO_2" {
  479. weight = 1.00;
  480. description = "Helo host checks (low)";
  481. }
  482. symbol "HFILTER_HELO_3" {
  483. weight = 2.00;
  484. description = "Helo host checks (medium)";
  485. }
  486. symbol "HFILTER_HELO_4" {
  487. weight = 2.50;
  488. description = "Helo host checks (hard)";
  489. }
  490. symbol "HFILTER_HELO_5" {
  491. weight = 3.00;
  492. description = "Helo host checks (very hard)";
  493. }
  494. symbol "HFILTER_HOSTNAME_1" {
  495. weight = 0.5;
  496. description = "Hostname checks (very low)";
  497. }
  498. symbol "HFILTER_HOSTNAME_2" {
  499. weight = 1.00;
  500. description = "Hostname checks (low)";
  501. }
  502. symbol "HFILTER_HOSTNAME_3" {
  503. weight = 2.00;
  504. description = "Hostname checks (medium)";
  505. }
  506. symbol "HFILTER_HOSTNAME_4" {
  507. weight = 2.50;
  508. description = "Hostname checks (hard)";
  509. }
  510. symbol "HFILTER_HOSTNAME_5" {
  511. weight = 3.00;
  512. description = "Hostname checks (very hard)";
  513. }
  514. symbol "HFILTER_HELO_NORESOLVE_MX" {
  515. weight = 0.20;
  516. description = "MX found in Helo and no resolve";
  517. }
  518. symbol "HFILTER_HELO_NORES_A_OR_MX" {
  519. weight = 0.3;
  520. description = "Helo no resolve to A or MX";
  521. }
  522. symbol "HFILTER_HELO_IP_A" {
  523. weight = 1.00;
  524. description = "Helo A IP != hostname IP";
  525. }
  526. symbol "HFILTER_HELO_NOT_FQDN" {
  527. weight = 2.00;
  528. description = "Helo not FQDN";
  529. }
  530. symbol "HFILTER_FROMHOST_NORESOLVE_MX" {
  531. weight = 0.5;
  532. description = "MX found in FROM host and no resolve";
  533. }
  534. symbol "HFILTER_FROMHOST_NORES_A_OR_MX" {
  535. weight = 1.50;
  536. description = "FROM host no resolve to A or MX";
  537. }
  538. symbol "HFILTER_FROMHOST_NOT_FQDN" {
  539. weight = 3.00;
  540. description = "FROM host not FQDN";
  541. }
  542. symbol "HFILTER_FROM_BOUNCE" {
  543. weight = 0.00;
  544. description = "Bounce message";
  545. }
  546. /*
  547. symbol {
  548. weight = 0.50;
  549. name = "HFILTER_MID_NORESOLVE_MX";
  550. description = "MX found in Message-id host and no resolve";
  551. }
  552. symbol {
  553. weight = 0.50;
  554. name = "HFILTER_MID_NORES_A_OR_MX";
  555. description = "Message-id host no resolve to A or MX";
  556. }
  557. symbol {
  558. weight = 0.50;
  559. name = "HFILTER_MID_NOT_FQDN";
  560. description = "Message-id host not FQDN";
  561. }
  562. */
  563. symbol "HFILTER_HOSTNAME_UNKNOWN" {
  564. weight = 2.50;
  565. description = "Unknown hostname (no PTR or no resolve PTR to hostname)";
  566. }
  567. symbol "HFILTER_RCPT_BOUNCEMOREONE" {
  568. weight = 1.50;
  569. description = "Message from bounce and over 1 recepient";
  570. }
  571. symbol "HFILTER_URL_ONLY" {
  572. weight = 2.20;
  573. description = "URL only in body";
  574. }
  575. symbol "HFILTER_URL_ONELINE" {
  576. weight = 2.50;
  577. description = "One line URL and text in body";
  578. }
  579. }
  580. group "dmarc" {
  581. symbol "DMARC_POLICY_ALLOW" {
  582. weight = -0.5;
  583. description = "DMARC permit policy";
  584. }
  585. symbol "DMARC_POLICY_ALLOW_WITH_FAILURES" {
  586. weight = -0.5;
  587. description = "DMARC permit policy with DKIM/SPF failure";
  588. }
  589. symbol "DMARC_POLICY_REJECT" {
  590. weight = 2.0;
  591. description = "DMARC reject policy";
  592. }
  593. symbol "DMARC_POLICY_QUARANTINE" {
  594. weight = 1.5;
  595. description = "DMARC quarantine policy";
  596. }
  597. symbol "DMARC_POLICY_SOFTFAIL" {
  598. weight = 0.1;
  599. description = "DMARC failed";
  600. }
  601. }
  602. group "mime_types" {
  603. symbol "MIME_GOOD" {
  604. weight = -0.1;
  605. description = "Known content-type";
  606. one_shot = true;
  607. }
  608. symbol "MIME_BAD" {
  609. weight = 1.0;
  610. description = "Known bad content-type";
  611. one_shot = true;
  612. }
  613. symbol "MIME_UNKNOWN" {
  614. weight = 0.1;
  615. description = "Missing or unknown content-type";
  616. one_shot = true;
  617. }
  618. symbol "MIME_BAD_ATTACHMENT" {
  619. weight = 4.0;
  620. description = "Invalid attachement mime type";
  621. one_shot = true;
  622. }
  623. symbol "MIME_ENCRYPTED_ARCHIVE" {
  624. weight = 2.0;
  625. description = "Encrypted archive in a message";
  626. one_shot = true;
  627. }
  628. symbol "MIME_ARCHIVE_IN_ARCHIVE" {
  629. weight = 5.0;
  630. description = "Archive within another archive";
  631. one_shot = true;
  632. }
  633. symbol "MIME_DOUBLE_BAD_EXTENSION" {
  634. weight = 3.0; # This rule has dynamic weight up to 4.0
  635. description = "Bad extension cloaking";
  636. one_shot = true;
  637. }
  638. symbol "MIME_BAD_EXTENSION" {
  639. weight = 2.0; # This rule has dynamic weight up to 4.0
  640. description = "Bad extension";
  641. one_shot = true;
  642. }
  643. }
  644. .include(try=true; priority=1; duplicate=merge) "$LOCAL_CONFDIR/local.d/metrics.conf"
  645. .include(try=true; priority=10) "$LOCAL_CONFDIR/override.d/metrics.conf"
  646. }