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 GitHub
parent b0136bd1aa
commit 7ccd6e1348
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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