aboutsummaryrefslogtreecommitdiffstats
path: root/rspamd.conf.sample
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2009-01-29 17:46:26 +0300
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2009-01-29 17:46:26 +0300
commit32a96e82d075bdba6e9e567080977a76830cbce2 (patch)
tree028ebfd9118e5c9d33c07593eef7ea4c8b37108e /rspamd.conf.sample
parent24e7403974f65b788ad81071d30c092adde97f4e (diff)
downloadrspamd-32a96e82d075bdba6e9e567080977a76830cbce2.tar.gz
rspamd-32a96e82d075bdba6e9e567080977a76830cbce2.zip
* Do another rework of filters/metrics and statfiles processing
* Add 'probability' normalizing to winnow algorithm and calculate not pure weight but normalized probability
Diffstat (limited to 'rspamd.conf.sample')
-rw-r--r--rspamd.conf.sample9
1 files changed, 6 insertions, 3 deletions
diff --git a/rspamd.conf.sample b/rspamd.conf.sample
index 794638a5e..f0e2a9411 100644
--- a/rspamd.conf.sample
+++ b/rspamd.conf.sample
@@ -62,9 +62,6 @@ statfile {
# Tokenizer for this statfile
# Deafault: osb-text
tokenizer = "osb-text";
- # Classifier for this statfile
- # Default: winnow
- classifier = "winnow";
};
statfile {
alias = "test.ham";
@@ -73,4 +70,10 @@ statfile {
size = 10M;
};
+# Factors coefficients
+factors {
+ "SURBL_DNS" = 10.5;
+ "winnow" = 5.5;
+};
+
url_filters = "surbl";