DKIM 回复电子邮件失败

DKIM 回复电子邮件失败

我遇到了 dkim 问题并回复了一封电子邮件。如果我向 Google 发送电子邮件,一切都会正常:

   Authentication-Results: mx.google.com;
   dkim=pass [email protected];
   spf=pass (google.com: domain of [email protected] designates 213.214.14.217 as permitted sender) [email protected];
   dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=klh.de
   Received: from localhost (localhost [127.0.0.1]) by mx.klh.de (Postfix) with ESMTP id 21328124736 for <[email protected]>; Fri, 13 Jan 2017 11:14:34 +0100 (CET)
   DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=klh.de; s=201611; t=1484302474; bh=/PcOn/Jx9dciEPOjrIgSPkSriQjwDzxCFVJSYG0Twe4=; h=Date:From:To:Subject:References:In-Reply-To:From; b=mOMITyTzK7VS2pkJtlpF1hkN1ZK94MfVri+bpbQ3iaglhWtIzbK54T/d1oFI377rZ
 3CUgdBPITu//iWvLM+nXacCt9PA68o4aKiZJ/ROue3OBBKe2Hsv7hViYbrWWmedeVx
 AKAIgcm/MLtfWjCXqta2EF93KAG2PbQC65uoZMyA=

但如果我回复一封最初由 Google 用户发送的电子邮件,dkim 就会失败:

   Authentication-Results: mx.google.com;
   dkim=fail [email protected];
   spf=pass (google.com: domain of [email protected] designates 213.214.14.217 as permitted sender) [email protected];
   dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=klh.de
   Received: from localhost (localhost [127.0.0.1]) by mx.klh.de (Postfix) with ESMTP id 401451201B6 for <[email protected]>; Fri, 13 Jan 2017 10:52:36 +0100 (CET)
  DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=klh.de; s=201611; t=1484301156; bh=nQbpY6Q0JdxvJ9ALEm7aToUJOYq5u0rDOOKM7egvk+s=; h=Date:From:To:Subject:References:In-Reply-To:From; b=U2Hs92VT0XeogRtMZnG7ME5wrXsykq8v5yOwfdAgCNhC+Bnd+K7kdPLT/NizVg2AI
 gY97ArCjm8jIdk6XsAmBdEWj/HXVYp3ELOTOBv1MqdPp/jqQl2TdyZEZ8YXwgyR1+4
 3oKLfQ3J7Ro0o5PiLr2CFrxjm9DuWAorvSiH4m2A=

这种情况仅当我回复尚未开始通信的电子邮件时才会发生。如果我发送电子邮件并且 Google 用户回复并且我回复了这封电子邮件,则一切都正常并且 dkim 可以通过。

答案1

很好,您已经确定了一个可重复的场景。只需将电子邮件抄送给多个免费的 DKIM 测试地址(就像您将其发送给 Google 并期望失败一样),希望其中一个地址能给您一些线索。

还更新opendkim到最新版本以修复多个错误。

相关内容