Suped

How to set up DMARC/DKIM/SPF for Cognito Forms

Published 5 Sep 2026
Updated 5 Nov 2026
14 min read
Summarize with
Cognito Forms email authentication setup with SPF, DKIM, and DMARC
Updated on 8 Nov 2026: We refreshed the Cognito Forms setup steps and replaced percentage-based DMARC enforcement with the rollout guidance in RFC 9989.
Cognito Forms authenticates email for your domain after you add a verified email domain and publish the SPF and DKIM records it provides. DMARC is a separate DNS policy at _dmarc. For a domain without an existing enforcement policy, start at p=none, test a real form notification, and move to p=reject only after every legitimate sender passes DMARC.
Verified email domains are available on Cognito Forms Team and Enterprise plans. An Owner or Administrator can verify up to two domains per organization, and each domain can belong to only one Cognito Forms organization. You also need DNS access. Cognito Forms documents these limits in its verified email domains instructions.

Add your domain

Add the exact domain that will appear after the @ in the From address. Use the organizational domain, without www, unless notification traffic has a dedicated subdomain.
  1. Confirm access: Sign in as an organization Owner or Administrator and confirm you can edit public DNS.
  2. Open settings: Select the organization name in the upper-left sidebar, choose Settings, then Email Domains.
  3. Create domain: Select + New Domain and enter your domain, such as example.com, without www or an email address.
  4. Save values: Select Save, then copy the displayed DNS Information. Keep each Name, Type, and Value together.
  5. Verify domain: After publishing the SPF and DKIM records below, return here, select refresh, and confirm both records show Verified.
Adding example.com in Cognito Forms Email Domains settings
Adding example.com in Cognito Forms Email Domains settings
Cognito Forms generates the DNS values for this specific domain. Copy those values instead of copying a DKIM key or host from another account. The records prove control of the From domain and authorize the infrastructure used for notification delivery.
If the domain already appears in another Cognito Forms organization, coordinate its removal with that organization before adding it here. For a domain already verified with the underlying delivery provider, contact Cognito Forms support to resolve the verification conflict before changing a working setup.
Check the sending address
Verification alone does not update existing notifications. After verification, edit every Workflow email so its From address uses a fixed address on the verified domain. Notifications using an unverified domain are sent from notifications@cognitoforms.com.
The email address in Cognito Forms' From editor also controls replies. If Insert Field uses a respondent's address, inspect the delivered From and Reply-To headers; that setting does not verify the respondent's domain.

Set up SPF

Cognito Forms requires an SPF record during domain verification. Publish the exact SPF Name and Value shown under DNS Information. If that hostname already has SPF, merge Cognito Forms authorization into the existing record instead of creating a second SPF record.
  1. Find SPF: In Cognito Forms, open Email Domains, select the domain, and expand DNS Information.
  2. Inspect DNS: Query the displayed hostname for TXT records before changing it. There must be only one value beginning with v=spf1.
  3. Publish once: Add include:mailgun.org before the final all mechanism, or publish Cognito Forms' full value if no SPF record exists.
  4. Retain senders: Keep every existing authorized sender in the merged SPF value and preserve the current final all qualifier.
  5. Set TTL: Use 300 seconds during setup if your DNS host permits it, then raise it after verification.
SPF record when no SPF existsDNS
Host: example.com Type: TXT Value: v=spf1 include:mailgun.org ~all
Merged SPF record exampleDNS
v=spf1 ip4:192.0.2.10 include:mailgun.org ~all
Cognito Forms DNS Information panel with the generated SPF record
Cognito Forms DNS Information panel with the generated SPF record
The host in the samples is illustrative. Use the host that Cognito Forms displays. Some DNS panels append the zone automatically, so entering the full domain there can produce a duplicated name such as example.com.example.com.
Check the published result before returning to Cognito Forms. The SPF evaluator should find one record, resolve the include, and remain within the limit of ten DNS-querying terms, including nested SPF evaluation. Keep the existing policy ending when merging records.

SPF checker

Find SPF syntax issues, lookup limits, and weak records.

