Ubuntu
DKIM 似乎在工作,但我得到“dkim=temperror (no key for signature)”
在 Ubuntu 20.04 上使用 Postfix 的 DKIM
電子郵件標題的一部分,因為它到達我的Google郵件帳戶:
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 root@smtpmail.rapidseohost.com designates 147.182.132.193 as permitted sender) smtp.mailfrom=root@smtpmail.rapidseohost.com; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=rapidseohost.com Return-Path: <root@smtpmail.rapidseohost.com> 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 <michael.rajhel@gmail.com> (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 root@smtpmail.rapidseohost.com 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 root@smtpmail.rapidseohost.com designates 147.182.132.193 as permitted sender) smtp.mailfrom=root@smtpmail.rapidseohost.com; 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 值。
我還有一個帶有 google 選擇器的 gmail 套件的 DKIM 記錄,效果很好:
google._domainkey.rapidseohost.com
非常感謝您的幫助。
標
Return-Path:
頭引用您的發送信封地址結尾@smtpmail.rapidseohost.com
和您的主機被稱為smtpmail.rapidseohost.com
,這是不同的形式smtp.rapidseohost.com
。更改發送地址,或添加該子域的記錄。