ソースを参照

[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
Dmitriy Alekseev 4 年 前
コミット
2c5628c0e5
1 ファイル変更1 行追加1 行削除
  1. 1 1
      data/conf/postfix/main.cf

+ 1 - 1
data/conf/postfix/main.cf

@@ -27,7 +27,7 @@ maximal_backoff_time = 1800s
 maximal_queue_lifetime = 5d
 maximal_queue_lifetime = 5d
 delay_warning_time = 4h
 delay_warning_time = 4h
 message_size_limit = 104857600
 message_size_limit = 104857600
-milter_default_action = accept
+milter_default_action = tempfail
 milter_protocol = 6
 milter_protocol = 6
 minimal_backoff_time = 300s
 minimal_backoff_time = 300s
 plaintext_reject_code = 550
 plaintext_reject_code = 550