appmaildev DKIM测试失败permerror(没有键)

时间:2014-10-07 21:30:46

标签: email dns dkim

我正在尝试为我的邮件服务器配置DKIM,而appmaildev一直在使DKIM测试失败,并出现以下错误:

============================================================
DKIM result: permerror (no key)
============================================================
Signed by: daniel@dgriffen.com
Expected Body Hash: 47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU=

邮件标题中的签名如下所示:

DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mail.dgriffen.com;
s=mail; t=1412713480;
bh=47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU=;
h=To:Subject:Date:From:From;
b=ZX2a8kFI6/n1ctLv+sqNsm/PNSdV2sWa55uFRpNHJZ9Pya4HGa5otONWRITzIM1R3
 UYoI3R2quVvdccazK3Ii2H5iwcZqOILV4qLIbxWQTheI5VG0XZ7gqzVMHQFjM5iv1G
 JMgJe2fDzbHNZr1noxvNv2Ww3G/FwBqYA8vUc0+w=

我的DNS DKIM记录如下:

nslookup -q=TXT mail._domainkey.dgriffen.com
Server:     127.0.1.1
Address:    127.0.1.1#53

Non-authoritative answer:
mail._domainkey.dgriffen.com    text = "v=DKIM1\; k=rsa\;p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDniqJ6/NqLk558P+oRaLBYMcsnK76nxGA1fzaMlYmnc8v9vcttbByt9joZ0Fa3u+EwIf13cs8L9kAK05hWnYqK045k9FNqbAVJvMPtcWff+EGJhO6zv8Cmzzst2HU3Q2s2NjFpTlDUXHU/6F6DOcVRRRMSkKWZ+rVrwKMYCmXScQIDAQAB\;"

Authoritative answers can be found from:

据我所知,一切都设置正确。正在使用正确的选择器,这似乎是这种情况下最常见的错误。错误报告返回的值也期望签名中包含的值。谁能看到我在这里做错了什么?

1 个答案:

答案 0 :(得分:2)

找出问题所在。标签d = mail.dgriffen.com需要是dgriffen.com。这是opendkim的Keytable文件的问题。如果您有任何人按照ars technica上的教程了解如何设置自己的电子邮件服务器,那么这个教程就会出现问题。