From ce880a1b25012ea2eb820a40a1bf9411bc63cb77 Mon Sep 17 00:00:00 2001 From: Naglfar Date: Mon, 4 May 2020 10:54:04 +0200 Subject: [PATCH] limit outbound mail to avoid being blacklisted --- roles/shell/files/etc/postfix/main.cf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/roles/shell/files/etc/postfix/main.cf b/roles/shell/files/etc/postfix/main.cf index b400b4c6..3872444b 100644 --- a/roles/shell/files/etc/postfix/main.cf +++ b/roles/shell/files/etc/postfix/main.cf @@ -78,3 +78,7 @@ milter_default_action = accept smtpd_milters = inet:localhost:12301 non_smtpd_milters = inet:localhost:12301 + +# message delivery requests that any client is allowed (50/hr) +smtpd_client_auth_rate_limit = 50 +anvil_rate_time_unit = 60m