diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2013-12-04 13:41:26 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2013-12-04 13:41:26 +0000 |
commit | 703fb40d6e37c5337a23694bce1bb114b7d7516a (patch) | |
tree | ebdba3aaa9018a01c21702c0785f00c609e77e21 /conf/metrics.conf | |
parent | d0314f0ca99d2485054b692de565729f4e961306 (diff) | |
download | rspamd-703fb40d6e37c5337a23694bce1bb114b7d7516a.tar.gz rspamd-703fb40d6e37c5337a23694bce1bb114b7d7516a.zip |
Rework fuzzy check module.
- Now all checks are organized to rules.
- Allow to specify read_only rules to avoid problems on learning.
- Use better normalizer for fuzzy module and it now returns values
from 0 to 1.0 (like bayes does).
- Update configuration accordingly.
- Drop legacy configuration support.
- Detect tanh as well and provide some reasonable (linear) fallback.
Diffstat (limited to 'conf/metrics.conf')
-rw-r--r-- | conf/metrics.conf | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/conf/metrics.conf b/conf/metrics.conf index 727bea6da..9dfdb1c00 100644 --- a/conf/metrics.conf +++ b/conf/metrics.conf @@ -408,22 +408,22 @@ metric { name = "BAYES_HAM"; } symbol { - weight = 1.0; + weight = 10.0; description = "Generic fuzzy hash match"; name = "R_FUZZY"; } symbol { - weight = 1.0; + weight = 10.0; description = "Denied fuzzy hash"; name = "FUZZY_DENIED"; } symbol { - weight = 1.0; + weight = 5.0; description = "Probable fuzzy hash"; name = "FUZZY_PROB"; } symbol { - weight = 1.0; + weight = -2.1; description = "Whitelisted fuzzy hash"; name = "FUZZY_WHITE"; } |