我们注意到我们的很多电子邮件都被错误地标记为垃圾邮件。在网上看了一下,解决这个问题的一个好方法是在DNS中添加SPF记录,所以我们添加了一个包含以下内容的TXT记录:
v=spf1 a mx ip4:162.123.189.010 include:_spf.google.com include:bluehost.com ~all
Run Code Online (Sandbox Code Playgroud)
Bluehost 是我们的主机提供商,162.123.189.010 是我们来自 blue host 的 VPS IP 地址,并且需要 _spf.google.com,因为我们使用 GMail 发送/接收电子邮件。
在Google 的 MX tester上运行测试后,我们得到以下错误:
The SPF string can not be parsed, do you have any typos in it?
Decision permanent error in processing
Explanation SPF Permanent Error: Too many DNS lookups
Record v=spf1 a mx ip4:162.123.189.010 include:_spf.google.com include:bluehost.com ~all
Run Code Online (Sandbox Code Playgroud)
有谁知道问题是什么?