Ver código fonte

[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 anos atrás
pai
commit
376ef76022
1 arquivos alterados com 3 adições e 0 exclusões
  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;
 map_watch_interval = 30s;
 disable_monitoring = true;
 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;