From: Vsevolod Stakhov Date: Mon, 25 Jan 2016 14:34:16 +0000 (+0000) Subject: Fix HEADER_FORGED_MDN rule X-Git-Tag: 1.1.2~49 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=df4b3f74fc99f40d9009c0d621cb39359b61b506;p=thirdparty%2Frspamd.git Fix HEADER_FORGED_MDN rule --- diff --git a/rules/misc.lua b/rules/misc.lua index e71c9b9576..e84cc70d0d 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