]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Reduce priority as settings become broken otherwise 5093/head
authorVsevolod Stakhov <vsevolod@rspamd.com>
Tue, 6 Aug 2024 13:03:27 +0000 (14:03 +0100)
committerVsevolod Stakhov <vsevolod@rspamd.com>
Tue, 6 Aug 2024 13:03:27 +0000 (14:03 +0100)
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

index cbe90e56159b4860626a6770c8bebd751838375d..8785ab4ac2e321025dc836176ec7fa648d60edda 100644 (file)
@@ -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',
 }