How To Whitelist Multiple Sending Providers in One SPF Record

November 30, 2025 • InboxGreenEmail Team

🚨 DKIM issues can silently kill replies.

If opens dropped, replies disappeared, or bounces increased, treat it as an incident. Run the scan and get a fix path.

No signup required. Works on any domain.

How To Whitelist Multiple Sending Providers in One SPF Record

Managing email sending for your SaaS business can feel like a juggling act. You want to ensure your emails land in the inbox, not the spam folder. One of the key players in this game is the SPF record. But what happens when you need to whitelist multiple sending providers? This article will guide you through the process, step by step.

Understanding SPF Records

SPF, or Sender Policy Framework, is a DNS record that specifies which mail servers are allowed to send emails on behalf of your domain. This helps prevent spoofing and phishing attacks. If your SPF record is misconfigured, your emails may not reach your recipients. That’s a problem you want to avoid.

The Problem

When you use multiple email service providers (ESPs) for sending emails, you can run into issues with your SPF record. Most domains can only have one SPF record. If you try to create multiple records, only one will be recognized, leading to deliverability issues.

For example, let’s say you use Mailgun for transactional emails and SendGrid for marketing campaigns. If you don’t configure your SPF record correctly, emails sent from either provider may end up in spam.

Step-by-Step Guide to Whitelisting Multiple Providers

Step 1: Identify Your Sending Providers

First, list all the ESPs you use. Here’s a simple example:

  • Mailgun
  • SendGrid
  • Amazon SES

Step 2: Gather SPF Information

Next, you need to gather the SPF information for each provider. Most providers will have documentation on what to include. Here are some common entries:

v=spf1 include:mailgun.org include:sendgrid.net include:amazonses.com -all

This record states that emails sent from your domain are valid if they come from the servers listed in the included domains.

Step 3: Create Your SPF Record

Now, combine the SPF entries into one record. Make sure to start with v=spf1 and end with -all to indicate that only the listed servers are allowed to send emails. Here’s how it looks:

v=spf1 include:mailgun.org include:sendgrid.net include:amazonses.com -all

This single SPF record now whitelists all three providers. Remember, you can include multiple providers as long as you stay within the DNS lookup limit of 10.

Step 4: Update Your DNS

Once you have your combined SPF record, it’s time to update your DNS settings. Log in to your domain registrar or DNS hosting provider and find the section for DNS management. Add or update the TXT record for your SPF entry.

Here’s a quick checklist:

  • Access your DNS settings.
  • Locate the TXT record for SPF.
  • Paste your new SPF record.
  • Save your changes.

Step 5: Validate Your SPF Record

After updating your DNS, it’s crucial to validate your SPF record. Use the InboxGreen checker to ensure everything is set up correctly. This tool will help you identify any issues that could affect deliverability.

Common Gotchas

Even experienced email marketers can run into pitfalls. Here are a few common issues to watch out for:

  • Too Many Lookups: Remember, SPF has a limit of 10 DNS lookups. If your record exceeds this, it may fail. Use the SPF generator to help you stay within limits.
  • Incorrect Syntax: A small typo can cause big problems. Double-check your syntax before saving.
  • Propagation Time: Changes to DNS records can take time to propagate. Be patient and validate after a few hours.

DKIM and DMARC: The Dynamic Duo

While SPF is crucial, it’s not the only player in the game. DKIM (DomainKeys Identified Mail) and DMARC (Domain-based Message Authentication, Reporting & Conformance) work alongside SPF to enhance your email security and deliverability.

DKIM adds a digital signature to your emails, verifying that they haven’t been altered in transit. DMARC helps you set policies for how your domain handles emails that fail SPF or DKIM checks.

To configure DKIM, you’ll need to generate a DKIM key from your ESP and add it as a TXT record in your DNS. For DMARC, you can create a record like this:

v=DMARC1; p=none; rua=mailto:[email protected]

This record tells receiving servers to send reports about your domain’s email authentication status.

What To Do Next

Now that you know how to whitelist multiple sending providers in one SPF record, it’s time to take action. Start by reviewing your current SPF settings. Use the InboxGreen checker to identify any issues. If you need help generating SPF, DKIM, or DMARC records, check out our SPF generator and DMARC generator.

Remember, email deliverability is an ongoing process. Regularly monitor your settings and adjust as needed. If you run into any challenges, our API can help you automate some of these tasks.

Don’t leave your email deliverability to chance. Take control today and ensure your emails reach the inbox. Check out our pricing page for more tools and resources to help you succeed.


Free Deliverability Scan

Check SPF, DKIM, DMARC and List-Unsubscribe for your domain in seconds.