aboutsummaryrefslogtreecommitdiffstats
path: root/rules/misc.lua
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rspamd.com>2024-08-06 14:03:27 +0100
committerVsevolod Stakhov <vsevolod@rspamd.com>2024-08-06 14:03:27 +0100
commit2df166de66f6aa4355898a83414558f5b5a2a509 (patch)
tree8be482d8603f1fbddf70cb9373f21604a1962546 /rules/misc.lua
parente227bedc4f24b1ab5cf7feae0d2acb076ddcb312 (diff)
downloadrspamd-2df166de66f6aa4355898a83414558f5b5a2a509.tar.gz
rspamd-2df166de66f6aa4355898a83414558f5b5a2a509.zip
[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.
Diffstat (limited to 'rules/misc.lua')
-rw-r--r--rules/misc.lua3
1 files changed, 2 insertions, 1 deletions
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',
}