diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2013-12-24 18:24:54 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2013-12-24 18:24:54 +0000 |
commit | 08caf16449ad25e1aa6d659908713c4dcfae2dec (patch) | |
tree | 33d3c1b8a4f79143fb1ed7237986137cce69f1de /conf/metrics.conf | |
parent | 9d5020a5603ab28fafaea02c2d3320ad169561b7 (diff) | |
download | rspamd-08caf16449ad25e1aa6d659908713c4dcfae2dec.tar.gz rspamd-08caf16449ad25e1aa6d659908713c4dcfae2dec.zip |
Add hfilter - an advanced set of helo and hostname checks.
Submitted by: AL
Diffstat (limited to 'conf/metrics.conf')
-rw-r--r-- | conf/metrics.conf | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/conf/metrics.conf b/conf/metrics.conf index 4db1e45a3..0489f90e6 100644 --- a/conf/metrics.conf +++ b/conf/metrics.conf @@ -698,4 +698,22 @@ metric { description = "Helo host FQDN check"; name = "HELO_NOT_FQDN"; } +# hfilter symbols + 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)"; } + symbol { weight = 3.00; name = "HFILTER_HELO_3"; description = "Helo host checks (medium)"; } + symbol { weight = 3.50; name = "HFILTER_HELO_4"; description = "Helo host checks (hard)"; } + symbol { weight = 4.00; name = "HFILTER_HELO_5"; description = "Helo host checks (very hard)"; } + symbol { weight = 1.00; name = "HFILTER_HOSTNAME_1"; description = "Hostname checks (very low)"; } + symbol { weight = 2.00; name = "HFILTER_HOSTNAME_2"; description = "Hostname checks (low)"; } + symbol { weight = 3.00; name = "HFILTER_HOSTNAME_3"; description = "Hostname checks (medium)"; } + symbol { weight = 3.50; name = "HFILTER_HOSTNAME_4"; description = "Hostname checks (hard)"; } + symbol { weight = 4.00; name = "HFILTER_HOSTNAME_5"; description = "Hostname checks (very hard)"; } + symbol { weight = 2.50; name = "HFILTER_CHECK_HELO_IP_A"; description = "Helo A IP != hostname IP"; } + symbol { weight = 2.00; name = "HFILTER_HELO_NORESOLVE_A_OR_MX"; description = "Helo no resolve to A or MX"; } + symbol { weight = 2.00; name = "HFILTER_CHECK_HELO_IP_MX"; description = "Helo MX IP != hostname IP"; } + symbol { weight = 2.00; name = "HFILTER_HELO_NORESOLVE_MX"; description = "MX found in Helo and no resolve"; } + symbol { weight = 4.00; name = "HFILTER_HOSTNAME_NOPTR"; description = "No PTR for IP"; } + symbol { weight = 3.50; name = "HFILTER_URL_ONLY"; description = "URL only in body"; } + symbol { weight = 2.00; name = "HFILTER_URL_ONELINE"; description = "One line URL and text in body"; } } |