Skip to main content
AG·SORA
Technology

SPF, DKIM, and DMARC: Keeping Business Email Delivered and Safe from Domain Spoofing

Published 10 min readWritten by agsora.tech
AG·SORA / BLOGAG·SORATechnologySPF, DKIM, and DMARC:Keeping Business EmailDelivered and Safe fromDomain Spoofingagsora.tech
In this article

Many businesses only notice their email problems when it is too late: invoices sent by the system never reach customers, quotations land in spam, or worse, customers receive scam emails that appear to come from your company's domain. None of this is a mere technical annoyance. Email is the main channel for invoices, password resets, order confirmations, and communication with prospects, so email that fails to arrive means delayed revenue and weaker trust.

Since the large mailbox providers tightened their rules for bulk senders, three authentication mechanisms, SPF, DKIM, and DMARC, have moved from optional extras to baseline requirements. This article explains all three in terms a business owner can follow, then covers how to set them up without breaking the email that already works, including email sent by applications, ERP systems, and marketing tools.

Summary

  • SPF states which servers may send email on behalf of your domain, DKIM signs each message cryptographically, and DMARC decides what happens when both fail while sending you reports
  • Without all three, legitimate email lands in spam more often and others can more easily spoof your domain to deceive customers or partners
  • First register every email source: office mail, applications, ERP, online store, marketing tools, and ticketing systems, because a forgotten source is the main reason legitimate email gets rejected
  • Roll out DMARC gradually from monitoring to quarantine to reject while reading the aggregate reports
  • Separate transactional email from marketing email, and monitor domain reputation and bounce rates regularly

Why business email fails to reach its destination

The email protocol was designed decades ago, when networks were small and trusted. By default, anyone can write any sender address on a message. That is why fraudsters can send messages that appear to come from your finance department. Modern mailbox providers respond by evaluating each incoming message: is the sender actually authorized to use the domain shown, and was the message altered along the way?

For a business, the consequences run in two directions. First, if your domain does not configure authentication, genuine messages from you are treated with suspicion and land in spam or get rejected more often. Second, if your domain is easy to spoof, customers and partners become targets of scams that use your name, and brand reputation suffers. This threat is closely tied to the article on phishing, ransomware, and cybersecurity for small businesses, because domain spoofing is a key ingredient of convincing phishing attacks.

A red padlock on a black computer keyboard symbolizing secured access and digital communication
Email authentication protects two things at once: delivery of genuine messages and your domain name against spoofing.

Understanding the three mechanisms: SPF, DKIM, and DMARC

All three are published as DNS records on your domain. No software needs to be installed on employees' computers. What matters is understanding the role of each so the configuration is not simply copied from the internet.

SPF: the list of permitted senders

Sender Policy Framework is a record listing the servers or services allowed to send email for your domain. When a recipient receives a message, it checks the sender's IP address against that list. If it matches, the check passes. A limit of SPF that is often forgotten is the maximum of ten DNS lookups. Businesses that use many services at once, such as office mail, a marketing platform, a ticketing system, and applications, easily exceed that limit, causing SPF to fail without anyone noticing.

DKIM: a digital signature on the message

DomainKeys Identified Mail adds a cryptographic signature to the header of each email. The recipient verifies the signature using a public key stored in your DNS. If the signature is valid, the message was sent by whoever holds the private key and its content was not altered in transit. Each sending service usually gives you its own DKIM record that must be added to your DNS.

DMARC: policy and reporting

Domain-based Message Authentication, Reporting, and Conformance ties the two together. DMARC states that a message must pass SPF or DKIM with a domain aligned to the sender address that the reader sees. More importantly, DMARC tells recipients what to do when the check fails: do nothing, quarantine, or reject. DMARC also asks mailbox providers to send aggregate reports about who is sending email on behalf of your domain. These reports are how you discover email sources you did not previously know about.

Building an inventory of every email source

The most common mistake is not technical but about record keeping. Many systems send email on behalf of the company domain without the IT function ever documenting them. Before touching DNS, build a list covering:

  • The office email service employees use daily
  • Business applications and portals that send notifications, password resets, and verification codes
  • ERP, accounting, and billing systems that send invoices and payment reminders
  • Online stores and payment gateways that send order confirmations and receipts
  • Email marketing platforms, website forms, and sales automation tools
  • Customer support ticketing systems and HR software

For each source, note who owns it, which domain or subdomain it uses, and whether the service supports DKIM with your own domain. Older systems often send email straight from the application server without a dedicated email provider. This type is the most likely to fail authentication and should be moved to a reliable sending service. A broader discussion of integration between systems is in the article on webhooks and real-time integration for business.

A safe rollout sequence

Turning on DMARC immediately with a reject policy is the fastest way to get your own invoice emails rejected. A safer order looks like this.

1. Tidy SPF and enable DKIM on every source

Merge your SPF records into a single record, because a domain must not have more than one. Remove services that are no longer used. Enable DKIM signing on each sending service, then test by sending email to a test address and checking the resulting headers.

2. Publish DMARC with a monitoring policy

Start with a policy that only monitors. In this mode no email is rejected, but you begin receiving reports. Provide a dedicated address for reports, or use a report parsing service, because raw reports are XML files that are hard to read manually.

3. Read the reports for several weeks

Look for three things: legitimate sources that fail, unknown sources sending on behalf of your domain, and the volume of each source. Legitimate sources that fail must be fixed first. Unknown sources need investigation, because they may be a system forgotten in another department or a spoofing attempt.

