From 6c2b1fbabff0cf9d180d45e48c8d540f976f25a8 Mon Sep 17 00:00:00 2001
From: Kristian Klausen <kristian@klausen.dk>
Date: Tue, 23 Jan 2024 23:20:00 +0100
Subject: [PATCH] postfwd: Disable the email limits for gitlab

Since Gitlab causes high email traffic, apply the same rule as for the
aur by adding the sasl_username for gitlab to the no limits list.

Fix #564
---
 roles/postfwd/templates/postfwd.cf.j2 | 1 +
 1 file changed, 1 insertion(+)

diff --git a/roles/postfwd/templates/postfwd.cf.j2 b/roles/postfwd/templates/postfwd.cf.j2
index 486f41c27..04c05b8de 100644
--- a/roles/postfwd/templates/postfwd.cf.j2
+++ b/roles/postfwd/templates/postfwd.cf.j2
@@ -11,6 +11,7 @@
 
 # no rate-limit for some authenticated users
 &&NO_RATE_LIMIT_USERS {
+        sasl_username=gitlab
         sasl_username=aur;
 };
 id=NoRateLimit;
-- 
GitLab