Blog · Dmarc

How to Handle DMARC Failures Caused by Third-Party Email Senders

The problem nobody warns you about

You set up SPF, DKIM, and DMARC. Everything passes. Then marketing or operations starts using a new platform to send emails from your domain. Within days, your aggregate reports show hundreds of failures from an IP address you have never seen. The emails are not bouncing, but they are also not authenticated.

This is one of the most common DMARC problems in practice, and the fix depends entirely on understanding why it is happening in the first place.

Why third-party senders break DMARC alignment

DMARC checks that either SPF or DKIM passes AND that the authenticated identity aligns with the From domain. When a third-party sender sends email, there are two ways alignment can break.

The SPF path. The third-party service uses its own mail servers to send the email. The RFC5321.MailFrom domain is the service's domain, not yours. If the From domain is your domain, SPF passes but DMARC fails because the MailFrom does not align with your From domain.

The DKIM path. The third-party service signs the email with its own DKIM key, using its domain as the DKIM selector domain. If that domain does not match your From domain, DKIM passes but DMARC alignment fails.

Both scenarios result in the same outcome: the email is legitimate, it passes authentication, but DMARC reports it as a failure.

The two different root causes

Not all third-party sender problems are the same. You need to distinguish between two scenarios.

Scenario 1: The third-party service sends email on your behalf. Your CRM, invoicing platform, or support tool sends emails with your domain in the From address. The email actually comes from the vendor's mail servers. This is the most common scenario and the one most likely to cause DMARC failures.

Scenario 2: Email forwarding. Someone receives an email from your domain and forwards it to another mailbox. The original mail servers are now the forwarder, not your domain. SPF passes for the forwarder, but the forwarder is not authorized for your domain. This is a forwarding problem, not a third-party sender problem, and it has a different solution.

Confusing these two scenarios leads to applying the wrong fix.

Solution 1: Use a dedicated subdomain for the third-party sender

The cleanest solution is to give the third-party service its own subdomain. Instead of sending from billing@yourcompany.com, the service sends from billing@send.yourcompany.com.

You control this subdomain. You can publish its own SPF, DKIM, and DMARC records. The third-party service sends from infrastructure you have explicitly authorized and aligned.

Steps:

1. Create a subdomain such as send.yourcompany.com or notify.yourcompany.com
2. Configure your third-party service to use this subdomain as the From domain
3. Add SPF record for the third-party service's mail servers on the subdomain
4. Add DKIM record if the service provides one
5. Publish a DMARC record on the subdomain with a policy that matches your comfort level (p=none to start, upgrade after validation)

This approach keeps your root domain protected with a strict DMARC policy while giving the third-party service a controlled sending environment.

Solution 2: SRS for forwarded email

If the problem is forwarding rather than a dedicated third-party sender, the fix is Sender Rewriting Scheme (SRS). SRS modifies the RFC5321.MailFrom when an email is forwarded so that SPF can still pass.

The standard scenario: user@example.com sends to recipient@example.org. The recipient has a rule forwarding to backup@gmail.com. The forwarder (example.org's mail server) rewrites the bounce address from user@example.com to something like user@example.com@forwarder.example.org. The forwarder's SPF record now covers the email. DKIM does not carry over unless the forwarder also re-signs.

This is how mailing lists, email gateways, and most forwarders handle DMARC compatibility. If you run your own forwarding infrastructure, SRS is the solution. If you use a third-party email gateway, most of them handle SRS automatically.

Solution 3: Configure the third-party service for DMARC alignment

Many third-party email services have settings that allow you to control how they send on your behalf. Some support:

  • Custom DKIM signing. The service signs email with your domain's DKIM key rather than their own. This requires you to provide your DKIM private key to the service, which some organizations are not comfortable with.
  • Subdomain wrapping. The service sends from a subdomain they control but maps it back to your domain in the DMARC alignment check.
  • API-based sending. Some services can send through your own mail servers via API, using your existing SPF and DKIM infrastructure.

Not every service offers these options. If your service does not support DMARC-compatible sending, you are limited to Solution 1 (subdomain approach) as your main option.

How to validate your fix

After making changes, the only reliable way to validate is to check your DMARC aggregate reports.

Look for:

  • A reduction in failure counts for the specific third-party sender
  • DKIM alignment passing for emails from that sender
  • SPF alignment passing if you are relying on SPF rather than DKIM

A daily DMARC monitoring tool makes this much easier. Instead of waiting for periodic aggregate reports, you get daily summaries and alerts when a previously passing sender starts failing.

DMARCFlow processes your aggregate reports daily and alerts you when a sender domain that was previously passing suddenly starts failing DMARC alignment. This is often how third-party sender problems first appear: a vendor quietly changes their sending infrastructure, and you find out from your DMARC reports three weeks later.

Why p=reject can break legitimate third-party mail

One common mistake is setting p=reject on a domain that has legitimate third-party senders without first validating those senders are properly configured.

When you set p=reject, any email failing DMARC is silently rejected. If a third-party service is sending on your behalf without proper alignment, those emails disappear. You may not notice until a customer contacts you about a missing invoice or password reset email.

Always validate third-party sender alignment with p=none first. Monitor for at least a few days to confirm everything is passing. Only then upgrade to p=quarantine, and eventually to p=reject if the situation warrants.

FAQ

Why does DMARC fail even though SPF and DKIM both pass?

DMARC requires alignment, not just passing authentication. An email can pass SPF and DKIM but still fail DMARC if the RFC5321.MailFrom domain (for SPF) or the DKIM signing domain (for DKIM) does not match the From domain. This is common with third-party senders who use their own infrastructure.

Can I use the same subdomain for multiple third-party services?

Yes. Multiple third-party senders can use the same subdomain as long as they all have valid SPF and DKIM configuration for that subdomain. You can also create separate subdomains per service if you want granular control.

What if my third-party service does not support DKIM signing with my domain?

Use a dedicated subdomain instead. Give the service its own subdomain with its own SPF record. Your root domain stays protected and the third-party subdomain has its own DMARC policy.

How long does it take for DMARC to reflect fixes?

DMARC aggregate reports are typically generated daily, though some large receivers generate them less frequently. After fixing alignment, give it at least 24 to 48 hours before checking reports. Full validation may take a week of monitoring.

Is there a way to monitor third-party sender failures automatically?

Yes. DMARCFlow monitors aggregate reports daily and can alert you when a specific sender domain starts failing DMARC. You can configure per-sender alerts so you know immediately when a third-party service starts causing problems, rather than discovering it in a weekly report review.

The practical path forward

1. Identify which third-party senders are failing DMARC by reviewing your aggregate reports. Look for the sending domain in the source IP and the alignment result.
2. Determine whether the sender is a dedicated service sending on your behalf or a forwarding situation. Forwarding problems usually involve a different receiving domain as the source.
3. For dedicated services: use a dedicated subdomain with proper SPF and DKIM. Do not try to work around the alignment problem on your root domain.
4. For forwarding: implement SRS on your forwarding infrastructure. If you use a third-party gateway, confirm they handle SRS automatically.
5. Validate with p=none before upgrading your DMARC policy. Wait at least 48 hours for updated aggregate reports.
6. Use a monitoring tool that processes aggregate reports daily and alerts on sender-level failures, so problems surface within hours rather than weeks.

Third-party sender alignment problems are common and solvable. The fix takes an hour or two of configuration work and immediately improves your DMARC compliance rate.