All of a sudden many of my companies emails are being blocked by Hotmail and many others due to SPF. I've added v=spf1 ip4: a mx:hpdist.com ~all to my DNS settings as a TXT record. But this hasn't helped. Is there something server side I need to adjust?

  • 1
    Do you also have reverse DNS setup as well? – DanBig Jun 3 '14 at 17:00
  • 1
    You need to know where your mail is actually coming from. Does the header information returned in the bounce messages show this? – Christopher Karel Jun 3 '14 at 17:03
  • My apologies everyone, I found we had been blacklisted due to a virus. – Seth Jun 3 '14 at 17:27

Test to make sure your SPF record is set up correctly by sending an email to:


The address above will send email authentication results to USERNAME@YOURDOMAIN.com.


When troubleshooting SPF records, I use http://www.kitterman.com/spf/validate.html. This lets me test DNS records before I push them to the server, that way I know they'll work before I deploy them.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.