Sfoglia il codice sorgente

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 mesi fa
parent
commit
67c8b53122
Nessun account collegato all'indirizzo email del committer
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1
    1
      src/plugins/lua/rbl.lua

+ 1
- 1
src/plugins/lua/rbl.lua Vedi 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…
Annulla
Salva