eole-rspamd/tmpl/rspamd.local.lua

12 lines
274 B
Lua

%if %%getVar('enable_rules','non') == 'oui'
%for %%rule in %%rspamd_regexp_rule
config['regexp']['%%rule.rs_rule_symbol'] = {
re = '%%rule.rs_rule_regexp',
score = %%rule.rs_rule_score,
description = '%%rule.rs_rule_desc',
group = 'Eole Rules'
}
%end for
%end if