rspamd: enable the neural module

so we can throw some buzzwords
This commit is contained in:
Rouven Seifert 2023-09-21 21:49:00 +02:00
parent 3b59947673
commit 7c15108f3d
Signed by: rouven.seifert
GPG key ID: B95E8FE6B11C4D09

View file

@ -260,6 +260,23 @@ in
"milter_headers.conf".text = '' "milter_headers.conf".text = ''
use = ["x-spam-level", "x-spam-status"]; use = ["x-spam-level", "x-spam-status"];
''; '';
"neural.conf".text = ''
servers = "127.0.0.1:6379";
enabled = true;
'';
neural_group.conf.text = ''
symbols = {
"NEURAL_SPAM" {
weight = 0.5; # fairly low weight since we don't know how this will behave
description = "Neural network spam";
}
"NEURAL_HAM" {
weight = -0.5;
description = "Neural network ham";
}
}
'';
"multimap.conf".text = '' "multimap.conf".text = ''
WHITELIST_SENDER_DOMAIN { WHITELIST_SENDER_DOMAIN {
type = "from"; type = "from";