NobGit
public nobgit read

NobMail

Based on mailcow: dockerized

Languages

Repository composition by tracked source files.

PHP
PHP 49% JavaScript 35% HTML 9% CSS 4% Shell 2% Python 1% Lua 0% Perl 0% Ruby 0% SCSS 0%
Create file Wiki Documentation
Clone
https://nobgit.com/orgs/nobgit/nobmail.git
ssh://[email protected]:2222/orgs/nobgit/nobmail.git

Commit

[Rspamd] Add missing ratelimit.conf

f257ed92
andryyy <[email protected]> 9 years ago
data/conf/rspamd/override.d/ratelimit.conf | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 data/conf/rspamd/override.d/ratelimit.conf

Diff

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"}