Blog / Guide Guide

Business email in spam: SPF, DKIM and DMARC explained

The customer fills in the form, you send the quote that same evening, and then nothing. A week later you call and find out they never saw your email: it was sitting in the spam folder, between lottery wins and parcels nobody ordered.

It happens more often than you would think, and it almost never depends on what you wrote. It depends on how the domain you write from is set up. The awkward part is that nobody warns you: the email leaves without errors, and you stay convinced it arrived.

Let's look at what Gmail, Outlook and the others actually check before deciding where to put your message, and what it takes to end up on the right side.

Why an honest email lands in spam

The protocol that carries email was born at a time when people trusted each other. Even today, technically, anyone can send a message that claims to come from accounts@yourcompany.com. Fake invoices and fake bank detail changes live on exactly this.

To defend themselves, the large mailbox providers stopped trusting what the sender field says and now ask the domain to prove the message is genuine. If the proof is missing, the message is treated with suspicion, even when it is real. Since 2024 Google and Yahoo have made these checks an explicit requirement for anyone sending to their mailboxes, with stricter rules for high volumes, and Microsoft followed the same path in 2025.

There are three proofs, and they work together.

SPF: the list of who may send in your name

SPF is a line published in the domain's DNS that says, in short: "this company's mail only leaves from these servers". Whoever receives a message checks whether the server that delivered it is on the list.

The typical mistake is not a missing line, but an incomplete list. Office mail leaves from your mailbox provider, but order confirmations leave from the e-commerce platform, invoices from the management software, the newsletter from yet another service. If one of them is not on the list, its messages look like they were sent by a stranger.

One detail matters here: the line ends with an instruction about what to do with strangers. The soft version says "treat them with suspicion", the strict one says "reject them". Many domains stay on the soft version for years, and it protects very little.

DKIM: the signature on the message

DKIM adds a digital signature to every email. The sending server signs with a private key, the receiver verifies with the public key published in the DNS. If the signature checks out, two things are certain: the message really comes from that domain, and nobody changed it along the way.

The most common problems are two. The first is that signing was never switched on: many services offer it, but it has to be enabled by hand and a record has to be published. The second is a key that is too short. 1024-bit keys, standard until a few years ago, are now considered weak; the recommended length is 2048 bits. It can be replaced with no interruption, by keeping the new key next to the old one for a few days.

DMARC: what to do when the checks fail

SPF and DKIM say whether a message is genuine. DMARC tells the world what to do when it is not, and sends you reports about what is happening.

It has three levels:

  • Monitoring only: no message is blocked, but you receive reports on who is sending in your domain's name.
  • Quarantine: messages that fail the checks go to spam.
  • Reject: messages that fail are not delivered at all.

Reject is the only level that truly stops a fraudster from writing to your customers using your address. It is also the one that, if switched on in a hurry, can block legitimate mail you forgot to authorise.

The right order, so you don't lose mail

Rushing costs you here. The order we follow is always the same:

  1. Take a census of who sends. Office mailboxes, website, e-commerce, management software, newsletter, ticketing. Every service that sends email with your domain goes on the list.
  2. Enable SPF and DKIM for each one, with a key of adequate length.
  3. Turn DMARC on in monitoring mode and read the reports for a few weeks. This is where forgotten senders show up.
  4. Tighten step by step: quarantine, then reject, once the reports show that all genuine mail gets through.

Skip step three and you find the forgotten senders the hard way: from the customer who never received the invoice.

Three checks you can run today

You don't need to be technical to see where you stand.

  • Look at the original of one of your messages. Send yourself an email to a Gmail mailbox, open it and choose "Show original": at the top you will find three lines, SPF, DKIM and DMARC, each saying whether the check passed. Three "PASS" results are what you want.
  • Test every channel, not just your own mailbox. Place a test order, fill in the contact form, subscribe to your own newsletter. Every automatic message should be checked the same way, because each leaves from a different service.
  • Ask who receives the DMARC reports. If nobody in the company can answer, probably nobody reads them, or they were never turned on.

What the website has to do with it

Much more than it seems. The contact form, the sign-up confirmation, the password reset, the order receipt: these are all emails that originate from the site or the application. A project delivered with polished design and half-configured mail is a project that loses enquiries without anyone noticing.

That is why outgoing mail configuration is part of the job as much as page speed or server security. It is invisible, and that is exactly why it has to be verified.

In practice

If you cannot say for certain that your website's emails reach the inbox, or if a customer has already told you "I found it in spam", it is worth looking at the domain configuration before changing the wording of your messages.

We can check together how your domain presents itself to the people receiving your mail, and tell you what is missing and in which order to fix it. The quote is free, and often a few changes made in the right order are enough.

Got a project in mind? Request a quote ↗ ← All articles