diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2020-12-09 20:31:23 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2020-12-09 20:31:23 +0000 |
commit | 2fc11096b6fd98070459bbc58b4c228d1f11f2b7 (patch) | |
tree | 545a5d8d9ecaf17fdc832243ba233e3b2ac7fe7e /src/plugins | |
parent | f31b8e4dd3e36c71578458e37fdc5b65bcc253a9 (diff) | |
download | rspamd-2fc11096b6fd98070459bbc58b4c228d1f11f2b7.tar.gz rspamd-2fc11096b6fd98070459bbc58b4c228d1f11f2b7.zip |
[Minor] Spamassassin: Try to fix [if-unset] stuff
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/lua/spamassassin.lua | 4 |
1 files changed, 4 insertions, 0 deletions
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 |