2017-09-22 04:21:11 +08:00
|
|
|
rates {
|
|
|
|
# Format: "1 / 1h" or "20 / 1m" etc. - global ratelimits are disabled by default
|
2019-05-09 17:32:16 +08:00
|
|
|
to = "100 / 1s";
|
|
|
|
to_ip = "100 / 1s";
|
|
|
|
to_ip_from = "100 / 1s";
|
2020-11-16 18:56:12 +08:00
|
|
|
bounce_to = "100 / 1h";
|
2020-12-07 18:09:06 +08:00
|
|
|
bounce_to_ip = "7 / 1m";
|
2017-09-22 04:21:11 +08:00
|
|
|
}
|
|
|
|
whitelisted_rcpts = "postmaster,mailer-daemon";
|
2020-01-18 23:32:27 +08:00
|
|
|
max_rcpt = 25;
|
2017-12-09 16:08:18 +08:00
|
|
|
custom_keywords = "/etc/rspamd/lua/ratelimit.lua";
|
2018-12-16 04:22:59 +08:00
|
|
|
info_symbol = "RATELIMITED";
|