HostGator.com » Support Portal

Problems with spoof, SPF

If you are getting tons of spam return-messages (like Failure Notification or Mailer Daemon)...THIS IS SPOOF

Partial solution: Enable Default Address and set every catchall to :fail: no such address here. This will stop you from getting the bounce-backs, but the real problem may not be solved.

Full solution: You need to create an SPF record. An SPF record is an entry added to the DNS zones for a domain. This record verifies that a user has permission to send mail from that domain. This is used to prevent spoofing for your domain.

Notice: HostGator automatically creates an SPF record for all shared and reseller customers. You can check the existence of your SPF record at nwtools.com by selecting the DNS Records search and submitting your domain name. Then look for a TXT record with "v=spf1 ..." as the value.

How to create an SPF record via cPanel.

  1. Login to your cPanel and click the "Advanced DNS Zone Editor" icon. (If you do not have this icon, you cannot create this record via cPanel. Contact HostGator to request this icon.)
  2. Select the desired domain name from the drop-down.
  3. Under "Add a Record", enter this information:
    • Name: type your domain name (without the www)
    • TTL: 14400
    • Type: TXT
    • Address: you need to create this special code, or use an SPF wizard to generate the code
  4. Click the "Add Record" button.

How to create an SPF record via WHM.

  1. Login to your WHM and click the "Edit DNS Zone" link. (Under DNS Functions.)
  2. Select the desired domain name from the "Choose a Zone to Edit" list.
  3. Under "Add New Entries Below this Line", enter this information:
    • In the first blank: type your domain name (without the www), then add an extra dot at the end [example: hostgator.com. ]. (It is extremely important to include a trailing dot at the end of your domain, or you may break your DNS.)
    • Do NOT change the 14400 part.
    • In the "Select" drop-down: choose TXT
    • In the "Text Information" box: you need to create this special code, or use an SPF wizard to generate the code
  4. Click the "Save" button at the very bottom of the page.

You also need to know...

SPF records only work if your mail service bothers to authenticate outgoing emails.

Anyone who uses a mail server which does not respect SPF record will be able to send spoof emails. Currently, the SPF record is widely used by popular hosting and email companies. (Especially HostGator, Google/Gmail, Yahoo, Hotmail, etc.)


Article Comments

Jonathan Strait
This seems pointless since the spammers who are using spoofs will most certainly choose to SEND from a server not using/respecting SPF.

Is there some other solution to this?? My domain is broadly categorized as a source of spam now after so many spoofs using it.

Frustrated

HostGator
If you need more protection for your email reputation, especially against spoof and random blacklisting, you will need to upgrade to VPS or Dedicated Server.

On those plans, you can setup email with a dedicated IP address and a PTR record.

HostGator
Thank you for your comments. Just a quick reminder that the comments on this page are not monitored by technical support staff, and that for support issues, it is best to contact us by live chat, phone or email so we can assist you right away.

Although comments are not monitored by technical support staff, they are moderated and read by technical writers. Comments will need to be approved by a moderator before appearing.

Our technical writers do read the comments periodically for the purposes of updating the articles, and do appreciate your feedback, suggestions and corrections to the articles themselves, as well as any suggestions or tips for readers of this article. However, support questions posted here are not guaranteed to be replied to in a timely manner or at all. For support issues, it is best to contact our support staff instead by live chat, email or phone.



Your comments help us keep the knowledge base updated. This is not a medium for support. If you have questions or need help, please contact us via email, phone or live chat for fast assistance.

Post Comment