aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/lua/reputation.lua
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/lua/reputation.lua')
-rw-r--r--src/plugins/lua/reputation.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/lua/reputation.lua b/src/plugins/lua/reputation.lua
index f88973d71..86fd20767 100644
--- a/src/plugins/lua/reputation.lua
+++ b/src/plugins/lua/reputation.lua
@@ -1197,7 +1197,8 @@ local function parse_rule(name, tbl)
-- Also register a postfilter
rspamd_config:register_symbol{
name = rule.symbol .. '_POST',
- type = 'postfilter,nostat',
+ type = 'postfilter',
+ flags = 'nostat',
callback = callback_gen(reputation_postfilter_cb, rule),
}
end