Wrinkles

Everyday skincare basics, explained plainly

SPF Record for MBS: Setup Guide

· 5 min read · Ingredients Explained

This guide explains how to configure an SPF (Sender Policy Framework) record for MBS, a managed business service platform that sends email on your behalf. Adding an SPF record tells receiving mail servers which IP addresses and hosts are authorized to send email for your domain, which helps prevent spoofing and improves email deliverability. You'll need access to your domain's DNS settings (usually through your domain registrar or hosting provider) and the MBS sending host information (typically provided in your MBS account settings or welcome email).

What You'll Need

  • Access to your domain's DNS management panel (e.g., GoDaddy, Namecheap, Cloudflare, or your hosting provider).
  • The MBS sending hostname or IP address (find this in your MBS account under Settings > Email or Sending).
  • Your domain name (e.g., yourcompany.com).
  • A basic understanding of DNS records (TXT records).

Step-by-Step

  1. Log in to your DNS provider. Go to your domain registrar or hosting provider's website and sign in. Navigate to the DNS management page (often called "DNS Management," "Zone Editor," or "Advanced DNS").
  2. Locate your existing TXT records. Look for a list of DNS records. You may already have a TXT record for SPF (it starts with "v=spf1"). If you have one, you'll edit it; if not, you'll create a new one.
  3. Get the MBS sending details. In your MBS account, go to Settings > Email or Sending. Look for a section labeled "SPF" or "Sender Authentication." Note the exact hostname or IP address MBS provides (e.g., send.mbs.com or 192.0.2.1).
  4. Create or edit the SPF record. Click "Add Record" or "Edit" next to the existing TXT record. Set the record type to TXT. In the "Host" or "Name" field, enter @ (or leave it blank if your provider uses a blank field). In the "Value" or "Text" field, type the SPF syntax: v=spf1 include:send.mbs.com ~all (replace send.mbs.com with the exact hostname from MBS). If MBS gave you an IP address, use ip4:192.0.2.1 instead of include:.
  5. Save the record. Click "Save" or "Add Record." Wait for DNS propagation, which can take anywhere from a few minutes to 48 hours.
  6. Verify the record. After propagation, use a free SPF lookup tool (e.g., MXToolbox, Google Admin Toolbox) to check your domain's SPF record. Enter your domain and confirm it shows the MBS include or IP.

Common Mistakes

  • Multiple SPF records: You can only have one SPF record per domain. If you already have one, you must edit it, not add another. Multiple SPF records cause a permanent error and email may be rejected.
  • Missing the include for other senders: If you use other email services (e.g., Google Workspace, Mailchimp), you must include them in the same SPF record. For example: v=spf1 include:_spf.google.com include:send.mbs.com ~all.
  • Using the wrong host: Some DNS panels require the host to be @ or empty. If you put your full domain (e.g., yourcompany.com) in the host field, the record may not be read correctly.
  • Using a hard fail (-all) too early: If you use -all (hard fail) before all legitimate senders are included, your emails may be rejected. Start with ~all (soft fail) until you're sure everything is correct.

Tips

  • Always use ~all (soft fail) initially. After confirming all legitimate senders are included, you can switch to -all for stricter protection.
  • Keep your SPF record under 255 characters total. If it's longer, you'll need to use subdomains or a different mechanism.
  • Use the include: mechanism for MBS rather than ip4: if MBS provides a hostname, because MBS may change IPs without notice.
  • Document your SPF record in a password manager or notes file so you can easily edit it later.
  • After making changes, send a test email to a free email service (e.g., Gmail) and check the headers to see if SPF passes.

Troubleshooting

  • SPF fails after setup: Check that the record is correctly formatted and that it includes all required mechanisms. Use an SPF checker to see the exact error. Common issues: missing v=spf1, wrong include host, or extra spaces.
  • Record not showing up: DNS propagation can take up to 48 hours. Wait, then use a global DNS checker (e.g., whatsmydns.net) to see if the record is visible from different locations. If it's still missing after 48 hours, contact your DNS provider.
  • Emails going to spam: SPF is only one part of email authentication. Check DMARC and DKIM as well. If SPF passes but emails still go to spam, the issue may be content or sender reputation.
  • Multiple SPF records error: If you see "permerror" in the SPF checker, it means you have more than one SPF record. Remove the older one and keep only one combined record.
  • MBS hostname not resolving: If the include hostname doesn't resolve to an IP, check that you copied it exactly. Contact MBS support if it still fails.

Frequently Asked Questions

What does SPF stand for?

Sender Policy Framework. It's an email authentication method that lists authorized sending IP addresses and hostnames for your domain.

Do I need SPF if I only use MBS for sending?

Yes, even if MBS is your only sender, you need SPF to tell receiving servers that MBS is authorized. Without it, your emails are more likely to be flagged as spam.

Can I have both an SPF record and a DMARC record?

Yes, they work together. DMARC uses SPF and DKIM to determine whether to accept, quarantine, or reject emails. You should set up both for best protection.

What is the difference between ~all and -all?

~all means "soft fail" — emails from unauthorized sources are marked as suspicious but not rejected. -all means "hard fail" — emails from unauthorized sources are rejected. Use ~all until you're confident everything is correct.

How long does DNS propagation take?

Typically 5 minutes to 48 hours. Most changes propagate within a few hours, but some ISPs cache DNS records for longer.

What if MBS provides a subdomain like mbs.yourcompany.com?

You don't need a separate SPF record for that subdomain unless you send email from it. The SPF record for your main domain covers all senders listed in it, including MBS's include.

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions