Web Design & Development, Branding & Marketing Delivering by a leading Birmingham Agency

Share this

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

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

What’s in this guide?

  • Adding an SPF Include
    • G Suite
    • Office 365
    • Mailchimp
    • SendGrid
  • Adding an IP to an SPF

Addin an SPF Include

If you’re using MEDIAMAKS UK mail server but want to route emails via another provider – such as G Suite, Office 365 or Mailchimp – you may need to add a secondary sending server source to the SPF record.

You can do this by specifying multiple includes within the TXT record within Manage DNS. Each include is separated by a space and if any one include should fail, the SPF mechanism will simply move on to the next one. Below are some common providers you may need to add to your SPF record.

MEDIAMAKS UK default SPF record: v=spf1 include:spf.stackmail.com a mx -all

To include a secondary include, you can edit the record:

G Suite

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

Office 365

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


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


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

Add an IP address to an SPF Record

To add an IPv4 address to an SPF record, simple add ip4:followed by your IP address.

v=spf1 ip4:167.XX.XXX.40 include:spf.stackmail.com a mx -all

To add more than one, simply include ip4: twice with the respective IP address.

v=spf1 ip4:167.XX.XXX.40 ip4:123.XX.XXX.45 include:spf.stackmail.com a mx -all