?/16tests passed
A syntax pass does not prove SPF alignment. Send a notification later and compare the Authentication-Results header's smtp.mailfrom domain with the visible From domain. Under relaxed alignment, the organizational domains must match.
If a delivered notification uses a Return-Path outside your organizational domain, adding another SPF include cannot create alignment. Keep the SPF authorization required by Cognito Forms and confirm that passing, aligned DKIM supplies the DMARC pass.
Avoid duplicate SPF records
  1. One hostname: Publish one SPF record at the hostname shown in DNS Information.
  2. One version: A second v=spf1 TXT value causes SPF PermError.
  3. Ten DNS-querying terms: Count evaluated include, a, mx, ptr, exists, and redirect terms, including nested records. The limit is not a count of individual DNS packets.
  4. Safe merge: Insert the new include before the existing all mechanism.

Set up DKIM

Publish the unique DKIM TXT record shown by Cognito Forms. The selector and public key belong to your verified domain, so a copied value from another domain will fail even when its syntax looks valid.
  1. Copy fields: Copy the DKIM Name, TXT Type, and complete Value from the domain's DNS Information panel.
  2. Set host: Enter the full selector host unless your DNS panel appends the zone automatically.
  3. Keep key intact: Paste the entire public key without added spaces, smart quotes, or missing characters.
  4. Publish TXT: Save the record as TXT. A DNS panel can split a long value into quoted chunks if it rejoins them in the response.
  5. Verify signature: After Cognito Forms verifies the domain, send a form notification and confirm dkim=pass with a d= domain that matches From under your DMARC alignment mode.
DKIM record shape, copy actual values from Cognito FormsDNS
Host: <selector>._domainkey.example.com Type: TXT Value: v=DKIM1; k=rsa; p=<public key from Cognito Forms>
Cognito Forms DKIM name and public key in DNS Information
Cognito Forms DKIM name and public key in DNS Information
Verify DKIM on a delivered message as well as in DNS. A published key proves the selector exists, while a passing signature proves the corresponding private key signed the message. Check the signing domain against the expected From domain.
DKIM is the more resilient DMARC path when forwarding breaks SPF. Keep the DKIM record in DNS for as long as Cognito Forms uses that selector, even if SPF also passes.
Working DKIM
  1. Selector: DNS returns one public key.
  2. Signature: The delivered message reports dkim=pass.
  3. Domain: The d= value has DMARC alignment with From.
  4. Continuity: DKIM survives forwarding when signed content remains unchanged.
Broken DKIM
  1. Wrong host: The zone name appears twice.
  2. Truncated key: Characters are missing from p=.
  3. Old selector: DNS contains a key Cognito Forms no longer uses.
  4. Wrong domain: dkim=pass lacks DMARC alignment with From.

Set up DMARC

DMARC is a domain-wide policy, so add it in public DNS rather than Cognito Forms. Start with p=none only when the domain has no applicable enforcement policy, including an inherited parent-domain policy. If p=quarantine or p=reject already applies, keep that policy and fix Cognito Forms authentication without weakening it.
  1. Query first: Check TXT at _dmarc.example.com and edit the existing DMARC record if one exists.
  2. Use one record: Never publish multiple v=DMARC1 values at the same hostname.
  3. Start observing: For a new policy, use p=none and a mailbox that accepts aggregate XML reports.
  4. Keep enforcement: If the current policy is quarantine or reject, do not step back to none for setup.
  5. Generate safely: Use the DMARC record generator when you need reporting or subdomain options.
Monitoring record for a domain without enforcementDNS
Host: _dmarc.example.com Type: TXT Value: v=DMARC1; p=none; rua=mailto:dmarc@example.com
Replace example.com with your sending domain and dmarc@example.com with a mailbox that accepts aggregate XML reports or the address assigned by Suped. If your DNS panel appends example.com, enter _dmarc as the host. For forms.example.com, an explicit record belongs at _dmarc.forms.example.com; check the parent policy before adding an override.
For a rua address outside your organizational domain, the reporting destination must authorize reports in DNS. Follow Suped's reporting instructions for its assigned address and verify that authorization is present. RFC 9990 defines this external-destination check; missing authorization prevents reports reaching that address.
DMARC passes when SPF passes with Return-Path alignment or DKIM passes with signing-domain alignment. One aligned pass is enough; publishing both DNS records does not prove that both methods have alignment on delivered mail.

DMARC checker

Look up a domain's DMARC record and catch policy issues.

