diff options
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/lua/dmarc.lua | 7 | ||||
-rw-r--r-- | src/plugins/lua/force_actions.lua | 4 |
2 files changed, 9 insertions, 2 deletions
diff --git a/src/plugins/lua/dmarc.lua b/src/plugins/lua/dmarc.lua index 390abd41c..25bbc2513 100644 --- a/src/plugins/lua/dmarc.lua +++ b/src/plugins/lua/dmarc.lua @@ -1382,6 +1382,13 @@ rspamd_config:register_symbol({ type = 'virtual' }) rspamd_config:register_symbol({ + name = dmarc_symbols['badpolicy'], + parent = id, + group = 'policies', + groups = {'dmarc'}, + type = 'virtual' +}) +rspamd_config:register_symbol({ name = dmarc_symbols['na'], parent = id, group = 'policies', diff --git a/src/plugins/lua/force_actions.lua b/src/plugins/lua/force_actions.lua index fb863a23b..c2a48e148 100644 --- a/src/plugins/lua/force_actions.lua +++ b/src/plugins/lua/force_actions.lua @@ -164,9 +164,9 @@ local function configure_module() rspamd_config:register_dependency(t.name, a) end rspamd_logger.infox(rspamd_config, 'Registered symbol %1 <%2> with dependencies [%3]', - name, expr, table.concat(atoms, ',')) + t.name, expr, table.concat(atoms, ',')) else - rspamd_logger.infox(rspamd_config, 'Registered symbol %1 <%2> as postfilter', name, expr) + rspamd_logger.infox(rspamd_config, 'Registered symbol %1 <%2> as postfilter', t.name, expr) end end end |