From: Jose Celestino Date: Thu, 22 May 2025 09:21:42 +0000 (+0100) Subject: [Minor] Print error on multimap invalid type X-Git-Tag: 3.12.0~14^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F5477%2Fhead;p=thirdparty%2Frspamd.git [Minor] Print error on multimap invalid type --- 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