From 2c5628c0e553da43f84fb574c66b01a5369af184 Mon Sep 17 00:00:00 2001 From: Dmitriy Alekseev <1865999+dragoangel@users.noreply.github.com> Date: Thu, 16 Sep 2021 22:31:46 +0300 Subject: [PATCH] [Postfix] Tempfail if Rspamd not available To protect from spam when rspamd hang or not yet ready to serve requests postfix should reject incoming mail with temp error --- data/conf/postfix/main.cf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/conf/postfix/main.cf b/data/conf/postfix/main.cf index 00eb8a93..a445b60c 100644 --- a/data/conf/postfix/main.cf +++ b/data/conf/postfix/main.cf @@ -27,7 +27,7 @@ maximal_backoff_time = 1800s maximal_queue_lifetime = 5d delay_warning_time = 4h message_size_limit = 104857600 -milter_default_action = accept +milter_default_action = tempfail milter_protocol = 6 minimal_backoff_time = 300s plaintext_reject_code = 550