Implement reputation based sending limits

This commit is contained in:
danwin1210 committed 2026-10-17 22:20:06 +02:00
1 parent 304a48b231
commit df186e33d7
7 files changed
+94 -19

No files matched your search

+1 -14
View File
@@ -1,5 +1,6 @@
whitelisted_rcpts = ["postmaster", "mailer-daemon", "daniel@danwin1210.de"]
whitelisted_user = ["daniel@danwin1210.de"]
custom_keywords = "/etc/rspamd/custom_ratelimit.lua";
rates {
to = {
bucket = {
@@ -7,18 +8,4 @@ rates {
rate = 1 / 1m;
}
}
sending_limit_2_per_min {
selector = 'user.lower.append("sending_limit_2_per_min")';
bucket = {
burst = 20;
rate = 2 / 1m;
}
}
sending_limit_500_per_day {
selector = 'user.lower.append("sending_limit_500_per_day")';
bucket = {
burst = 400;
rate = 50 / 3h;
}
}
}