aboutsummaryrefslogtreecommitdiffstats
path: root/rules
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-01-29 18:31:45 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-01-29 18:31:45 +0000
commit91d772ab6f6e9f030561654d9dca693518dbd3c3 (patch)
tree6d071f226eba5b9bb86e2d100f8688c6c46193f5 /rules
parenta876d62a4bea6ae16045e8c0acfd8e264c36f40b (diff)
downloadrspamd-91d772ab6f6e9f030561654d9dca693518dbd3c3.tar.gz
rspamd-91d772ab6f6e9f030561654d9dca693518dbd3c3.zip
Fix rule when SMTP from is unavailable
Diffstat (limited to 'rules')
-rw-r--r--rules/misc.lua2
1 files changed, 1 insertions, 1 deletions
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