SPF RFC最后包含一个complex example,这让我很困惑。 A.4. Multiple Requirements Example
Say that your sender policy requires both that the IP address is
within a certain range and that the reverse DNS for
我需要为子域配置SPF记录。 DNS主域(我用谷歌邮件): IN MX 1 aspmx.l.google.com.
IN MX 10 aspmx3.googlemail.com.
IN MX 10 aspmx5.googlemail.com.
IN MX 10 aspmx4.googlemail.com.
IN MX 10 aspmx2.googlemail.com.
IN MX 5 a
所以我使用的是mail-tester.com,这很好,除了现在我非常困惑。我第一次跑了测试,下面是它说(在SPF部分,其中的问题是:您不允许使用发件人的电子邮件地址之一) What we retained as your current SPF record is:
v=spf1 a mx ~all
It should be changed to:
v=spf1 a mx