[英]How to set DKIM and SPF in Exchanbge mail server
I have implemented an exchange mail server 2013 . 我已经实现了一个交换邮件服务器2013。 sending email is fine . 发送电子邮件很好。 I want to set different domain for any email as sender which I did that too . 我也想为任何电子邮件设置不同的域作为发件人,我也这样做。 Now the problem is that I want to set SPF and DKIM records . 现在的问题是我想设置SPF和DKIM记录。 My questions : 我的问题:
1 - Do I have to set SPF and DKIM records for any sender domain in my server records ? 1-是否必须在服务器记录中为任何发件人域设置SPF和DKIM记录? or they have to be set up on their domains and I need something else when I send emails ? 还是必须在他们的域上设置它们,并且在发送电子邮件时我还需要其他东西?
2 - Is setting SPF and DKIM records just easy as saving records on server or something in exchange server is needed ? 2-设置SPF和DKIM记录是否容易,因为需要将记录保存在服务器上或需要将其保存在交换服务器中?
SPF is "envelope sender", "return path", "reverse path", "bounce address", "2821 FROM", or "MAIL FROM". SPF是“信封发送者”,“返回路径”,“反向路径”,“退回地址”,“ 2821 FROM”或“ MAIL FROM”。 RFC5321.MailFrom RFC5321.MailFrom
So for every domain that has it's own "See definition above" will have to have it's own TYPE 16 (TXT) SPF record in DNS. 因此,对于每个拥有自己的“请参阅上面的定义”的域,都必须在DNS中拥有自己的TYPE 16(TXT)SPF记录。
DKIM with Exchange - That's a whole different ballgame. 带有Exchange的DKIM-完全不同。 I never done it before, but from those I spoke with you have to use a third party tool to do it (Or if you're talented enough code your own). 我以前从未做过,但是与我交谈过的人必须使用第三方工具来完成(或者如果您有足够的才能自己编写代码)。 But I would go the proven route and just use one of the solutions below. 但是,我会采用行之有效的方法,只使用以下解决方案之一。
https://github.com/Pro/dkim-exchange https://www.emailarchitect.net/domainkeys/kb/dkim_exchange_2007_2010_2013.aspx https://github.com/Pro/dkim-exchange https://www.emailarchitect.net/domainkeys/kb/dkim_exchange_2007_2010_2013.aspx
I don't endorse these products, simply because I haven't used them, but I heard they are excellent tools. 我不认可这些产品,仅仅是因为我没有使用过它们,而是听说它们是出色的工具。 I also heard some people having a little difficulty setting them up and getting them to work, so test with a Mail Tester Tool just to ensure it's working properly. 我还听到有些人在设置它们并使它们正常工作方面有些困难,因此请使用Mail Tester Tool进行测试以确保其正常工作。
@henry @亨利
I have used this site which dkim should be like that. 我已经使用过该站点 ,而dkim应该是这样的。 At first I didn't know how it works. 起初我不知道它是如何工作的。 Then I got there are 2 keys . 然后我有2个键。 Public and private. 公立和私立。 The public one should be set on x.com as a TXT record and the private one should be kept at exchange server . 应该在x.com上将公开的公开文件设置为TXT记录,而私有的公开文件应保留在交换服务器上。 The tool was helpful . 该工具很有帮助。 thanks 谢谢
Just one thing was vague for that and it was the place of storing private key in the exchange server 只是一件事含糊不清,这是在交换服务器中存储私钥的地方
Edited : 编辑:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.