summaryrefslogtreecommitdiffstats
path: root/src/plugins/lua/rbl.lua
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/lua/rbl.lua')
-rw-r--r--src/plugins/lua/rbl.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/plugins/lua/rbl.lua b/src/plugins/lua/rbl.lua
index d299575ee..f0165c4ab 100644
--- a/src/plugins/lua/rbl.lua
+++ b/src/plugins/lua/rbl.lua
@@ -954,6 +954,8 @@ local function add_rbl(key, rbl, global_opts)
rspamd_config:register_symbol{
type = 'virtual',
parent = id,
+ group = 'rbl',
+ score = 0,
name = prefix .. '_' .. rbl.symbol,
}
end
@@ -969,6 +971,8 @@ local function add_rbl(key, rbl, global_opts)
type = 'callback',
callback = callback,
name = rbl.symbol,
+ group = 'rbl',
+ score = 0,
flags = table.concat(flags_tbl, ',')
}
if not (rbl.is_whitelist or rbl.ignore_whitelist) then
@@ -1008,6 +1012,8 @@ local function add_rbl(key, rbl, global_opts)
type = 'virtual',
parent = id,
name = s,
+ group = 'rbl',
+ score = 0,
}
end
if rbl.is_whitelist then