From 4123f20760911c152ed8ba45a5163448fefb3f4c Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Thu, 5 Dec 2013 15:57:04 +0000 Subject: [PATCH] Tune default settings. --- conf/modules.conf | 9 +++++---- conf/options.conf | 1 + 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/conf/modules.conf b/conf/modules.conf index b007ae8b5..c1b588950 100644 --- a/conf/modules.conf +++ b/conf/modules.conf @@ -5,19 +5,20 @@ fuzzy_check { servers = "highsecure.ru:11335"; symbol = "FUZZY_UNKNOWN"; mime_types = "application/pdf"; - max_score = 10.0; + max_score = 20.0; read_only = yes; + skip_unknown = yes; fuzzy_map = { FUZZY_DENIED { - max_score = 10.0; + max_score = 20.0; flag = 1 } FUZZY_PROB { - max_score = 5.0; + max_score = 10.0; flag = 2 } FUZZY_WHITE { - max_score = 5.0; + max_score = 2.0; flag = 3 } } diff --git a/conf/options.conf b/conf/options.conf index 841372ec2..80b58e401 100644 --- a/conf/options.conf +++ b/conf/options.conf @@ -11,4 +11,5 @@ options { map_watch_interval = 1min; dynamic_conf = "$DBDIR/rspamd_dynamic"; history_file = "$DBDIR/rspamd.history"; + one_shot = true; } -- 2.39.5