From df9ed439f2dd002146f281625e31d3347c616946 Mon Sep 17 00:00:00 2001 From: Jose Celestino Date: Thu, 22 May 2025 10:21:42 +0100 Subject: [PATCH] [Minor] Print error on multimap invalid type --- src/plugins/lua/multimap.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/plugins/lua/multimap.lua b/src/plugins/lua/multimap.lua index b96c105b1e..a9a32e93f8 100644 --- a/src/plugins/lua/multimap.lua +++ b/src/plugins/lua/multimap.lua @@ -1333,6 +1333,9 @@ local function add_multimap_rule(key, newrule) end elseif newrule['type'] == 'dnsbl' then ret = true + else + rspamd_logger.errx(rspamd_config, 'cannot add rule %s: invalid type %s', + key, newrule['type']) end end -- 2.47.3