1

有时,当我的服务器将电子邮件发送到由谷歌应用程序作为分发列表管理的“内部”地址时,我会收到这些错误

Received: from ovhprod.diveboard.com ([2607:5300:60:1d85::1])
    by mx.google.com with ESMTPS id e4si6519596qas.128.2013.08.14.00.28.57
    for <logs@diveboard.com>
    (version=TLSv1.2 cipher=RC4-SHA bits=128/128);
    Wed, 14 Aug 2013 00:28:57 -0700 (PDT)
Received-SPF: softfail (google.com: domain of transitioning plugin@diveboard.com does not designate 2607:5300:60:1d85::1 as permitted sender) client-ip=2607:5300:60:1d85::1;
Authentication-Results: mx.google.com;
   spf=softfail (google.com: domain of transitioning plugin@diveboard.com does not designate 2607:5300:60:1d85::1 as permitted sender) 

我确实添加了 SPF 记录,但看起来我做错了 - 任何提示!?

@ 10800 IN SPF "v=spf1 a mx include:smtp1.uservoice.com ~all"
@ 10800 IN SPF "v=spf1 include:_spf.google.com include:sendgrid.net ~all"
@ 10800 IN SPF "v=spf1 ip4:192.95.11.34/30 ptr ?all"
@ 10800 IN SPF "v=spf1 ip4:198.27.68.133/32 ip6:2607:5300:60:1d85::1/64 ptr ?all"
@ 10800 IN TXT "v=spf1 a mx include:smtp1.uservoice.com ~all"
@ 10800 IN TXT "v=spf1 include:_spf.google.com include:sendgrid.net ~all"
@ 10800 IN TXT "v=spf1 ip4:192.95.11.34/30 ptr ?all"
@ 10800 IN TXT "v=spf1 ip4:198.27.68.133/32 ip6:2607:5300:60:1d85::1/64 ptr ?all"
4

2 回答 2

0

每个主机只能有一个 1 SPF 字符串。SPF 记录可以指定为 TXT 或 SPF 记录。最佳做法是拥有 1 个 TXT 和 1 个 SPF 记录。

在此处检查您的域:http: //spf.myisp.ch

我建议您阅读维基百科上的整个 SPF 页面:http ://en.wikipedia.org/wiki/Sender_Policy_Framework#FAIL_and_forwarding

于 2013-10-09T16:51:41.360 回答
0

你的 SPF 记录写得不好。您只能拥有一个 SPF 记录。

您可以将它们全部替换为

"v=spf1 a mx ptr ip4:192.95.11.34/30 ip4:198.27.68.133/32 ip6:2607:5300:60:1d85::1/64 include:smtp1.uservoice.com  include:_spf.google.com include:sendgrid.net ~all"

然而,最后一个 SPF 规范建议避免使用 PTR 机制。

于 2016-07-10T18:27:41.673 回答