SquareByteDigital Services

Knowledge base · Email

Why your emails land in spam, and the three records that fix it

Email was designed in a more trusting era: anyone can type any address into the “From” line. Scammers take advantage of that, so mailbox providers check whether a message really came from who it claims. Three DNS records answer that question. Without them, your legitimate emails are more likely to land in spam, and criminals can more easily pretend to be you.

SPF: who is allowed to send

Sender Policy Framework is a DNS record listing the services allowed to send email for your domain: your email provider, your newsletter tool, your booking system. Mail from anywhere else looks suspicious.

DKIM: a tamper-proof signature

DomainKeys Identified Mail adds a cryptographic signature to each message. Receiving servers check it against a public key in your DNS to confirm the message is genuine and wasn’t changed along the way. Your email provider generates the key; you publish it.

DMARC: the policy and the reports

DMARC ties the two together. It tells receivers what to do with mail that fails the checks, and sends you reports about who is sending email using your domain. The policy has three levels:

  • p=none: just monitor and report. The safe place to start.
  • p=quarantine: send failures to spam.
  • p=reject: refuse them outright. The goal.

Why it matters more now

Since 2024, Google and Yahoo require bulk senders to have SPF, DKIM and DMARC, and expect every sender to have at least SPF or DKIM. Other providers are following. If your messages have started going to spam, this is the first place to look.

Doing it safely

  1. List every service that sends email as your domain.
  2. Set up SPF and DKIM for each of them.
  3. Publish DMARC at p=none and read the reports for a few weeks.
  4. Fix anything legitimate that fails, then move to quarantine, then reject.

Jumping straight to reject can block your own invoices or newsletters, which is why the reports step matters. This is a standard part of every Protect engagement.