commit 2fc1109: [Minor] Spamassassin: Try to fix [if-unset] stuff
Vsevolod Stakhov
vsevolod at highsecure.ru
Wed Dec 9 20:35:07 UTC 2020
Author: Vsevolod Stakhov
Date: 2020-12-09 20:31:23 +0000
URL: https://github.com/rspamd/rspamd/commit/2fc11096b6fd98070459bbc58b4c228d1f11f2b7 (HEAD -> master)
[Minor] Spamassassin: Try to fix [if-unset] stuff
---
src/plugins/lua/spamassassin.lua | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/plugins/lua/spamassassin.lua b/src/plugins/lua/spamassassin.lua
index 2e8d943c1..5a8615d6c 100644
--- a/src/plugins/lua/spamassassin.lua
+++ b/src/plugins/lua/spamassassin.lua
@@ -800,6 +800,10 @@ local function process_sa_conf(f)
handle_header_def(words[3], cur_rule)
end
+ if cur_rule['unset'] then
+ cur_rule['ordinary'] = false
+ end
+
if words[1] == 'mimeheader' then
cur_rule['mime'] = true
else
More information about the Commits
mailing list