fix destination concurrency

Hi,
Postfix has this very peculiar behavior where the target of some config keys changes depending on the value. 
Here, if `smtp_destination_concurrency_limit` is set to 1, then according to http://www.postfix.org/postconf.5.html#default_destination_concurrency_limit it doesn't mean "1 concurrent mail per domain, but per recipiend address".

So, if set to 1, it means we can send any volume of e-mails concurrently (with a 5s delay) if all recipient addresses are different.
In order to avoid this, we should increase the value to restore the expected behavior (concurrency per domain, not per recipient).
This commit is contained in:
Julien Rabier 2020-05-11 21:37:17 +00:00 committed by Alexandre Aubin
parent bf88d3e41e
commit 9c1eca8d4a

View file

@ -170,7 +170,7 @@ smtpd_milters = inet:localhost:11332
milter_default_action = accept
# Avoid to send simultaneously too many emails
smtp_destination_concurrency_limit = 1
smtp_destination_concurrency_limit = 2
default_destination_rate_delay = 5s
# Avoid email adress scanning