无效的 SPF 记录

Invalid SPF record

我有以下 SPF 记录:

v=spf1 include:servers.mcsv.net include:u3556354.wl.sendgrid.net ?all

然后我给 http://dkimvalidator.com 发了一封电子邮件,但他们给了我错误:

结果:permerror(包含域 'u3556354.wl.sendgrid.net' 没有适用的发件人策略)

完整消息在这里:

Looking up TXT SPF record for thedealerapp.co.uk
Found the following namesevers for thedealerapp.co.uk: ns2.wixdns.net ns3.wixdns.net
Retrieved this SPF Record: zone updated 20170509 (TTL = 69760)
using authoritative server (ns2.wixdns.net) directly for SPF Check

Result: permerror (Included domain 'u3556354.wl.sendgrid.net' has no applicable sender policy)

我该如何解决这个问题?

如其所说:u3556354.wl.sendgrid.net 处的主机名未发布 SPF 记录。 Sendgrid's documentation(这应该是你第一个看的地方)说你应该使用普通的 sendgrid.net.

?all作为您的默认操作意味着您的 SPF 记录几乎完全无效,并且不会采取任何措施来防止伪造;您应该改用 ~all

因此您的 SPF 记录应该是:

v=spf1 include:servers.mcsv.net include:sendgrid.net ~all