diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-09-26 16:11:13 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-09-26 16:11:13 +0100 |
commit | b07b8c60f7079820b8253015f00a3876f7c296cb (patch) | |
tree | bbe1140e6c4e41fae1f032fe58b9d83011bab995 /src/plugins/lua/dmarc.lua | |
parent | b0a535c17f7db5ce436a40425e9d2cad2555e0f9 (diff) | |
download | rspamd-b07b8c60f7079820b8253015f00a3876f7c296cb.tar.gz rspamd-b07b8c60f7079820b8253015f00a3876f7c296cb.zip |
[Minor] Dmarc: Fix bad policies detection
Diffstat (limited to 'src/plugins/lua/dmarc.lua')
-rw-r--r-- | src/plugins/lua/dmarc.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/lua/dmarc.lua b/src/plugins/lua/dmarc.lua index 726298edf..b65d86ff8 100644 --- a/src/plugins/lua/dmarc.lua +++ b/src/plugins/lua/dmarc.lua @@ -664,7 +664,7 @@ local function dmarc_callback(task) end end - if not has_valid_policy then + if not has_valid_policy and not seen_invalid then policy_target.err = lookup_domain .. ':' .. ' no valid DMARC record' policy_target.symbol = dmarc_symbols['na'] end |