我使用OpenDKIM和Postfix。我需要在同一封邮件中对信封自和标题进行签名。
当我发送邮件时,我仅看到该电子邮件是使用域标头为from而不是使用信封自签名的。
在opendkim配置中,我添加了MultipleSignatures yes
变量,但是它对我不起作用。
这是OpenDKIM的配置:
Mode sv
Syslog yes
SyslogSuccess yes
LogWhy yes
UserID opendkim:opendkim
Socket inet:8891@localhost
Umask 002
SendReports yes
Canonicalization relaxed/relaxed
Selector default
MinimumKeyBits 1024
KeyFile /etc/opendkim/keys/default.private
KeyTable /etc/opendkim/KeyTable
SigningTable refile:/etc/opendkim/SigningTable
ExternalIgnoreList refile:/etc/opendkim/TrustedHosts
InternalHosts refile:/etc/opendkim/TrustedHosts
TemporaryDirectory /var/tmp
OversignHeaders From,Sender
MultipleSignatures yes
SigningTable
*@mail01.domain1.com mail._domainkey.mail01.domain1.com
*@domain2.com dkim._domainkey.domain2.com
KeyTable
dkim._domainkey.domain2.com domain2.com:dkim:/etc/opendkim/keys/domain2.com/dkim.private
mail._domainkey.mail01.domain1.com mail01.domain1.com:mail:/etc/opendkim/keys/mail01.domain1.com/mail.private
尽管电子邮件已签名,但我也需要使用邮件头和smtp.mail邮件进行签名
smtp.mailfrom=mail01.domain1.com; live.com.ar; dkim=pass (signature was
verified) header.d=domain2.com;live.com.ar; dmarc=bestguesspass
action=none header.from=domain2.com;compauth=pass reason=109
Received-SPF: Pass (protection.outlook.com: domain of mail01.domain1.com
designates 200.x.x.x as permitted sender)
有什么想法吗?
此致