mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2025-01-18 16:24:23 +08:00
[Rspamd] Add reputation plugin, remove deprecated plugins
This commit is contained in:
parent
31d5b85648
commit
1b2731d6e6
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
10
data/conf/rspamd/local.d/reputation.conf
Normal file
10
data/conf/rspamd/local.d/reputation.conf
Normal file
@ -0,0 +1,10 @@
|
||||
rules {
|
||||
ip_reputation = {
|
||||
selector "ip" {
|
||||
}
|
||||
backend "redis" {
|
||||
servers = "redis";
|
||||
}
|
||||
symbol = "IP_REPUTATION";
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user