aboutsummaryrefslogtreecommitdiffstats
path: root/lualib/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'lualib/plugins')
-rw-r--r--lualib/plugins/neural.lua2
-rw-r--r--lualib/plugins/rbl.lua5
2 files changed, 4 insertions, 3 deletions
diff --git a/lualib/plugins/neural.lua b/lualib/plugins/neural.lua
index 6e88ef21c..545214669 100644
--- a/lualib/plugins/neural.lua
+++ b/lualib/plugins/neural.lua
@@ -757,7 +757,7 @@ local function process_rules_settings()
type = 'set',
})
lua_redis.register_prefix(selt.prefix .. '_\\d+_ham_set', N,
- string.format('NN learning set (spam) for rule "%s"; settings id "%s"',
+ string.format('NN learning set (ham) for rule "%s"; settings id "%s"',
rule.prefix, selt.name), {
persistent = true,
type = 'set',
diff --git a/lualib/plugins/rbl.lua b/lualib/plugins/rbl.lua
index af5d6bd91..074fc7f0c 100644
--- a/lualib/plugins/rbl.lua
+++ b/lualib/plugins/rbl.lua
@@ -32,6 +32,7 @@ local check_types = {
content_urls = {},
numeric_urls = {},
emails = {},
+ images = {},
replyto = {},
dkim = {},
rdns = {
@@ -165,8 +166,6 @@ local function convert_checks(rule, name)
end
end
- rule[check] = check_type
-
if not check_type.connfilter then
all_connfilter = false
end
@@ -176,6 +175,8 @@ local function convert_checks(rule, name)
name, check)
return nil
end
+
+ rule[check] = true
else
rspamd_logger.infox(rspamd_config, 'disable check %s in %s: excluded explicitly',
check, name)