Mandrill: SPF Permanent Error: Invalid domain found (use FQDN)

时间:2016-04-25 09:05:01

标签: mandrill spf

I'm trying to set up Mandrill with one of our client's domains but receiving the error when trying to set up the SPF record:

An unexpected error occurred while checking your domain: SPF Permanent Error: Invalid domain found (use FQDN): 123.123.123

The domain has a current SPF record as follows:

v=spf1 mx ptr ptr:123.123.123 ~all

As per Mandrill's instructions I should add to the existing record as follows:

v=spf1 mx ptr ptr:223.197.169.174 include:spf.mandrillapp.com ~all

Which results in the above error. I have also tried creating a new record instead, which Mandrill also didn't like. Any ideas what I can do?

1 个答案:

答案 0 :(得分:4)

PTR机制应指定域名而不是ip-address。如果未指定域,则将使用默认域。

但强烈建议不要使用PTR机制,因为它会给解析服务器带来沉重的负担(http://tools.ietf.org/html/rfc7208#section-5.5

所以我认为看起来像这样的记录会这样做:

v=spf1 mx include:spf.mandrillapp.com ~all

v=spf1 mx ptr include:spf.mandrillapp.com ~all

如果您仍然需要ptr机制。