mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2024-12-12 10:45:14 +02:00
[Rspamd] Add missing ratelimit.conf
This commit is contained in:
parent
62524150d2
commit
f257ed92f5
14
data/conf/rspamd/override.d/ratelimit.conf
Normal file
14
data/conf/rspamd/override.d/ratelimit.conf
Normal file
@ -0,0 +1,14 @@
|
||||
rates {
|
||||
# Format: "1 / 1h" or "20 / 1m" etc. - global ratelimits are disabled by default
|
||||
to = "100 / 1s";
|
||||
to_ip = "100 / 1s";
|
||||
to_ip_from = "100 / 1s";
|
||||
bounce_to = "100 / 1s";
|
||||
bounce_to_ip = "100 / 1s";
|
||||
user = "100 / 1s";
|
||||
}
|
||||
whitelisted_rcpts = "postmaster,mailer-daemon";
|
||||
max_rcpt = 5;
|
||||
custom_keywords = "/etc/rspamd/custom/ratelimit.lua";
|
||||
user_keywords = ["user", "customrl"];
|
||||
dynamic_rates = { customrl = "customrl"}
|
Loading…
Reference in New Issue
Block a user