Skip to content
Back to StackCP Hosted Email

How do I add another server/include to an SPF record?


If you use our mail servers but also send email for your domain through another service, such as Mailchimp or SendGrid, you need to add that service to your domain's SPF record. Otherwise email it sends for your domain may be rejected or marked as spam.

A domain should only have one SPF record. To add another service, add its include: to your existing record rather than creating a second record. Separate each entry with a space.

Our default SPF record is:

v=spf1 include:spf.stackmail.com a mx -all

To add another service, put its include before ours. For example:

  • Mailchimp: v=spf1 include:servers.mcsv.net include:spf.stackmail.com a mx -all
  • SendGrid: v=spf1 include:sendgrid.net include:spf.stackmail.com a mx -all

If you use more than one service, add an include for each, for example:

v=spf1 include:servers.mcsv.net include:sendgrid.net include:spf.stackmail.com a mx -all

Edit the TXT record where your domain's DNS is managed:

  • StackCP nameservers (ns1.stackdns.com to ns4.stackdns.com): log into StackCP by following this guide and select Manage DNS.
  • Westhost nameservers (dns1.westhost.com to dns3.westhost.com): edit the DNS in your CHI account. See How To Manage DNS.
  • Another provider's nameservers: edit the DNS in that provider's control panel.

For more about SPF, see What is a SPF record and can I add one to my domain name?