Adapt ratelimit module

This commit is contained in:
Alex D. 2023-05-01 13:03:06 +00:00
parent fbd127d542
commit b9c284e099
Signed by: caskd
GPG Key ID: F92BA85F61F4C173
2 changed files with 7 additions and 6 deletions

View File

@ -3,7 +3,7 @@
. ../APKBUILD-config.template
pkgver=2023.01.06.02
pkgver=2023.04.19.02
pkgrel=0
_baseconf="
rspamd.conf

View File

@ -1,10 +1,11 @@
ratelimit {
rates {
to = "100 / 1s";
to_ip = "100 / 1s";
to_ip_from = "100 / 1s";
bounce_to = "100 / 1h";
bounce_to_ip = "7 / 1m";
to_ip_from = {
bucket = {
rate = "10 / 1m";
burst = 50;
}
}
}
whitelisted_rcpts = "postmaster,mailer-daemon";
max_rcpt = 25;