aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/plugins/lua/dkim_signing.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/lua/dkim_signing.lua b/src/plugins/lua/dkim_signing.lua
index 3d83c251c..db0e65861 100644
--- a/src/plugins/lua/dkim_signing.lua
+++ b/src/plugins/lua/dkim_signing.lua
@@ -83,7 +83,7 @@ local function dkim_signing_cb(task)
return false
end
local hfrom = task:get_from('mime')
- if not settings.allow_hdrfrom_multiple and hfrom[2] then
+ if not settings.allow_hdrfrom_multiple and (hfrom or E)[2] then
rspamd_logger.debugm(N, task, 'multiple header from not allowed')
return false
end