From: Vsevolod Stakhov Date: Fri, 29 Jan 2016 18:31:45 +0000 (+0000) Subject: Fix rule when SMTP from is unavailable X-Git-Tag: 1.1.3~30 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=91d772ab6f6e9f030561654d9dca693518dbd3c3;p=rspamd.git Fix rule when SMTP from is unavailable --- diff --git a/rules/misc.lua b/rules/misc.lua index 4bc8b3b90..095334cf9 100644 --- a/rules/misc.lua +++ b/rules/misc.lua @@ -195,7 +195,7 @@ rspamd_config.HEADER_FORGED_MDN = { if header_mdn and not header_rp then return true end if header_rp and not header_mdn then return false end - if header_mdn['addr'] ~= header_rp['addr'] then + if header_mdn and header_mdn['addr'] ~= header_rp['addr'] then return true end