大网数据广告活动
服务器运维问答

DKIM seems to be working but I get " dkim=temperror (no key for signature) "

· 52CE 我爱测

DKIM with Postfix on Ubuntu 20.04 part of the e-mail header as it arrives at my google mail account: ARC-Authentication-Results: i=1; mx.google.com; dkim=temperror (no key for signature) header.i=@smtpmail.rapidseohost.com header…

问题原文

原帖链接 · Mike · CC BY-SA 4.0

DKIM with Postfix on Ubuntu 20.04

part of the e-mail header as it arrives at my google mail account:

ARC-Authentication-Results: i=1; mx.google.com;
       dkim=temperror (no key for signature) header.i=@smtpmail.rapidseohost.com header.s=smtpmail header.b=MdGUxaPe;
       spf=pass (google.com: best guess record for domain of [email omitted] designates 147.182.132.193 as permitted sender) smtp.mailfrom=[email omitted];
       dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=rapidseohost.com
Return-Path: <[email omitted]>
Received: from smtpmail.rapidseohost.com (smtpmail.rapidseohost.com. [147.182.132.193])
        by mx.google.com with ESMTPS id k13si244481qvc.109.2021.06.23.15.53.37
        for <[email omitted]>
        (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
        Wed, 23 Jun 2021 15:53:37 -0700 (PDT)
Received-SPF: pass (google.com: best guess record for domain of [email omitted] designates 147.182.132.193 as permitted sender) client-ip=147.182.132.193;
Authentication-Results: mx.google.com;
       dkim=temperror (no key for signature) header.i=@smtpmail.rapidseohost.com header.s=smtpmail header.b=MdGUxaPe;
       spf=pass (google.com: best guess record for domain of [email omitted] designates 147.182.132.193 as permitted sender) smtp.mailfrom=[email omitted];
       dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=rapidseohost.com
Received: by smtpmail.rapidseohost.com (Postfix, from userid 0) id 4ED14FC3C0; Wed, 23 Jun 2021 22:53:37 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=smtpmail.rapidseohost.com; s=smtpmail; t=1624488817; bh=WBggpZrfs7F0OzQkyE7LiZPHyfFFhl7N4CNav2f5YVw=; h=Subject:To:Date:From:From; b=MdGUxaPeNiXZrtSo91A2YQ/jZJPIAM6O9y+BBSS1vE51CIyZAR294V5Xpv2L3inK+
     66ocOYtKX27jE215AP5O71pHyCvy6HFC8bIDZ7s2MMAFlhywdQYXxvtAZ5hsbwllrA
     BHvG6gof1Ev33c8mLlArlt7Xcm3ra2oaAU6txHGk=

I thought it was a subdomain issue so I tried two different selector records. I have DKIM TXT records in my DNS for both:

  • smtpmail._domainkey.rapidseohost.com
  • smtpmail._domainkey.smtp.rapidseohost.com

Both have the same DKIM value.

I also have a DKIM record for gmail suite with google selector which works just fine:

  • google._domainkey.rapidseohost.com

Would appreciate help with this.

已采纳解答

原帖链接 · anx · CC BY-SA 4.0

The Return-Path: header references your sending envelope address ending in @smtpmail.rapidseohost.com and your host is called smtpmail.rapidseohost.com, that is different form smtp.rapidseohost.com.

Change the sending address, or add the records for that subdomain.

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Server Fault
适用范围
以原帖系统、软件版本与发布日期为准(2021-06-23)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 4.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。