소스 검색

[Rspamd] Add soft reject on task timeout (#4189)

As we have seen issues in DNS processing actually stops rspamd from
processing a message, which leads to missing tag insertion for example,
we turn on soft reject on task timeout. Behavior is the same as with
greylisting for example, so the mail will be delayed/soft rejected, but
as DNS issues usually are most likely temporarily, it should get delivered
on the second try.
Sven Michels 4 년 전
부모
커밋
376ef76022
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      data/conf/rspamd/local.d/options.inc

+ 3 - 0
data/conf/rspamd/local.d/options.inc

@@ -3,3 +3,6 @@ dns {
 }
 map_watch_interval = 30s;
 disable_monitoring = true;
+# In case a task times out (like DNS lookup), soft reject the message
+# instead of silently accepting the message without further processing.
+soft_reject_on_timeout = true;