diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-08-07 15:21:10 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-08-07 15:21:10 +0100 |
commit | 559a07dc28e3277587db4ada2d3721d3159a2e85 (patch) | |
tree | c136f5e3045a30e421fa8a40dfd1c7e0816d5e25 /conf/modules.d/ratelimit.conf | |
parent | 91878c78e1e95a301bccc9a3febbb61ef65b63a3 (diff) | |
download | rspamd-559a07dc28e3277587db4ada2d3721d3159a2e85.tar.gz rspamd-559a07dc28e3277587db4ada2d3721d3159a2e85.zip |
Split modules configuration.
Diffstat (limited to 'conf/modules.d/ratelimit.conf')
-rw-r--r-- | conf/modules.d/ratelimit.conf | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/conf/modules.d/ratelimit.conf b/conf/modules.d/ratelimit.conf new file mode 100644 index 000000000..c6f243708 --- /dev/null +++ b/conf/modules.d/ratelimit.conf @@ -0,0 +1,11 @@ +ratelimit { + .include(try=true,priority=1) "${DBDIR}/dynamic/ratelimit.conf" + limit = "to:100:0.033333333"; + limit = "to_ip:30:0.025"; + limit = "to_ip_from:20:0.01666666667"; + limit = "bounce_to:10:0.000555556"; + limit = "bounce_to_ip:5:0.000277778"; + limit = "user:20:0.01666666667"; + whitelisted_rcpts = "postmaster,mailer-daemon"; + max_rcpt = 5; +}
\ No newline at end of file |