SPF Record to Prevent Spoofing & Improve E-mail Reliability

June 16, 2016 397 views

I have a SPF record and someone is spoofing it and the my email go to spam. I have a newsletter that I need to get out and I am having problems. Here is the current SPF file and it is not working like it should. I am in the US and someone is spoofing my email address from South America.

Here is my SPF record.

v=spf1 a mx ptr ?all TTL 14400

Any help would be greatly appreciated. Thanks

  • Have you used a free service like mxtoolbox to check your spf and dkim records?

  • I have used this told me that my SPF was not good. But it does not tell me what to change it to. ?

1 Answer

Use this DO tutorial on SPF to guide your SPF value. Note that there is no "TTL 14400" in the SPF standard.

by Pablo Carranza
A carefully tailored SPF record will reduce the likelihood of your domain name getting fraudulently spoofed and keep your messages from getting flagged as spam before they reach your recipients.
  • I have seen that but I cannot understand it. I have no idea what it all means relating to what each one will actually do? Is this standardized meaning that a set of rules will work on any mail server? Can anyone suggest rules to try to see if they can work for me? I hate to sound stupid but I don't have a clue as to what I need.

    Thanks for any help gndo.

    • @need2011 - Try the simplest first, and remember that it can take hours for your DNS entries to propagate. If you want to just send from your domain:

      v=spf1 mx a:yourdomainhere  ~all

      If you want to also send via another domain like google gmail

      v=spf1 mx a ~all

      or instead of google gmail

      v=spf1 mx a ~all

      Note that I simplified the 'A' record host for the 2nd and 3rd example. Good luck.

      • Thanks for all your help. I will play with it for the next day or so to see what can work.

        Could you please elaborate on the 'A' record host a bit. Would this be a variable that I would need to change?

Have another answer? Share your knowledge.