What is the email SPF entry for sending from Yahoo!?
Solution 1:
Answer (use this in your TXT record):
"v=spf1 a mx include:_spf.mail.yahoo.com ?all"
So far the answers all show the host
command. Which is fine.
"dig" / "host" / "nslookup" all work for Linux and grabbing TXT records.
dig
is my favorite:
dig @ns1.yahoo.com yahoo.com TXT
Will show you all the TXT records (and SPF) for the domain (apex in this case).
Under Windows CMD or Powershell use nslookup
:
nslookup -type=TXT yahoo.com
PS C:\Windows\system32>nslookup -type=TXT yahoo.com
Server: my.localdomain
Address: 10.10.10.1
Non-authoritative answer:
yahoo.com text =
"v=spf1 redirect=_spf.mail.yahoo.com"
yahoo.com text =
"facebook-domain-verification=gysqrcd69g0ej34f4jfn0huivkym1p"
yahoo.com text =
"edb3bff2c0d64622a9b2250438277a59"
or for an authoritative answer:
nslookup -type=TXT yahoo.com ns1.yahoo.com
Solution 2:
Yahoo now provides an SPF record:
$ host -t txt yahoo.com
yahoo.com descriptive text "v=spf1 redirect=_spf.mail.yahoo.com"
Details on their policy here.
Solution 3:
While Google Apps makes this simple, I don't think Yahoo! does.
Yahoo! favors DomainKeys over SPF, to the point that they don't publish SPF records for their own domain:
$ host -t txt yahoo.com
yahoo.com has no TXT record
The other think to think about is that this rule could presumably allow anyone else with a Yahoo! Plus account to spoof mail from your domain (assuming proper controls were not implemented on the Yahoo! side when the mails were accepted).
Solution 4:
Yahoo.co.uk still don't have spf information:
host -t txt yahoo.co.uk
yahoo.co.uk descriptive text "Yahoo! Inc."