[Rspamd] Deactivate neural but use a more aggressive learning method (no autolearn)
parent
3b2a3d36b9
commit
59c4cc054e
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue