我刚刚安装并配置了OpenDKIM,以便将其与服务器上的后缀和Dovecot一起使用。我可以向其他帐户发送电子邮件,但是当我检查标题时,我发现如下:
dkim=temperror (no key for signature)这里是我所做的最重要的配置(实际上,我遵循了本教程来自数字海洋)。我的服务器正在运行Ubuntu14.04 (x86)。
事实上,我如何纠正这个错误呢?(这行告诉我,邮件没有经过验证)。
AutoRestart Yes
AutoRestartRate 10/1h
UMask 002
Syslog yes
SyslogSuccess Yes
LogWhy Yes
Canonicalization relaxed/simple
ExternalIgnoreList refile:/etc/opendkim/TrustedHosts
InternalHosts refile:/etc/opendkim/TrustedHosts
KeyTable refile:/etc/opendkim/KeyTable
SigningTable refile:/etc/opendkim/SigningTable
Mode sv
PidFile /var/run/opendkim/opendkim.pid
SignatureAlgorithm rsa-sha256
UserID opendkim:opendkim
Socket inet:12301@localhost127.0.0.1
localhost
192.168.0.1/24
*.fjweb.club1115._domainkey.fjweb.club fjweb.club:1115:/etc/opendkim/keys/fjweb.club/1115.private*@fjweb.club 1115._domainkey.fjweb.clubSOCKET="inet:12301@localhost"milter_protocol = 2
milter_default_action = accept
smtpd_milters = inet:localhost:12301
non_smtpd_milters = inet:localhost:12301发布于 2015-11-03 17:52:19
我终于发现了这个问题,而且可能很傻,但我会把它留在这里,这样任何人都可以先检查一下:
的主机值旁边。
我的意思是: OpenDKIM需要一个TXT记录(检查域名的DNS设置)来成功地签名电子邮件。检查它的"Name“(或"host")列:那应该是default._domainkey,而不是default._domainkey.yourdomain.bla!
https://serverfault.com/questions/733452
复制相似问题