From: Alexey AL Date: Fri, 6 Mar 2015 14:07:04 +0000 (+0300) Subject: Update metrics for hfilter X-Git-Tag: 0.8.2~5^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=0e0571c7c518afb1be6c70cc47590587246887b0;p=rspamd.git Update metrics for hfilter --- diff --git a/conf/metrics.conf b/conf/metrics.conf index 229e0815c..49266e7ae 100644 --- a/conf/metrics.conf +++ b/conf/metrics.conf @@ -761,6 +761,7 @@ metric { } # hfilter symbols symbol { weight = 4.00; name = "HFILTER_HELO_BAREIP"; description = "Helo host is bare ip"; } + symbol { weight = 4.50; name = "HFILTER_HELO_BADIP"; description = "Helo host is very bad ip"; } symbol { weight = 4.00; name = "HFILTER_HELO_UNKNOWN"; description = "Helo host empty or unknown"; } symbol { weight = 1.00; name = "HFILTER_HELO_1"; description = "Helo host checks (very low)"; } symbol { weight = 2.00; name = "HFILTER_HELO_2"; description = "Helo host checks (low)"; } @@ -779,10 +780,12 @@ metric { symbol { weight = 1.50; name = "HFILTER_FROMHOST_NORESOLVE_MX"; description = "MX found in FROM host and no resolve"; } symbol { weight = 3.50; name = "HFILTER_FROMHOST_NORES_A_OR_MX"; description = "FROM host no resolve to A or MX"; } symbol { weight = 4.00; name = "HFILTER_FROMHOST_NOT_FQDN"; description = "FROM host not FQDN"; } + symbol { weight = 0.00; name = "HFILTER_FROM_BOUNCE"; description = "Bounce message"; } symbol { weight = 0.50; name = "HFILTER_MID_NORESOLVE_MX"; description = "MX found in Message-id host and no resolve"; } symbol { weight = 0.50; name = "HFILTER_MID_NORES_A_OR_MX"; description = "Message-id host no resolve to A or MX"; } symbol { weight = 0.50; name = "HFILTER_MID_NOT_FQDN"; description = "Message-id host not FQDN"; } symbol { weight = 4.00; name = "HFILTER_HOSTNAME_UNKNOWN"; description = "Unknown hostname (no PTR or no resolve PTR to hostname)"; } + symbol { weight = 1.50; name = "HFILTER_RCPT_BOUNCEMOREONE"; description = "Message from bounce and over 1 recepient"; } symbol { weight = 3.50; name = "HFILTER_URL_ONLY"; description = "URL only in body"; } symbol { weight = 2.20; name = "HFILTER_URL_ONELINE"; description = "One line URL and text in body"; } }