[Rspamd] Add reputation plugin, remove deprecated plugins

master
andryyy 2020-10-08 17:03:39 +02:00
parent 31d5b85648
commit 1b2731d6e6
No known key found for this signature in database
GPG Key ID: 8EC34FF2794E25EF
2 changed files with 27 additions and 0 deletions

View File

@ -31,3 +31,20 @@ group "MX" {
one_shot = true;
}
}
group "reputation" {
symbols = {
"IP_REPUTATION_HAM" {
weight = 1.0;
}
"IP_REPUTATION_SPAM" {
weight = 4.0;
}
"SENDER_REP_HAM" {
weight = 1.0;
}
"SENDER_REP_SPAM" {
weight = 2.0;
}
}
}

View File

@ -0,0 +1,10 @@
rules {
ip_reputation = {
selector "ip" {
}
backend "redis" {
servers = "redis";
}
symbol = "IP_REPUTATION";
}
}