]> source.dussan.org Git - rspamd.git/commitdiff
[Fix] Greylisting set phase is not idempotent
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Sat, 18 Nov 2017 13:16:26 +0000 (13:16 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Sat, 18 Nov 2017 13:16:26 +0000 (13:16 +0000)
src/plugins/lua/greylist.lua

index 32338f7d550855e94dd848c2b8d212f0c55a0a42..11ab2a2ded8054738350455cd3fb935d6b0ead14 100644 (file)
@@ -429,7 +429,7 @@ if opts then
   else
     rspamd_config:register_symbol({
       name = 'GREYLIST_SAVE',
-      type = 'idempotent',
+      type = 'postfilter',
       callback = greylist_set,
       priority = 6
     })