2017-09-22 04:21:11 +08:00
|
|
|
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";
|
|
|
|
}
|
|
|
|
whitelisted_rcpts = "postmaster,mailer-daemon";
|
|
|
|
max_rcpt = 5;
|
2017-12-09 16:08:18 +08:00
|
|
|
custom_keywords = "/etc/rspamd/lua/ratelimit.lua";
|
2018-06-24 17:40:31 +08:00
|
|
|
user_keywords = ["customrl"];
|
2017-09-22 04:21:11 +08:00
|
|
|
dynamic_rates = { customrl = "customrl"}
|