我正在实施 opendkim,但我只能让它为 1 个区域签名。即使两个域的密钥/签名/文件相同,tld 仍无法签名。
我的.conf:
cat /usr/local/etc/mail/opendkim.conf
LogWhy yes
Syslog yes
SyslogSuccess yes
Canonicalization relaxed/simple
Socket inet:[email protected]
MilterDebug 5
ReportAddress [email protected]
SendReports yes
InternalHosts file:/usr/local/etc/TrustedHostList.txt
SigningTable refile:/var/db/opendkim/dkim-signtable
KeyTable file:/var/db/opendkim/dkim-keytable
签名表:
cat /var/db/opendkim/dkim-signtable
*@nyctelecomm.com nycmap
*@e-mailer.com emailmap
密钥表转到同一个密钥:
cat /var/db/opendkim/dkim-keytable
emailmap e-mail.com:default:/var/db/opendkim/keys/e-mailer.com.key
nycmap nyccomm.com:default:/var/db/opendkim/keys/e-mailer.com.key
port25.com 的回复:
----------------------------------------------------------
DKIM check details:
----------------------------------------------------------
Result: permerror (key "default._domainkey.e-mail.com" doesn't exist)
ID(s) verified:
Canonicalized Headers:
from:"user"'20'<[email protected]>'0D''0A'
to:<[email protected]>'0D''0A'
subject:'0D''0A'
date:Mon,'20'16'20'Mar'20'2015'20'16:53:33'20'-0400'0D''0A'
dkim-signature:v=1;'20'a=rsa-sha256;'20'c=relaxed/simple;'20'd=ex-mail.com;'20's=default;'20't=1426539201;'20'bh=MhPgNzFR7ZDrllybqjf7Ky1x0INMPJ5OEWy00nl+zGI=;'20'h=From:To:Subject:Date;'20'b=
就像 -> 服务器故障
我如何让 opendkim 对我的两个域名进行签名而不是只签名一个?
答案1
尝试在您的密钥文件中更改ex-mail.com
为。ex-mailer.com