summaryrefslogtreecommitdiffstats
path: root/src/plugins/lua/replies.lua
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2017-07-29 15:31:44 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2017-07-29 15:31:44 +0100
commit48c027506d6cf9496975f405f64f3c143a4c4290 (patch)
treea48c6fc20f755f612947e4db6e455b8a40f20cb3 /src/plugins/lua/replies.lua
parent99caa38084aa41938b98918b9119a288a0aefcf5 (diff)
downloadrspamd-48c027506d6cf9496975f405f64f3c143a4c4290.tar.gz
rspamd-48c027506d6cf9496975f405f64f3c143a4c4290.zip
[Feature] Skip certain symbols from ANN classify
Diffstat (limited to 'src/plugins/lua/replies.lua')
-rw-r--r--src/plugins/lua/replies.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/lua/replies.lua b/src/plugins/lua/replies.lua
index 2f24f67e9..39dfa1113 100644
--- a/src/plugins/lua/replies.lua
+++ b/src/plugins/lua/replies.lua
@@ -128,13 +128,13 @@ if opts then
else
rspamd_config:register_symbol({
name = 'REPLIES_SET',
- type = 'postfilter',
+ type = 'postfilter,nostat',
callback = replies_set,
priority = 5
})
local id = rspamd_config:register_symbol({
name = 'REPLIES_CHECK',
- type = 'prefilter',
+ type = 'prefilter,nostat',
callback = replies_check,
priority = 10
})