From: Vsevolod Stakhov Date: Fri, 13 Feb 2026 07:24:50 +0000 (+0000) Subject: [Fix] Remove check for non-existent fuzzy_result mempool variable X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=90582ebfb89e337f44c92024622f79ccd2b0ce44;p=thirdparty%2Frspamd.git [Fix] Remove check for non-existent fuzzy_result mempool variable The fuzzy_result mempool variable is never set by fuzzy_check, so the early return was always triggered, making the phishing mismatch check a no-op. The actual logic uses get_symbols_all() which works correctly. --- diff --git a/rules/fuzzy_html_phishing.lua b/rules/fuzzy_html_phishing.lua index ec5d19bc42..2a88e164c5 100644 --- a/rules/fuzzy_html_phishing.lua +++ b/rules/fuzzy_html_phishing.lua @@ -30,12 +30,6 @@ local lua_util = require "lua_util" local N = 'fuzzy_html_phishing' local function check_fuzzy_mismatch(task) - local fuzzy_results = task:get_mempool():get_variable('fuzzy_result') - - if not fuzzy_results then - return false - end - -- Get fuzzy check symbols from task results local all_symbols = task:get_symbols_all() local has_text_fuzzy = false