?/7tests passed
The check should return one DMARC record with valid syntax and the intended policy. Include a usable rua address to request aggregate reports; rua is optional for DMARC authentication itself. Resolve syntax errors before testing mail.
Relaxed identifier alignment is the default when aspf and adkim are omitted. Strict alignment requires exact domain matches and can help separate subdomain senders, but it can break legitimate subdomain patterns. Retain your existing alignment settings unless a deliberate policy change is needed.
What a passing result means
  1. SPF route: spf=pass and the smtp.mailfrom domain has alignment with From.
  2. DKIM route: dkim=pass and the d= domain has alignment with From.
  3. DMARC result: dmarc=pass when at least one of those routes passes.
  4. Policy result: p=none does not request blocking; rua requests aggregate reports.

Verify and troubleshoot

Verification has two layers: Cognito Forms must see the DNS records, then a delivered notification must pass DMARC. A green domain status does not prove the selected Workflow email uses the verified From domain.
  1. Refresh status: Return to Settings, Email Domains, and select the refresh icon beside the domain.
  2. Read failure: Hover over Unverified to see whether SPF, DKIM, or both still fail.
  3. Allow DNS time: Allow cached records to expire using the previous TTL; lowering TTL during an edit does not clear existing caches. Cognito Forms states that full propagation can take 24-48 hours.
  4. Update Workflow: Open the form's Build page, choose Workflow, open the relevant Action Settings, and edit each notification under Send Emails to use the verified domain. Save the email and the form.
  5. Send entry: Create a test entry that triggers the actual notification path and inspect its delivery in the entry audit log.
Verified SPF and DKIM status for example.com in Cognito Forms
Verified SPF and DKIM status for example.com in Cognito Forms
Once the domain shows Verified, open the delivered message's raw headers. Use the receiving mail server's Authentication-Results header to check spf and dkim results, then confirm dmarc=pass through at least one aligned method. Also confirm the header.from domain is the domain you verified.
Use Suped's email tester below for an end-to-end check. Send it a Cognito Forms notification through the same Workflow action used in production, then review the SPF domain, DKIM d= domain, DMARC outcome, and message headers together.

Email tester

Send a real email to this address. Suped shows a results button when the test is ready.

?/43tests passed
If SPF passes without alignment, compare the Return-Path domain with the visible From domain. That SPF pass cannot satisfy DMARC, but passing, aligned DKIM can. Recheck the actual From address and DKIM signing domain before changing SPF.
If DKIM fails, use s= and d= from the DKIM-Signature header to query s._domainkey.d for TXT, substituting the actual values. A missing key points to an incorrect host or unpublished record. Compare any returned key with DNS Information; changes to signed message content also break DKIM.

Check

Expected

First fix

SPF
Pass; check Return-Path alignment
Check the actual Return-Path and its SPF record
DKIM
Pass, aligned
Fix selector
DMARC
Pass
Find a passing method with From-domain alignment
From
Verified domain
Edit Workflow
Authentication checks for a Cognito Forms test notification
Selecting a verified From address in a Cognito Forms Workflow email
Selecting a verified From address in a Cognito Forms Workflow email
After saving the Workflow email and the form, submit the form through the same public or embedded path used by customers. A manual message sent outside that action does not test the Cognito Forms configuration.
Use the entry audit log to confirm Cognito Forms sent the notification. Then correlate its timestamp and recipient with the delivered headers so the authentication result belongs to the intended test.
Troubleshoot the failing layer
  1. SPF PermError: Remove duplicate records or reduce DNS lookups.
  2. DKIM none: Check for a DKIM-Signature header and confirm the notification uses your verified domain; none means no signature was evaluated.
  3. DMARC fail: Match the From domain through SPF or DKIM alignment.
  4. Forwarded mail: Accept SPF failure when aligned DKIM remains valid and DMARC passes.
  5. No email event: Check the triggering action, Send conditions, and recipient before changing DNS.

Monitor Cognito Forms authentication

DNS verification is a point-in-time check. Keys get replaced, SPF grows past its lookup limit, and a Workflow owner can switch the From address. Continuous DMARC monitoring exposes authentication failures in the traffic covered by receiver reports.
Suped is our DMARC reporting and email authentication platform. Use it to review Cognito Forms authentication results alongside your other sending sources and investigate failures.
  1. Collect reports: Point rua to the reporting address assigned for the domain and confirm data arrives after participating receivers process your traffic.
  2. Verify source: Mark the Cognito Forms source as authorized after its SPF or DKIM identity matches a known test.
  3. Enable alerts: Alert on a new failing source, a sudden failure-rate increase, or a missing report stream.
  4. Follow fixes: Use Suped's automated issue detection and tailored steps to correct SPF, DKIM, or policy errors.
  5. Review weekly: Check authorized volume, unrecognized sources, DMARC pass rate, and policy coverage.
