]> source.dussan.org Git - rspamd.git/commitdiff
[Fix] Set 'ignore' flags from symbols coming from SA
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 3 Mar 2016 17:06:04 +0000 (17:06 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 3 Mar 2016 17:06:04 +0000 (17:06 +0000)
src/plugins/lua/spamassassin.lua

index ef351c52e9098d4b8673eddea2d2b2f8d0817459..aa3d59a88fac09e8124de46ed125c23486090334 100644 (file)
@@ -1353,7 +1353,7 @@ local function post_process()
     if not scores_added[key] then
       rspamd_config:set_metric_symbol({
             name = key, score = score,
-            priority = 1})
+            priority = 1, flags = 'ignore'})
     end
   end, scores)
   if freemail_domains then