Browse Source

Merge pull request #4594 from fatalbanana/symbols_prefixes

[Fix] rbl: really fix dependency registration when symbols_prefixes i…
tags/3.7.1
Vsevolod Stakhov 9 months ago
parent
commit
67c8b53122
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/plugins/lua/rbl.lua

+ 1
- 1
src/plugins/lua/rbl.lua View File

@@ -1094,7 +1094,7 @@ local function add_rbl(key, rbl, global_opts)
lua_util.debugm(N, rspamd_config, 'rule dump for %s: %s',
rbl.symbol, rbl)

local check_sym = rbl.symbol_prefixes and rbl.symbol .. '_CHECK' or rbl.symbol
local check_sym = rbl.symbols_prefixes and rbl.symbol .. '_CHECK' or rbl.symbol

if rbl.dkim then
rspamd_config:register_dependency(check_sym, 'DKIM_CHECK')

Loading…
Cancel
Save