Merge pull request #691 from YunoHost/enh-email-rate-limit

[enh] Avoid to send simultaneously too much emails
This commit is contained in:
Alexandre Aubin 2019-05-17 19:06:26 +02:00 committed by GitHub
commit d7a90d6704
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -159,8 +159,12 @@ smtpd_milters = inet:localhost:11332
# Skip email without checking if milter has died
milter_default_action = accept
# Avoid to send simultaneously too many emails
smtp_destination_concurrency_limit = 1
default_destination_rate_delay = 5s
# Avoid email adress scanning
# By default it's possible to detect if the email adress exist
# So it's easly possible to scan a server to know which email adress is valid
# and after to send spam
disable_vrfy_command = yes
disable_vrfy_command = yes