aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rspamd.com>2023-02-11 12:21:32 +0000
committerVsevolod Stakhov <vsevolod@rspamd.com>2023-02-11 12:21:32 +0000
commit5c9e9f60b38a0b630d03b35efe1eadf675d2e232 (patch)
treea3f680cdfec022fa10b988ef9e0a50a2f758df0e
parent1da9ad022291f942e5417bdaebedf697f3b8b837 (diff)
downloadrspamd-5c9e9f60b38a0b630d03b35efe1eadf675d2e232.tar.gz
rspamd-5c9e9f60b38a0b630d03b35efe1eadf675d2e232.zip
[Minor] RBL: Add missing groups
-rw-r--r--src/plugins/lua/rbl.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/lua/rbl.lua b/src/plugins/lua/rbl.lua
index e0cbf6960..cc43346d3 100644
--- a/src/plugins/lua/rbl.lua
+++ b/src/plugins/lua/rbl.lua
@@ -1041,6 +1041,7 @@ local function add_rbl(key, rbl, global_opts)
id = rspamd_config:register_symbol{
type = 'callback',
callback = callback,
+ groups = {'rbl'},
name = rbl.symbol .. '_CHECK',
flags = table.concat(flags_tbl, ',')
}
@@ -1067,6 +1068,7 @@ local function add_rbl(key, rbl, global_opts)
type = 'callback',
callback = callback,
name = rbl.symbol,
+ groups = {'rbl'},
group = 'rbl',
score = 0,
flags = table.concat(flags_tbl, ',')