Your email goes to spam when the receiving server cannot prove the message really came from your domain, or does not trust the place it came from. SPF, DKIM and DMARC are three DNS records that supply that proof. Gmail, Yahoo and Outlook.com now expect them from every serious sender. This article explains what each record does, what the large mailbox providers ask for, and what else decides whether your mail reaches the inbox.
Anyone can type any address into the From line of an email. Email was built without a check on the sender, and criminals use that to send invoices, payment changes and password resets that appear to come from real businesses. A receiving server has no way to tell your genuine invoice from a forged one unless your domain publishes rules it can check.
So every incoming message is judged on two questions. Can the sender prove it is allowed to use this domain? And does the sender have a history of sending mail people want? SPF, DKIM and DMARC answer the first question. Reputation answers the second. A message that fails either one is a candidate for the spam folder.
SPF (Sender Policy Framework) is a DNS record that lists the servers allowed to send mail for your domain. The receiving server looks at where the message came from and checks it against that list.
Three details catch businesses out:
SPF also breaks when mail is forwarded. The forwarding server is not on your list, so the check fails at the final destination unless the forwarder rewrites the return address.
DKIM (DomainKeys Identified Mail) adds a digital signature to each message as it leaves your mail server. The public half of the signing key sits in your DNS. The receiving server uses it to confirm two things: the signed parts of the message were not changed on the way, and your domain takes responsibility for it.
That is all a DKIM pass proves. It does not say the message is honest or wanted. But a valid signature travels with the message through forwarding, which makes DKIM the more dependable of the two checks. The standard requires keys of at least 1,024 bits and recommends 2,048.
DMARC (Domain-based Message Authentication, Reporting and Conformance) closes the gap SPF leaves open. It passes only when SPF or DKIM passes for a domain that matches the From address your customer sees. That match is called alignment.
DMARC also lets you tell receivers what to do with mail that fails:
| Policy | What it asks the receiver to do |
|---|---|
p=none |
Nothing special. Deliver as usual and send reports. |
p=quarantine |
Treat failing mail as suspicious, usually the spam folder. |
p=reject |
Refuse failing mail. |
The reports are the useful part at the start. They show every server sending mail in your name, including the ones you forgot about. DMARC became a full internet standard in May 2026 as RFC 9989. It advises domain owners to start at none, move to quarantine, and only then reject, and to rely on DKIM rather than SPF alone.
Since February 2024, Gmail and Yahoo have required every sender to pass SPF or DKIM, to send over an encrypted connection, and to have matching forward and reverse DNS for the sending server. Microsoft added similar rules for Outlook.com in May 2025.
Larger senders face more. A domain that sends about 5,000 or more messages a day to personal accounts at these providers needs all three records:
Google says it began rejecting more non-compliant mail from November 2025, and it treats a domain that crosses the bulk threshold once as a bulk sender from then on. Microsoft sends non-compliant mail to Junk and says it may reject it.
Passing all three checks proves who sent a message. It does not prove anyone wants it. Providers also look at:
A compromised mailbox does the most damage here. One stolen password can send thousands of spam messages in an afternoon, and the reputation of every mailbox on that domain suffers. Our article on how infostealer malware steals saved passwords explains how that usually starts.
The step-by-step version, including a staged route to a DMARC reject policy, is in our help article on protecting your domain from spoofing and improving deliverability.
Every Noiz shared hosting plan includes email with webmail and spam filtering. The Email Security add-on goes further for a domain hosted with Noiz: we keep SPF, DKIM and DMARC configured, sign the zone with DNSSEC, and add advanced spam and virus filtering. For an organisation that wants its mail on a server of its own, Private Email is quoted per deployment, and we run the server and set up the DKIM, SPF and DMARC records for it.
If your mail keeps landing in spam, add Email Security to your domain from the client area, or open a ticket and we will look at your records with you.
Checked 19 October 2026.
Standards
Mailbox providers
Reputation
Noiz
Note: while some of this content was produced with the help of AI, the final editing has been done by a real human being.