From df4b3f74fc99f40d9009c0d621cb39359b61b506 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Mon, 25 Jan 2016 14:34:16 +0000 Subject: [PATCH] Fix HEADER_FORGED_MDN rule --- rules/misc.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rules/misc.lua b/rules/misc.lua index e71c9b957..e84cc70d0 100644 --- a/rules/misc.lua +++ b/rules/misc.lua @@ -185,7 +185,7 @@ rspamd_config.HEADER_FORGED_MDN = { end if header_mdn and not header_rp then return true end - if header_rp and not header_mdn then return true end + if header_rp and not header_mdn then return false end if header_mdn['addr'] ~= header_rp['addr'] then return true -- 2.39.5