Ubuntu 20.04 上带有 Postfix 的 DKIM
当电子邮件到达我的谷歌邮件帐户时,其标题的一部分如下:
ARC-Authentication-Results: i=1; mx.google.com;
dkim=temperror (no key for signature) [email protected] header.s=smtpmail header.b=MdGUxaPe;
spf=pass (google.com: best guess record for domain of [email protected] designates 147.182.132.193 as permitted sender) [email protected];
dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=rapidseohost.com
Return-Path: <[email protected]>
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 protected]>
(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 protected] 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) [email protected] header.s=smtpmail header.b=MdGUxaPe;
spf=pass (google.com: best guess record for domain of [email protected] designates 147.182.132.193 as permitted sender) [email protected];
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=
我以为是子域名问题,所以我尝试了两个不同的选择器记录。我的 DNS 中都有 DKIM TXT 记录:
smtpmail._domainkey.rapidseohost.com
smtpmail._domainkey.smtp.rapidseohost.com
两者具有相同的 DKIM 值。
我还有一个带有谷歌选择器的 Gmail 套件的 DKIM 记录,它工作得很好:
google._domainkey.rapidseohost.com
非常感激对此的帮助。
答案1
标题Return-Path:
引用了您的发送信封地址,并以 结尾@smtpmail.rapidseohost.com
,并且您的主机名为smtpmail.rapidseohost.com
,这是不同的形式smtp.rapidseohost.com
。
更改发送地址,或添加该子域的记录。