aboutsummaryrefslogtreecommitdiffstats
path: root/conf/modules.d/ratelimit.conf
diff options
context:
space:
mode:
Diffstat (limited to 'conf/modules.d/ratelimit.conf')
-rw-r--r--conf/modules.d/ratelimit.conf11
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