NobGit
public nobgit read

NobMail

Based on mailcow: dockerized

Languages

Repository composition by tracked source files.

PHP
PHP 49% JavaScript 35% HTML 9% CSS 4% Shell 2% Python 1% Lua 0% Perl 0% Ruby 0% SCSS 0%
Create file Wiki Documentation
Clone
https://nobgit.com/orgs/nobgit/nobmail.git
ssh://[email protected]:2222/orgs/nobgit/nobmail.git

Commit

[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.

376ef760
Sven Michels <[email protected]> 5 years ago
data/conf/rspamd/local.d/options.inc | 3 +++
 1 file changed, 3 insertions(+)

Diff

diff --git a/data/conf/rspamd/local.d/options.inc b/data/conf/rspamd/local.d/options.inc
index eb6de538..fcf499d7 100644
--- a/data/conf/rspamd/local.d/options.inc
+++ b/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;