diff options
-rw-r--r-- | src/plugins/lua/arc.lua | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/plugins/lua/arc.lua b/src/plugins/lua/arc.lua index e482ce0f0..2fb7f7dfc 100644 --- a/src/plugins/lua/arc.lua +++ b/src/plugins/lua/arc.lua @@ -431,12 +431,17 @@ end local id = rspamd_config:register_symbol({ - name = 'ARC_CALLBACK', + name = 'ARC_CHECK', type = 'callback', group = 'policies', groups = {'arc'}, callback = arc_callback }) +rspamd_config:register_symbol({ + name = 'ARC_CALLBACK', -- compatibility symbol + type = 'virtual,skip', + parent = id, +}) rspamd_config:register_symbol({ name = arc_symbols['allow'], @@ -479,8 +484,8 @@ rspamd_config:register_symbol({ groups = {'arc'}, }) -rspamd_config:register_dependency('ARC_CALLBACK', 'SPF_CHECK') -rspamd_config:register_dependency('ARC_CALLBACK', 'DKIM_CHECK') +rspamd_config:register_dependency('ARC_CHECK', 'SPF_CHECK') +rspamd_config:register_dependency('ARC_CHECK', 'DKIM_CHECK') local function arc_sign_seal(task, params, header) local arc_sigs = task:cache_get('arc-sigs') |