diff --git a/data/conf/rspamd/local.d/fuzzy_check.conf b/data/conf/rspamd/local.d/fuzzy_check.conf index 9635adb9..775315e3 100644 --- a/data/conf/rspamd/local.d/fuzzy_check.conf +++ b/data/conf/rspamd/local.d/fuzzy_check.conf @@ -6,7 +6,7 @@ rule "local" { # Additional mime types to store/check mime_types = ["application/*"]; # Hash weight threshold for all maps - max_score = 20.0; + max_score = 100.0; # Whether we can learn this storage read_only = no; # Ignore unknown flags @@ -17,15 +17,11 @@ rule "local" { # Map flags to symbols fuzzy_map = { LOCAL_FUZZY_DENIED { - max_score = 20.0; + max_score = 10.0; flag = 11; } - LOCAL_FUZZY_PROB { - max_score = 10.0; - flag = 12; - } LOCAL_FUZZY_WHITE { - max_score = 2.0; + max_score = 5.0; flag = 13; } } diff --git a/data/conf/rspamd/local.d/fuzzy_group.conf b/data/conf/rspamd/local.d/fuzzy_group.conf index abf6e6cf..6b3390c6 100644 --- a/data/conf/rspamd/local.d/fuzzy_group.conf +++ b/data/conf/rspamd/local.d/fuzzy_group.conf @@ -3,12 +3,9 @@ symbols = { weight = 2.0; } "LOCAL_FUZZY_DENIED" { - weight = 12.0; - } - "LOCAL_FUZZY_PROB" { - weight = 5.0; + weight = 10.0; } "LOCAL_FUZZY_WHITE" { - weight = -3.0; + weight = -3.4; } } diff --git a/data/conf/rspamd/local.d/neural.conf b/data/conf/rspamd/local.d/neural.conf index e4384804..eb98488d 100644 --- a/data/conf/rspamd/local.d/neural.conf +++ b/data/conf/rspamd/local.d/neural.conf @@ -8,6 +8,6 @@ train { } ann_expire = 80d; timeout = 20; # Increase redis timeout -enabled = ${HAS_TORCH}; # Explicitly disable module when torch is disabled +enabled = false; use_settings = false; # If enabled, then settings-id is used to dispatch networks