From 8a2ba3a5c355209ac8db01bcf036ceb911f81258 Mon Sep 17 00:00:00 2001 From: Andrew Lewis Date: Thu, 29 Apr 2021 10:31:59 +0200 Subject: [Minor] Fix REPLYTO_ADDR_EQ_FROM for normalised addresses --- rules/headers_checks.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rules/headers_checks.lua') diff --git a/rules/headers_checks.lua b/rules/headers_checks.lua index f0f64daff..4613a7dd7 100644 --- a/rules/headers_checks.lua +++ b/rules/headers_checks.lua @@ -214,7 +214,7 @@ local check_replyto_id = rspamd_config:register_symbol({ end -- See if Reply-To matches From in some way - local from = task:get_from(2) + local from = task:get_from{'mime', 'orig'} local from_h = get_raw_header(task, 'From') if not (from and from[1]) then return false -- cgit v1.2.3