mail-hosting/usr/local/etc/rspamd/local.d/ratelimit.conf
2022-05-15 21:41:43 +02:00

24 lines
520 B
Text

whitelisted_rcpts = ["postmaster", "mailer-daemon", "daniel@danwin1210.de"]
whitelisted_user = ["daniel@danwin1210.de"]
rates {
to = {
bucket = {
burst = 20;
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;
}
}
}