mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2025-08-04 01:55:29 +02:00
rspamd: add neural module config (#3833)
Co-authored-by: Georg Lauterbach <44545919+georglauterbach@users.noreply.github.com> Co-authored-by: Brennan Kinney <5098581+polarathene@users.noreply.github.com>
This commit is contained in:
parent
05fbcf6889
commit
45935f5fb8
7 changed files with 105 additions and 1 deletions
26
target/rspamd/local.d/neural_group.conf
Normal file
26
target/rspamd/local.d/neural_group.conf
Normal file
|
@ -0,0 +1,26 @@
|
|||
symbols = {
|
||||
"NEURAL_WEEK_SPAM" {
|
||||
weight = 3.0; # sample weight
|
||||
description = "Neural network spam (long)";
|
||||
}
|
||||
"NEURAL_WEEK_HAM" {
|
||||
weight = -3.0; # sample weight
|
||||
description = "Neural network ham (long)";
|
||||
}
|
||||
"NEURAL_DAYS_SPAM" {
|
||||
weight = 2.5; # sample weight
|
||||
description = "Neural network spam (medium)";
|
||||
}
|
||||
"NEURAL_DAYS_HAM" {
|
||||
weight = -1.5; # sample weight
|
||||
description = "Neural network ham (medium)";
|
||||
}
|
||||
"NEURAL_HALF_DAY_SPAM" {
|
||||
weight = 2.0; # sample weight
|
||||
description = "Neural network spam (short)";
|
||||
}
|
||||
"NEURAL_HALF_DAY_HAM" {
|
||||
weight = -1.0; # sample weight
|
||||
description = "Neural network ham (short)";
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue