aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/lua/arc.lua
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/lua/arc.lua')
-rw-r--r--src/plugins/lua/arc.lua7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/plugins/lua/arc.lua b/src/plugins/lua/arc.lua
index bf6010c3f..eeae65289 100644
--- a/src/plugins/lua/arc.lua
+++ b/src/plugins/lua/arc.lua
@@ -343,6 +343,8 @@ end
local id = rspamd_config:register_symbol({
name = 'ARC_CALLBACK',
type = 'callback',
+ group = 'policies',
+ groups = {'arc'},
callback = arc_callback
})
@@ -353,6 +355,7 @@ rspamd_config:register_symbol({
type = 'virtual',
score = -1.0,
group = 'policies',
+ groups = {'arc'},
})
rspamd_config:register_symbol({
name = arc_symbols['reject'],
@@ -360,6 +363,7 @@ rspamd_config:register_symbol({
type = 'virtual',
score = 2.0,
group = 'policies',
+ groups = {'arc'},
})
rspamd_config:register_symbol({
name = arc_symbols['invalid'],
@@ -367,6 +371,7 @@ rspamd_config:register_symbol({
type = 'virtual',
score = 1.0,
group = 'policies',
+ groups = {'arc'},
})
rspamd_config:register_symbol({
name = arc_symbols['dnsfail'],
@@ -374,6 +379,7 @@ rspamd_config:register_symbol({
type = 'virtual',
score = 0.0,
group = 'policies',
+ groups = {'arc'},
})
rspamd_config:register_symbol({
name = arc_symbols['na'],
@@ -381,6 +387,7 @@ rspamd_config:register_symbol({
type = 'virtual',
score = 0.0,
group = 'policies',
+ groups = {'arc'},
})
rspamd_config:register_dependency('ARC_CALLBACK', symbols['spf_allow_symbol'])