prsona
Get started
High: fix this week

SPF +all: a record that approves every mail server on the internet

Last reviewed

Your SPF record approves every mail server on the internet.

SPF +all is an ending on your SPF record, the DNS entry listing which servers may mail on behalf of your domain, that approves every server in the world. It turns the check into a rubber stamp, so forged mail in your name passes. Some inbox filters also read it as a warning sign. The fix is a one-line DNS edit so the record ends in ~all or -all.

Why an SPF record that allows any server costs you customers

SPF exists so a receiving inbox can tell your real mail apart from a stranger using your name. An ending of +all erases that difference, so a scammer sending fake invoices from any server gets the same pass as your office. Because the setting looks so careless, some filters also trust the domain less, which can push your genuine quotes and replies toward spam.

What usually causes an SPF record that allows any server

  • Someone switched the ending to +all to make a failing newsletter or form go through, and it was never switched back
  • A support agent suggested +all as a quick test
  • The record was copied from an old example that used +all or ?all
  • A sender was added by hand and the ending was retyped wrong
  • A neutral ending of ?all was chosen, which protects no better

How to check for an SPF record that allows any server yourself

  1. On a free DNS lookup site, select TXT and type your domain on its own, with no www in front.
  2. Find the single result that starts with v=spf1. That line is your SPF record.
  3. Read the very last word of that record. +all or ?all means any server is approved or ignored. ~all or -all is what you want to see.
  4. If the record ends in a bare "all" with no symbol in front, treat it as +all, because the standard reads a missing symbol as a pass.

How to fix an SPF record that allows any server

  1. You: list each service that mails customers or staff under your domain name, so nothing genuine gets blocked when the ending is tightened.
  2. Your web person: check that each of those services has its own include or address entry in the SPF record.
  3. Whoever manages your DNS: change the ending from +all or ?all to ~all, which marks unlisted servers as suspicious without refusing them outright.
  4. Your web person: watch a week of email, including form notifications and invoices, and add any service that starts failing to the record.
  5. Whoever manages your DNS: move to -all once every sender passes, if your email provider recommends it, and pair it with a DMARC policy of quarantine or reject.
  6. You: when a new service fails SPF in future, ask for it to be added to the record instead of loosening the ending again.

How Prsona catches an SPF record that allows any server

Prsona checks how your SPF record ends whenever it scans, and raises a high-priority finding if the ending would let any outside server pass, along with the safer ending to switch to.

Prsona looks for an SPF record that allows any server as part of email deliverability monitoring.

See whether your SPF record approves every server or only the ones you use.

Questions about an SPF record that allows any server

What is the difference between ~all, -all and +all?

They tell receiving servers how to treat mail from a server missing from your list. A tilde, ~all, is a soft fail that marks the message as suspicious. A minus, -all, is a hard fail saying the message should not be accepted. A plus, +all, means pass, so every unlisted server is approved, which is why it offers no protection.

Will changing +all to -all stop my own emails from arriving?

Only if a genuine sender is missing from the record. Any unlisted service starts failing once the ending is strict, so add your mailbox provider, form service, newsletter and invoicing software first. Starting with ~all and moving to -all after a quiet week is the cautious route.

Sources