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

46 lines
855 B
Plaintext
Raw Normal View History

2017-03-02 18:23:23 +08:00
actions {
reject = 15;
add_header = 5;
greylist = 4;
}
symbol "MAILCOW_AUTH" {
description = "mailcow authenticated";
score = -20.0;
}
group "statistics" {
2017-03-02 18:23:23 +08:00
symbol "BAYES_SPAM" {
weight = 7.5;
description = "Message probably spam, probability: ";
}
symbol "BAYES_HAM" {
weight = -2.5;
description = "Message probably ham, probability: ";
}
}
2017-09-20 16:56:49 +08:00
group "MX" {
symbol "MX_INVALID" {
score = 0.5;
description = "No connectable MX";
one_shot = "true";
}
symbol "MX_MISSING" {
score = 2.0;
description = "No MX record";
one_shot = "true";
}
symbol "MX_GOOD" {
score = -0.01;
description = "MX was ok";
one_shot = "true";
}
}
symbol "SPOOFED_SENDER" {
description = "Sender is not authenticated but part of mailcow managed domains";
score = 1.0;
}
group "policies" {
symbol "R_SPF_FAIL" {
score = 4.0;
}
}