diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-01-24 16:44:47 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-01-24 16:44:47 +0000 |
commit | 744d3ff5e587786db29e537d4683294780d6ab13 (patch) | |
tree | 7aeb8fdf9d00416d81e67368c14c19d9f18a9ed5 /conf/metrics.conf | |
parent | d667c6b4ac9d23c1e2346d4286595f2d8503a640 (diff) | |
download | rspamd-744d3ff5e587786db29e537d4683294780d6ab13.tar.gz rspamd-744d3ff5e587786db29e537d4683294780d6ab13.zip |
Remove HFILTER_URL_ONELINE rule.
- Added functions:
`rspamd_textpart:get_length` - get a full length of text part
`rspamd_url:get_length` - get a full length of an URL object
- Removed `HFILTER_URL_ONELINE` as it is broken by nature
- Reworked hfilter to improve performance
Diffstat (limited to 'conf/metrics.conf')
-rw-r--r-- | conf/metrics.conf | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/conf/metrics.conf b/conf/metrics.conf index 13b9796af..cba0ce18c 100644 --- a/conf/metrics.conf +++ b/conf/metrics.conf @@ -714,5 +714,4 @@ metric { symbol { weight = 0.50; name = "HFILTER_MID_NOT_FQDN"; description = "Message-id host not FQDN"; } 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"; } } |