DMARC aggregate reports generally cover daily traffic and arrive after the reporting period, as described in RFC 9990. Report-based alerts depend on that arrival time. Use a fresh notification test when troubleshooting an urgent delivery failure.
Alert on changes in known senders
Use a baseline that matches normal Cognito Forms volume. Investigate a known source that changes from passing to failing when new reports arrive. For a missing report stream, first check traffic volume and reporting authorization; silence alone does not prove delivery stopped.

Secure your domain with p=reject

Move to p=reject after reports show that Cognito Forms and every other approved sender pass DMARC. Review the impact of p=quarantine before changing to p=reject, and keep reporting active throughout the rollout.
  1. Build inventory: Identify every legitimate source across a complete sending cycle, including monthly billing and low-volume form notifications.
  2. Fix alignment: Require each approved source to pass DMARC through aligned SPF, aligned DKIM, or both.
  3. Quarantine first: Set p=quarantine only after legitimate senders pass DMARC, then review reports and delivery impact before proceeding.
  4. Reject fully: Set p=reject after no wanted traffic remains dependent on a failing path.
  5. Keep watching: Retain aggregate reporting and alerts after enforcement because authentication changes over time.
RFC 9989 removed the pct sampling tag. Do not rely on percentage-based enforcement to protect untested senders. Each policy change applies across the policy's scope, and receivers retain discretion over message handling. Replace the sample reporting address before publishing these records.
Stage 1: quarantineDNS
v=DMARC1; p=quarantine; rua=mailto:dmarc@example.com
Stage 2: rejectionDNS
v=DMARC1; p=reject; rua=mailto:dmarc@example.com
Suped's Hosted DMARC lets you manage policy changes after an initial DNS delegation. The Hosted DMARC workflow lets you apply each policy change while reviewing which sending sources still need work.
Do not require both SPF and DKIM to pass. DMARC needs one aligned method, and forwarding regularly breaks SPF. For Cognito Forms, keep DKIM healthy even when SPF normally passes.
Before increasing enforcement
  1. Unknown source: Legitimate ownership is unresolved.
  2. Cognito failures: Production notifications still fail DMARC.
  3. Missing cycle: Reports do not cover periodic senders.
  4. No rollback: Policy ownership is unclear.
Move to rejection
  1. Known sources: Every approved sender has an owner.
  2. Cognito passes: Real notifications pass DMARC.
  3. Full window: Reporting covers periodic traffic.
  4. Alerts active: Policy regressions reach an owner.
Enforcement target
The target is p=reject with Cognito Forms identified as an authorized source and a reliable DMARC pass through aligned DKIM or SPF. Keep the required DNS records in place and monitor for authentication regressions.

Frequently asked questions

A notification passes DMARC when SPF or DKIM passes with domain alignment to the visible From address. Publish Cognito Forms' SPF and DKIM records, use your verified domain in the notification, and inspect a delivered message. SPF publication alone does not prove Return-Path alignment.

No. A sending hostname must have one SPF record. Add include:mailgun.org inside the existing v=spf1 value before its all mechanism, retain existing senders, and keep the result within ten evaluated DNS-querying terms, including nested SPF records.

No. Keep p=reject or p=quarantine and correct the Cognito Forms SPF, DKIM, and From-domain configuration. Lowering enforcement exposes the entire domain while you fix one source.

Domain verification does not rewrite existing Workflow notifications. Open each relevant Workflow action, edit each email under Send Emails, and choose an address on the verified domain in the From field. Save the email and form, then create a new test entry.

DMARC authenticates use of the From domain; it does not guarantee inbox delivery. Check the entry audit log for delivery errors, confirm the recipient address, and review the spam folder and message content. If no email was triggered, check the Workflow action and Send conditions before changing DNS.
DMARC monitoring

Start monitoring your DMARC reports today

Suped DMARC platform dashboard
What you'll get with Suped
Real-time DMARC report monitoring and analysis
Automated alerts for authentication failures
Clear recommendations to improve email deliverability
Protection against phishing and domain spoofing