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-05-08 20:01:16 +08:00
|
|
|
bounce_to = "25 / 1h";
|
|
|
|
bounce_to_ip = "25 / 1h";
|
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";
|