From 2df166de66f6aa4355898a83414558f5b5a2a509 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Tue, 6 Aug 2024 14:03:27 +0100 Subject: [PATCH] [Minor] Reduce priority as settings become broken otherwise For future settings rework: there should be spill of settings checks to allow dependency on symbols that are required for settings conditions. --- rules/misc.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rules/misc.lua b/rules/misc.lua index cbe90e561..8785ab4ac 100644 --- a/rules/misc.lua +++ b/rules/misc.lua @@ -896,7 +896,8 @@ local rnds_check_id = rspamd_config:register_symbol { end end, type = 'prefilter', - priority = lua_util.symbols_priorities.top, + -- TODO: settings might need to use this symbol if they depend on hostname... + priority = lua_util.symbols_priorities.top - 1, description = 'Check if hostname has been resolved by MTA', } -- 2.39.5