mailcow/data/conf/rspamd/local.d/neural.conf

29 lines
561 B
Plaintext
Raw Normal View History

rules {
"LONG" {
train {
max_trains = 800;
2018-05-17 17:15:46 +08:00
max_usages = 40;
max_iterations = 25;
learning_rate = 0.01,
spam_score = 9;
ham_score = -4;
}
symbol_spam = "NEURAL_SPAM_LONG";
symbol_ham = "NEURAL_HAM_LONG";
2018-05-17 17:15:46 +08:00
ann_expire = 31d;
}
"SHORT" {
train {
max_trains = 90;
2018-05-17 17:15:46 +08:00
max_usages = 20;
max_iterations = 15;
learning_rate = 0.01,
spam_score = 9;
ham_score = -4;
}
symbol_spam = "NEURAL_SPAM_SHORT";
symbol_ham = "NEURAL_HAM_SHORT";
ann_expire = 7d;
}
}