我试图将我的 DKIM 公钥添加到我的域,但我不知道如何修改它这是我的整个公钥文件
mail._domainkey IN TXT ( "v=DKIM1; h=sha256; k=rsa; "
"p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAzYi5NvkmYqFqsnjriRnJ0jUjanxZf/+mbHdTiqD0xLX6E1d2P2ncVlMNekuLe/oglYH5XdQZtG/Ru2eXOVZ6PS+c06f6rulk08Qunr0wRZ/kX7hgICLQzgUmycDmgB2G+nwKQp0K0p8yqwQsc8mVAcfE00j9Ndmm1q8fH3ojrSlRK20h/Agj9n+Cuya1e9Dvd4viCZBUV7UA2z"
"a87N0HPAUSSEAnNtFD/er1CrOejGndFeKceyNALk3lS1WYMC4RIW0A/0VSfWYvyifWOPmIKOue1eBByshDw/b3jDmgwZaM5Ft+vmyZpjdgv9MmOWNNNfmP9aCoDcFDSgju5O1c5wIDAQAB" ) ; ----- DKIM key mail for vxempire.xyz
当我测试它时,发送电子邮件至[电子邮件保护],我得到了这些结果(我只发布了 DKIM 结果)
==========================================================
Summary of Results
==========================================================
SPF check: pass
"iprev" check: pass
DKIM check: permerror
SpamAssassin check: ham
----------------------------------------------------------
DKIM check details:
----------------------------------------------------------
Result: permerror (public key missing)
ID(s) verified:
Canonicalized Headers:
to:<[email protected]>'0D''0A'
subject:fsdfd'0D''0A'
date:Tue,'20'22'20'Jan'20'2019'20'20:05:53'20'+0100'20'(CET)'0D''0A'
from:[email protected]'20'(qorg)'0D''0A'
dkim-signature:v=1;'20'a=rsa-sha256;'20'c=relaxed/simple;'20'd=vxempire.xyz;'20's=mail;'20't=1548183953;'20'bh=3rhQvZl/qorCzillZMWP+MmcVlIsPKpHrwelGAB5i80=;'20'h=To:Subject:Date:From:Fro
+m;'20'b=
Canonicalized Body:
sfsdhjfhsdk'0D''0A'
fahsdkjfhds'0D''0A'
DNS record(s):
mail._domainkey.vxempire.xyz. 60 IN TXT "v=DKIM1; h=sha256; k=rsa;""p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAzYi5NvkmYqFqsnjriRnJ0jUjanxZf/+mbHdTiqD0xLX6E1d2P2ncVlMNekuLe/oglYH5XdQZ
+tG/Ru2eXOVZ6PS+c06f6rulk08Qunr0wRZ/kX7hgICLQzgUmycDmgB2G+nwKQp0K0p8yqwQsc8mVAcfE00j9Ndmm1q8fH3ojrSlRK20h/Agj9n+Cuya1e9Dvd4viCZBUV7UA2z""a87N0HPAUSSEAnNtFD/er1CrOejGndFeKceyNALk3lS1WYMC4RIW0
+A/0VSfWYvyifWOPmIKOue1eBByshDw/b3jDmgwZaM5Ft+vmyZpjdgv9MmOWNNNfmP9aCoDcFDSgju5O1c5wIDAQAB"
NOTE: DKIM checking has been performed based on the latest DKIM specs
(RFC 4871 or draft-ietf-dkim-base-10) and verification may fail for
older versions. If you are using Port25's PowerMTA, you need to use
version 3.2r11 or later to get a compatible version of DKIM.
我已经搜索过如何添加记录,但没有找到任何好的结果
谢谢
答案1
已修复,我必须写入整个密钥
v=DKIM1; h=sha256; k=rsa; p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAzYi5NvkmYqFqsnjriRnJ0jUjanxZf/+mbHdTiqD0xLX6E1d2P2ncVlMNekuLe/oglYH5XdQZtG/Ru2eXOVZ6PS+c06f6rulk08Qunr0wRZ/kX7hgICLQzgUmycDmgB2G+nwKQp0K0p8yqwQsc8mVAcfE00j9Ndmm1q8fH3ojrSlRK20h/Agj9n+Cuya1e9Dvd4viCZBUV7UA2za87N0HPAUSSEAnNtFD/er1CrOejGndFeKceyNALk3lS1WYMC4RIW0A/0VSfWYvyifWOPmIKOue1eBByshDw/b3jDmgwZaM5Ft+vmyZpjdgv9MmOWNNNfmP9aCoDcFDSgju5O1c5wIDAQAB