From 203bbf6cfd33a6174a6e0bd06fb25dea0526da83 Mon Sep 17 00:00:00 2001 From: Lauri Anteploon Date: Wed, 11 Nov 2020 10:43:21 +0000 Subject: [PATCH] Moved "greylist" and "soft reject" to same case block. In Rspamd "greylist" and "soft reject" actions are synonymous. Which one is emitted depends on the greylisting module configuration. --- lib/filter-handler.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/filter-handler.js b/lib/filter-handler.js index bf6ce304..5973ecc8 100644 --- a/lib/filter-handler.js +++ b/lib/filter-handler.js @@ -304,10 +304,10 @@ class FilterHandler { case 'rewrite subject': case 'soft reject': + case 'greylist': spamScore = 50; break; - case 'greylist': case 'add header': spamScore = 25; break;