]> source.dussan.org Git - rspamd.git/commitdiff
Tune default settings.
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 5 Dec 2013 15:57:04 +0000 (15:57 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 5 Dec 2013 15:57:04 +0000 (15:57 +0000)
conf/modules.conf
conf/options.conf

index b007ae8b5419b8a87831fc114635dfb1faa690fb..c1b588950e6bd3fb580c9c2238354e3e251158cf 100644 (file)
@@ -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
                        }
                }
index 841372ec23a0505360aff022dd1dc3bc63dc7f68..80b58e40145d459745aec5c988ad4564a6aa9478 100644 (file)
@@ -11,4 +11,5 @@ options {
     map_watch_interval = 1min;
     dynamic_conf = "$DBDIR/rspamd_dynamic";
     history_file = "$DBDIR/rspamd.history";
+    one_shot = true;
 }