rspamd_config:register_symbol{
name = rule.symbol .. '_STORE',
type = 'idempotent',
+ flags = 'empty,explicit_disable,ignore_passthrough',
callback = callback_gen(clusterting_idempotent_cb, rule),
}
end
rspamd_config:register_symbol({
name = 'NEURAL_LEARN',
type = 'idempotent,callback',
- flags = 'nostat,explicit_disable',
+ flags = 'nostat,explicit_disable,ignore_passthrough',
priority = 5,
callback = ann_push_vector
})
rspamd_config:register_symbol {
type = 'idempotent',
name = 'RATELIMIT_UPDATE',
+ flags = 'explicit_disable,ignore_passthrough',
callback = ratelimit_update_cb,
}
end
type = 'idempotent',
callback = replies_set,
priority = 5,
- group = "replies",
+ group = 'replies',
+ flags = 'explicit_disable,ignore_passthrough',
})
local id = rspamd_config:register_symbol({
name = 'REPLIES_CHECK',
rspamd_config:register_symbol{
name = rule.symbol .. '_POST',
type = 'postfilter',
- flags = 'nostat',
+ flags = 'nostat,explicit_disable,ignore_passthrough',
callback = callback_gen(reputation_postfilter_cb, rule),
}
end
rspamd_config:register_symbol{
name = rule.symbol .. '_IDEMPOTENT',
type = 'idempotent',
+ flags = 'explicit_disable,ignore_passthrough',
callback = callback_gen(reputation_idempotent_cb, rule),
}
end