From: Vsevolod Stakhov Date: Tue, 6 Aug 2024 13:03:27 +0000 (+0100) Subject: [Minor] Reduce priority as settings become broken otherwise X-Git-Tag: 3.10.0~65^2^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=2df166de66f6aa4355898a83414558f5b5a2a509;p=rspamd.git [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. --- 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', }