From f257ed92f5783079bfd55a2dfd55f686a948e6bf Mon Sep 17 00:00:00 2001 From: andryyy Date: Thu, 21 Sep 2017 22:21:11 +0200 Subject: [PATCH] [Rspamd] Add missing ratelimit.conf --- data/conf/rspamd/override.d/ratelimit.conf | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 data/conf/rspamd/override.d/ratelimit.conf diff --git a/data/conf/rspamd/override.d/ratelimit.conf b/data/conf/rspamd/override.d/ratelimit.conf new file mode 100644 index 00000000..3c0a55c3 --- /dev/null +++ b/data/conf/rspamd/override.d/ratelimit.conf @@ -0,0 +1,14 @@ +rates { + # Format: "1 / 1h" or "20 / 1m" etc. - global ratelimits are disabled by default + to = "100 / 1s"; + to_ip = "100 / 1s"; + to_ip_from = "100 / 1s"; + bounce_to = "100 / 1s"; + bounce_to_ip = "100 / 1s"; + user = "100 / 1s"; +} +whitelisted_rcpts = "postmaster,mailer-daemon"; +max_rcpt = 5; +custom_keywords = "/etc/rspamd/custom/ratelimit.lua"; +user_keywords = ["user", "customrl"]; +dynamic_rates = { customrl = "customrl"}