Security Policy Errors

Configure SPF, DKIM, and DMARC for On-Premises Exchange Server

Camila MilosovichCamila Milosovich Nov 20, 2026 868 views

Question details

Determine how to authenticate email and generate DMARC aggregate reports with on-premises Exchange Server.

Configure SPF, DKIM, and DMARC for On-Premises Exchange Server
Product
Microsoft Exchange Server
Device & OS
not provided
Scenario
An administrator wants to configure SPF, DKIM, and DMARC for mail flowing through an on-premises Exchange environment, including reports for senders.
Observed behavior
Exchange Server does not provide a complete native solution for DKIM signing, DMARC validation, and DMARC aggregate reporting by default.
Before you start

Identify the public IP addresses and services that send mail for your domain, and check your existing DNS records. Confirm whether an email gateway or security service already handles inbound or outbound mail.

Solution 1Recommended

Publish an SPF record for your Exchange mail flow

Use DNS to identify the servers and services authorized to send mail for your domain.

1
Identify outbound senders

Review your Exchange send connectors in the Exchange admin center under Mail flow > Send connectors, and identify the public IP addresses or relay services used to send mail.

2
Check the existing SPF record

In your DNS provider's management console, look for a TXT record beginning with v=spf1 for the sending domain. A domain should have only one SPF record.

3
Update the DNS record

Edit or add the SPF TXT record at your DNS provider to include all authorized sending IP addresses and services. Use the include mechanism supplied by a sending service where required, and choose the appropriate policy ending, such as ~all or -all.

4
Verify the result

Use an SPF lookup tool to check the published TXT record, then send a test message to an external mailbox and inspect its authentication results.

Publish an SPF record for your Exchange mail flow
SPF alone is not DMARC: SPF is published in DNS and evaluated by receiving systems. It does not add DKIM signing or DMARC aggregate reporting to Exchange.
Free Microsoft Office alternative

Document Your Exchange Mail-Security Setup with WPS Office

WPS Office is a free, lightweight alternative for documenting mail-flow settings and reviewing reports. Its familiar interface and Microsoft Office format support make it easy to move existing documents and spreadsheets into your workflow. It does not configure Exchange or generate DMARC reports.

Document SPF, DKIM, and DMARC settings in a familiar office interfaceOpen and edit Microsoft Word DOCX and Excel XLSX filesUse a free, lightweight suite for everyday document and spreadsheet workMove existing Office files into your workflow without starting from scratch
microsoft office alternative - wps office

Frequently Asked Questions

Can on-premises Exchange Server send DMARC aggregate reports by itself?

Exchange Server does not provide complete native DMARC aggregate reporting by default. Use a gateway or mail-security service that explicitly supports DMARC validation and aggregate report generation.

Where do I configure SPF for Exchange?

Publish or update the sending domain's SPF TXT record in your DNS provider's console. Review Exchange admin center > Mail flow > Send connectors to help identify outbound routes and include all authorized senders.

Does an SPF pass guarantee that DMARC will pass?

No. DMARC requires either SPF or DKIM to pass with the authenticated domain aligned with the domain in the visible From address.

Where are DMARC aggregate reports sent?

Reporting receivers send aggregate reports to the address specified in the sending domain's DMARC rua tag. Configure that tag in the domain's _dmarc DNS TXT record.

Can I use p=none while testing DMARC?

Yes. Set p=none in the _dmarc TXT record to monitor authentication without requesting rejection or quarantine, then review reports before changing the policy.