简体   繁体   English

如何在opendkim中为域电子邮件添加多个标志标头

[英]how to add more than one sign header to domain emails in opendkim

I have running opendkim in a server. 我在服务器上运行opendkim。
In this server I have two domains: 在这个服务器中,我有两个域:

  • the main 主要的
  • my gateway for outgoing emails 我发送电子邮件的网关

Now in my signing table I add by each domain a sign DKIM . 现在在我的签名表中,我按每个域添加一个符号DKIM

I want to know if its possible add two signs to secondary domain. 我想知道它是否可能在二级域中添加两个符号。

I want this because when our server use ip of main domain, and MAILGUN do the same, add DKIM sign of mailgun.org and add DKIM sign to yourdomain.org , I too want to add main domain's DKIM signature and secondary domain's DKIM signature to emails of secondary domain, for arrive to received folder in gmail and not in spam folder. 我想要这个,因为当我们的服务器使用主域名的IP,而MAILGUN也这样做时,添加mailgun.org DKIM标志并将DKIM标志添加到yourdomain.org ,我也想添加主域的DKIM签名和辅助域的DKIM签名辅助域的电子邮件,用于到达gmail中的已接收文件夹而不是垃圾邮件文件夹。

Best regards. 最好的祝福。

I found solution, you must edit /etc/opendkim.conf and add MultipleSignatures Yes, next is edit /etc/opendkim/SigingTable *@primary.com mail._domainkey.primary.com *@secondary.net mail._domainkey.secondary.net 我找到了解决方案,你必须编辑/etc/opendkim.conf并添加MultipleSignatures是的,接下来是编辑/ etc / opendkim / SigingTable *@primary.com mail._domainkey.primary.com *@secondary.net mail._domainkey.secondary。净

and add *@secondary.net mail._domainkey.primary.com 并添加*@secondary.net mail._domainkey.primary.com

That is all :) 就这些 :)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM