summaryrefslogtreecommitdiffstats
path: root/rules/misc.lua
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-01-25 14:34:16 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-01-25 14:34:16 +0000
commitdf4b3f74fc99f40d9009c0d621cb39359b61b506 (patch)
tree75650785a9e0eec436b49526859e1c4bdb888daf /rules/misc.lua
parent0fcfb24547e26934641d2618c48c218dddff0681 (diff)
downloadrspamd-df4b3f74fc99f40d9009c0d621cb39359b61b506.tar.gz
rspamd-df4b3f74fc99f40d9009c0d621cb39359b61b506.zip
Fix HEADER_FORGED_MDN rule
Diffstat (limited to 'rules/misc.lua')
-rw-r--r--rules/misc.lua2
1 files changed, 1 insertions, 1 deletions
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