4. Raise the policy gradually

Once the pass rate for legitimate email is close to one hundred percent, move to quarantine for a percentage of messages, then slowly to all of them, and finally to reject. Each step needs an observation period. At this stage an internal communication plan matters so that employees know when changes are made.

5. Document it and make it routine

Record who is authorized to change DNS, how new services are registered, and who reviews the reports. Without a routine, every new service added by marketing or sales will quietly break the configuration.

Transactional and marketing email should be separated

Transactional email, such as invoices, password resets, and order confirmations, has different delivery expectations from marketing email. Customers wait for transactional email and open it immediately, so its reputation is usually high. Bulk marketing email is reported as spam more often and can lower reputation.

If both use the same domain and IP address, a problem on the marketing side can drag transactional email into the spam folder. A common practice is to use a separate subdomain for marketing, for example for newsletters, and another for system notifications, each with its own SPF and DKIM. Strategy for content and marketing automation is covered in the article on email marketing and automation for online stores.

A team working together with laptops at a long shared desk to manage communication systems
Ownership of the email configuration should be clear: who changes DNS, who reviews reports, and who approves new services.

Other factors that affect deliverability

Authentication is a baseline requirement, not a guarantee. Mailbox providers also evaluate other things you can control:

  • List hygiene: remove addresses that often bounce and recipients who have been inactive for a long time
  • Recipient consent: send only to people who asked for it, and provide an easy way to unsubscribe
  • Volume consistency: a sudden spike from a previously quiet domain looks suspicious, so raise volume gradually for new domains or IP addresses
  • Content quality: avoid unclear shortened links, dangerous attachments, and an excessive ratio of images to text
  • Complaint rate: keep it very low, because spam complaints are the strongest negative signal
  • IP warm-up: if using a dedicated IP, start with small volumes to the most engaged recipients

The bulk sender rules tightened by large providers generally require authentication, one-click unsubscribe, and a low complaint rate. Exact thresholds change over time, so check the providers' official documentation before drafting internal policy.

Indicators worth monitoring

Once the configuration is running, monitor a few numbers regularly so problems become visible before customers complain.

  • The DMARC pass rate in aggregate reports, ideally close to one hundred percent for legitimate sources
  • Hard and soft bounce rates on transactional email
  • Inbox placement versus spam, which can be tested with sample accounts at several providers
  • The number of spam complaints per thousand marketing emails
  • New sources appearing in DMARC reports, a sign of an unregistered service or a spoofing attempt

Put these indicators into the same operational monitoring as site availability, as discussed in website and business application monitoring and uptime. Failed email delivery is one of the slowest outages to be noticed because no error message is visible.

Common mistakes

Several failure patterns repeat across many companies.

  • Having two SPF records on one domain so that both are considered invalid
  • Copying records from another guide without adjusting for the services actually used
  • Forgetting systems that rarely send email, such as payroll applications or ticketing systems, so payday emails get rejected
  • Jumping straight to a reject policy without a monitoring period
  • Not protecting the DNS provider account with two-step verification, even though anyone who controls it can change email records
  • Not updating records when changing email providers or application vendors
  • Ignoring DMARC reports after setup so that the monitoring benefit is lost

On the account security point, also consider stronger sign-in methods such as those covered in passkeys and passwordless login for business.

Deliverability is often treated as a marketing matter, yet its impact is broader. Email that arrives protects the revenue flow: invoices get paid on time, orders are confirmed, and prospects get quick answers. A domain protected from spoofing preserves brand reputation, which connects to the trust also built through your content and site, as discussed in basic SEO for company websites. From a security viewpoint, a strict DMARC makes sender spoofing fraud harder, and is a natural part of a cybersecurity incident response plan for business.

Frequently asked questions

Do we need DMARC if we are a small business? Yes. Fraudsters do not choose targets by size, and spoofing a small domain is just as easy. Starting with a monitoring policy already provides benefit without the risk of legitimate email being rejected.

How long does implementation take? For a company with a few email sources, the initial setup can be done in a day, but the path to a reject policy usually takes several weeks to several months because you must wait for reports and fix failing sources.

Is email from our application automatically authenticated? Not automatically. An application that sends directly from its own server needs to be configured, or moved to an email delivery provider that supports SPF and DKIM for your domain.

Does DMARC guarantee email stays out of spam? No. DMARC proves the sender's authenticity, but inbox placement also depends on reputation, message content, and recipient behavior.

Who should own this responsibility? Assign a single owner, usually IT or a technical partner, with input from marketing, finance, and operations as owners of email sources.

Conclusion

SPF, DKIM, and DMARC are a small investment with a large effect: legitimate email arrives more often, and your domain name is harder to abuse. The keys are inventorying every email source, rolling out gradually from monitoring to reject, separating transactional from marketing email, and building a routine of reading reports. If your applications, ERP, and online store send important email, make sure the sender configuration is reviewed as part of the integration project, not as an afterthought once a problem appears.

Are your invoice and system notification emails often not arriving?

The AG·SORA team helps review email delivery configuration from applications, ERP, and online stores, and tidies up the integrations. The first consultation is free and without obligation.

Free Consultation

Free checklist: choosing a software house

24 points to evaluate a vendor before you sign. Can be saved as a PDF.

Get the checklist

Ready to build a system that grows with your business?

Discuss your needs with the AG·SORA team, no cost, no commitment.