SPF, DKIM and DMARC Explained: How to Keep Your Emails Out of Spam
Are your emails landing in the spam folder? Often SPF, DKIM or DMARC are missing. We explain these three records clearly and show how to set them up.

In short: SPF, DKIM and DMARC are three DNS records for your domain that help recipients verify if an email really comes from you. SPF specifies which servers are allowed to send, DKIM digitally signs each email, and DMARC defines what to do with emails that fail the checks. Without them, emails are more likely to end up in spam.
- SPF = authorized sending servers.
- DKIM = digital signature for every email.
- DMARC = policy for failed checks plus reporting.
- Google, Yahoo and Microsoft require them from large senders – but they are useful for everyone.
Why are SPF, DKIM & DMARC important?
Email senders are easy to fake. Scammers exploit this for phishing under real company names. Major mailbox providers therefore verify authenticity. Since February 2024, Google and Yahoo require SPF, DKIM and DMARC from senders with over 5,000 emails per day; Microsoft follows from May 2025. Smaller senders are not required to have these records but benefit from improved delivery and brand protection.
SPF: Who is allowed to send on my behalf?
An SPF record (TXT record) lists all servers authorized to send emails for your domain – for example, your mail server, newsletter tool, or online shop. A simplified example:
v=spf1 mx include:_spf.example-newsletter.com ~all
Important: Only one SPF record per domain is allowed, and the number of DNS lookups within it is limited.
DKIM: The digital signature
With DKIM, your mail server digitally signs each outgoing email using a private key. The matching public key is published in your DNS. The recipient uses this to verify the email wasn’t altered in transit and truly originates from your domain.
DMARC: The house rules
DMARC links SPF and DKIM with the visible sender address and sets a policy:
| Policy | Meaning | When to use? |
|---|---|---|
| p=none | monitor only, receive reports | at the start |
| p=quarantine | send suspicious emails to spam | when all legitimate senders are correctly set up |
| p=reject | reject suspicious emails | maximum protection against spoofing |
Start with p=none and analyze reports for several weeks. This prevents your own legitimate emails – e.g. from your shop or newsletter service – from being accidentally blocked.
How to check your setup
- Send a test email to a Gmail or Outlook mailbox.
- Open the original message or source code.
- Look for
spf=pass,dkim=pass, anddmarc=pass.
Additional tips for good deliverability
- Only send to recipients who want your emails; provide easy unsubscribe options for newsletters.
- Use consistent sender address and domain.
- Avoid large attachments to many recipients – use links instead.
- After a hosting provider change, update your records accordingly.
Common setup mistakes
- Forgotten senders: Newsletter tools, shops, accounting software or contact forms also send on your behalf and must be included in SPF and DKIM.
- Too many DNS lookups: SPF allows only a limited number of nested lookups. Exceeding this causes failures.
- Switching to “reject” too quickly: Enforcing a strict policy without reviewing reports often blocks your own emails.
- Different sender domain: DMARC checks if the verified domain matches the visible sender address. If a service sends from its own domain, this alignment is missing.
Conclusion
SPF, DKIM and DMARC are essential for every business domain today. Setup doesn’t take long but has lasting impact. MYPOINT configures these records for your own email address – contact us.