From 73d42fd51ab25278fde4fc9e1a9804d76cd37a2a Mon Sep 17 00:00:00 2001 From: "ljf (zamentur)" Date: Tue, 19 Mar 2019 19:30:30 +0100 Subject: [PATCH 1/2] [enh] Avoid to send simultaneously too much emails --- data/templates/postfix/main.cf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/data/templates/postfix/main.cf b/data/templates/postfix/main.cf index c38896a3f..aea68cd28 100644 --- a/data/templates/postfix/main.cf +++ b/data/templates/postfix/main.cf @@ -154,3 +154,7 @@ smtpd_milters = inet:localhost:11332 # Skip email without checking if milter has died milter_default_action = accept + +# Avoid to send simultaneously too much emails +smtp_destination_concurrency_limit = 1 +default_destination_rate_delay = 12s From c077b8def322965408746d4c49e1a2423b292e28 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Tue, 14 May 2019 19:31:47 +0200 Subject: [PATCH 2/2] 5s rate delay instead of 12s --- data/templates/postfix/main.cf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/templates/postfix/main.cf b/data/templates/postfix/main.cf index aea68cd28..7699b73cf 100644 --- a/data/templates/postfix/main.cf +++ b/data/templates/postfix/main.cf @@ -157,4 +157,4 @@ milter_default_action = accept # Avoid to send simultaneously too much emails smtp_destination_concurrency_limit = 1 -default_destination_rate_delay = 12s +default_destination_rate_delay = 5s