]> source.dussan.org Git - rspamd.git/commitdiff
Fix HEADER_FORGED_MDN rule
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Mon, 25 Jan 2016 14:34:16 +0000 (14:34 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Mon, 25 Jan 2016 14:34:16 +0000 (14:34 +0000)
rules/misc.lua

index e71c9b9576562d47c4dc3614138cd230cdb5b43f..e84cc70d0d2bb28c012ffec2bbb2b7423906fa0d 100644 (file)
@@ -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