Back to Top

Help & Support

Get instant answers 24/7

Top > Questions & Answers

Should I include SpamHero's IPs in my domain's SPF record?

Yes, but not directly. Instead, add this phrase to your SPF record before the "all" parameter at the end:

If your domain has no SPF record, the following SPF record is usually a good starting point (add this as a TXT record in your domain's DNS settings):

v=spf1 a ~all

There may be more options that you may wish to include in your SPF record if your domain sends through other outbound services. Contact each provider that you send emails through to find out what their SPF record requirements are.

If you are a reseller, use the SPF include published in the reseller area of the control panel instead of the one above.

It is recommended that you add the above to your SPF record even if you do not send your outbound email through our service.  This is important for cases where your mail server might bounce an email back to our service and then our servers forward this bounced message back to the sender.  Without this, bounces from your mail server may not deliver back to the sender's server.

Sender Policy Framework (SPF) is an open standard that senders can use to publish which IPs are authorized to send email from their domain. There seems to be some confusion about the difference between having an SPF filter enabled for your domain and having an SPF record for your domain.  These are two different things. 

An SPF record is a special DNS record that tells the world what IP addresses that your domain is allowed to send email from.

An SPF filter is something that can be enabled on most mail servers.  It examines the SPF record of the envelope sender's domain and may block the message if the sender's IP is not listed in that domain's SPF record.

Having an SPF filter enabled for your domain is not recommended when you are using SpamHero as it may block domains that have SPF records from sending email to your domain.  If you are unable to shut off your SPF filter, you will need to enable our SPF workaround feature.  Removing your SPF record does not disable your server's SPF filter, and is counterproductive.

Having a properly configured SPF record for your domain is encouraged. While it won't prevent scammers from spoofing your domain on it's own (this is a popular myth), it can help improve the deliverability of your outbound emails.

Last updated June 8, 2022