Merge pull request #5577 from mailcow/fix/rspamd-ratelimiting
[Rspamd] Fixed Ratelimit forced by global ratelimits
This commit is contained in:
@@ -0,0 +1,9 @@
|
|||||||
|
# Uncomment below to apply the ratelimits globally. Use Ratelimits inside mailcow UI to overwrite them for a specific domain/mailbox.
|
||||||
|
# rates {
|
||||||
|
# # Format: "1 / 1h" or "20 / 1m" etc.
|
||||||
|
# to = "100 / 1s";
|
||||||
|
# to_ip = "100 / 1s";
|
||||||
|
# to_ip_from = "100 / 1s";
|
||||||
|
# bounce_to = "100 / 1h";
|
||||||
|
# bounce_to_ip = "7 / 1m";
|
||||||
|
# }
|
||||||
@@ -1,11 +1,3 @@
|
|||||||
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 / 1h";
|
|
||||||
bounce_to_ip = "7 / 1m";
|
|
||||||
}
|
|
||||||
whitelisted_rcpts = "postmaster,mailer-daemon";
|
whitelisted_rcpts = "postmaster,mailer-daemon";
|
||||||
max_rcpt = 25;
|
max_rcpt = 25;
|
||||||
custom_keywords = "/etc/rspamd/lua/ratelimit.lua";
|
custom_keywords = "/etc/rspamd/lua/ratelimit.lua";
|
||||||
|
|||||||
Reference in New Issue
Block a user