Initial commit
This commit is contained in:
24
usr/local/etc/rspamd/local.d/ratelimit.conf
Normal file
24
usr/local/etc/rspamd/local.d/ratelimit.conf
Normal file
@ -0,0 +1,24 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user