Suped

How to set up DMARC/DKIM/SPF for Airdocs

Published 30 Aug 2026
Updated 30 Oct 2026
12 min read
Summarize with

Prepare your Airdocs authentication records

How to set up DMARC, DKIM, and SPF for Airdocs
Updated on 30 Oct 2026: We updated the Airdocs setup steps for current DMARC requirements and clarified which DNS records to request for your sending route.
Airdocs-managed email delivery requires the sending-domain records issued for your account. Register the domain with your Airdocs implementation or support contact, publish the exact return-path and DKIM records they issue, then publish DMARC at your visible From domain. Confirm whether your Airdocs delivery route supports a custom return path before relying on SPF for DMARC.
Airdocs' public product and support pages do not provide a universal set of customer SPF or DKIM records. Use the DNS values issued for your tenant. A value copied from another Airdocs customer can fail verification or authorize the wrong infrastructure.
Do not guess Airdocs DNS values
Before changing DNS, obtain the exact sending domain, return-path host, SPF mechanism, DKIM selector, DKIM target or public key, and verification method for your Airdocs tenant.

Confirm your Airdocs sending route

Airdocs offers cloud-hosted and on-premises deployment options, including a hybrid model. Confirm with your implementation contact which system makes the final SMTP delivery; the deployment model alone does not identify the sending server.

Delivery route

Who provides SPF and DKIM instructions

Airdocs-managed sending
Your Airdocs implementation or support contact
Your organisation's SMTP relay
The team that operates that relay
Use records issued by the system that sends the email
The steps below assume Airdocs manages sending. If your organisation operates the relay, apply its authentication instructions instead. In either case, publish DMARC for the visible From domain and test the complete delivery route.

Add your domain

Choose the exact domain Airdocs will place in the visible From address. A dedicated subdomain such as notices.example.com separates document traffic and can have its own DMARC policy. Confirm this choice before Airdocs generates keys.
  1. Choose the domain: Decide whether Airdocs will send as example.com or a dedicated subdomain. Use a domain you control in DNS.
  2. Open the request: Ask your Airdocs implementation or support contact to add that domain to the correct production tenant and region.
  3. Specify the From address: Provide the production From address, bounce subdomain, reply address, and any separate test environment.
  4. Collect the records: Request the ownership record, return-path records, DKIM record, expected TTL, and the verification action.
  5. Record the scope: Note whether each value applies to production, test, or both. Tenant and region changes can produce different targets.

Item

Purpose

Source

From domain
DMARC identity
Your team
Return path
SPF identity
Airdocs
DKIM selector
Signing key
Airdocs
Verify action
Activation
Airdocs
Values to obtain before editing DNS
Keep the Airdocs ticket or implementation worksheet beside your DNS console. Copy each hostname and value exactly, remove quotation marks only when your DNS host adds them automatically, and never append the zone twice.

Set up SPF

SPF (Sender Policy Framework) checks whether the sending IP is authorised for the envelope sender domain, also called the return-path domain. If Airdocs supplies a custom return-path setup, publish its exact DNS records at the specified bounce hostname. Do not add an assumed Airdocs include to the root-domain SPF record.
  1. Find the SPF identity: Use the return-path hostname Airdocs supplied, not the visible From address by assumption.
  2. Check existing DNS: Look for an existing SPF TXT record at that same hostname before adding anything.
  3. Publish the required set: Publish every record in the issued setup, including both MX and TXT when specified. MX handles bounce routing; the SPF TXT policy authorises sending IPs. If a TXT-based setup already has SPF at that hostname, merge authorised sources into one SPF policy.
  4. Count lookups: Keep SPF within the limit of ten evaluated terms that cause DNS lookups, including nested include mechanisms and redirect modifiers. The ip4, ip6, and all mechanisms do not count toward this limit.
  5. Preserve the ending: Keep the qualifier issued by Airdocs during onboarding until the sending source has been verified.
Tenant-issued return-path patternsDNS
bounce.example.com. CNAME <AIRDOCS-RETURN-PATH-TARGET> # Or, only when Airdocs provides an SPF value: bounce.example.com. TXT "v=spf1 include:<AIRDOCS-SPF-HOST> ~all"
These are patterns, not Airdocs production values. Publish only the record type and target listed for your tenant. When the setup uses a CNAME, the target supplies the SPF policy. A CNAME cannot coexist with a TXT or MX record at the same hostname.
Run the checker against the actual return-path hostname after DNS has propagated. A valid SPF record alone is not enough. The return-path domain must share the same organisational domain as the visible From address for relaxed SPF domain alignment.

SPF checker

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

?/16tests passed
A passing result should show one SPF policy, valid syntax, and no lookup-limit error. Resolve duplicate records, loops, void lookups, and missing include targets before asking Airdocs to verify the domain.
If Airdocs uses a provider-owned return-path domain unrelated to your From domain, SPF can pass without satisfying DMARC. In that case, a passing DKIM signature with a matching signing domain is the required DMARC path.
One SPF record per hostname
Two SPF TXT records at one hostname cause a permanent error. Merge mechanisms only when Airdocs tells you to publish SPF directly at a host that already has a policy.

Set up DKIM

DKIM (DomainKeys Identified Mail) signs message content and can survive forwarding when the signed content remains unchanged. Publish the exact selector record generated for the tenant, then have Airdocs enable signing only after the public record resolves.
  1. Copy the selector: Use the full host supplied by Airdocs, normally a selector below _domainkey.
  2. Use the issued type: Create a CNAME when Airdocs provides a target, or TXT when it provides a public key. Do not convert between them.
  3. Publish the value: Paste a CNAME target as a hostname, or a TXT public key as one logical value. A long TXT key can contain multiple quoted strings within a single DNS record; never split it into separate records or publish a private key.
  4. Verify public DNS: Query the complete selector hostname and confirm it returns the tenant-issued target or key.
  5. Enable signing: Ask Airdocs to activate DKIM, then send a new message. Old messages cannot prove that signing is now active.
Query the Airdocs DKIM selectorBASH
dkim_selector='REPLACE_WITH_ISSUED_SELECTOR' dkim_domain='example.com' dig +short CNAME "${dkim_selector}._domainkey.${dkim_domain}" dig +short TXT "${dkim_selector}._domainkey.${dkim_domain}"
Replace the selector placeholder and set dkim_domain to the signing domain Airdocs issued. During key rotation, keep the old selector published until Airdocs confirms that messages signed with it have cleared delivery queues.
Inspect a fresh delivered message and find the DKIM-Signature header. The d= value must match the visible From domain or share its organisational domain under relaxed DMARC domain alignment. A plain dkim=pass result with an unrelated d= domain does not make DMARC pass.
DKIM is ready
  1. DNS answer: The selector resolves without an error.
  2. Header result: A new message has dkim=pass.
  3. Domain match: The d= domain passes DMARC domain alignment.
  4. Key ownership: The result matches the Airdocs tenant.
DKIM needs work
  1. No key: The selector returns no DNS answer.
  2. Wrong host: The zone name appears twice.
  3. Signature failure: Check for a key mismatch or changes to signed message content.
  4. Domain mismatch: DKIM passes but DMARC domain alignment fails.

Set up DMARC

DMARC (Domain-based Message Authentication, Reporting, and Conformance) is a DNS policy for the visible From domain. If there is no enforced policy, start at p=none to observe reported sending activity without requesting enforcement for DMARC failures. Build the record with the DMARC record generator, then publish one TXT record at _dmarc.example.com for mail using example.com in From.
  1. Create the mailbox: Make sure dmarc@example.com can receive aggregate reports or replace it with a reporting address you control.
  2. Check for DMARC: Query _dmarc.example.com, or _dmarc.notices.example.com when that subdomain is used in From. Check the inherited policy too, and update an existing record instead of creating a duplicate.
  3. Publish p=none: Replace the example reporting address in the starting record below with your own. If your domain already has p=quarantine or p=reject, keep that policy while resolving Airdocs authentication.
  4. Wait for DNS: Allow the published TTL to expire, then query authoritative and public resolvers.
  5. Send Airdocs mail: Generate a real document or notification through the production sending path and inspect its authentication results.
Starting DMARC recordDNS
v=DMARC1; p=none; rua=mailto:dmarc@example.com
Use the organisational domain policy unless the sending subdomain needs its own record. A record at _dmarc.notices.example.com takes precedence for notices.example.com; otherwise check the applicable parent policy. Keep v=DMARC1 first. The rua address receives XML aggregate reports, which need parsing before they are useful for source-level decisions.
Check aspf and adkim in the effective DMARC policy. Both default to r (relaxed), which accepts the same organisational domain. Setting either tag to s (strict) requires an exact domain match for that authentication method. For From notices.example.com, bounce.example.com satisfies relaxed SPF matching but fails strict SPF matching.
Check the published policy with the DMARC checker. The result should show one record, valid tag syntax, and the intended policy.

DMARC checker

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

?/7tests passed
A valid DMARC record does not prove that Airdocs mail passes. In a delivered message, confirm dmarc=pass and identify whether SPF, DKIM, or both produced that result. Keep DKIM as the operational target even when SPF also passes.
When the reporting destination has a different organisational domain, its DNS must authorise the reports. Ask the reporting provider to confirm this authorisation, and verify that reports arrive before relying on the data.
Minimum success condition
DMARC passes when at least one of SPF or DKIM authenticates successfully and its domain satisfies the matching rule for the visible From domain. Configure both paths, but do not require both to pass on every message.

Verify and troubleshoot

Verify with a newly generated Airdocs email sent through the same tenant, template, region, and delivery route used in production. DNS checks prove that records exist. Message headers prove that Airdocs used them.
  1. Send a real test: Trigger the same Airdocs workflow that produces production documents or notifications.
  2. Inspect Authentication-Results: Use Authentication-Results added by the receiving mail system. Record spf=, dkim=, dmarc=, smtp.mailfrom, header.d, and header.from; check the DKIM-Signature d= and s= values too.
  3. Confirm SPF matching: For SPF to satisfy DMARC, the sending IP must be authorised by the return-path SPF policy, and that domain must meet the effective aspf mode.
  4. Confirm DKIM matching: For DKIM to satisfy DMARC, the signature must pass, its selector must resolve, and its d= domain must meet the effective adkim mode.
  5. Repeat each route: Test scheduled jobs, manual sends, and separate Airdocs environments because delivery routes can differ.
Passing message
A production-path message has dmarc=pass through at least one authenticated domain that meets the effective matching mode. Check the DKIM d= domain and the SPF return-path domain separately; strict mode requires an exact match to the From domain.
Failing message
A message can show spf=pass and dkim=pass while dmarc=fail when neither authenticated domain meets the effective matching mode. Check the Airdocs custom-domain configuration and the aspf/adkim settings before changing policy.
A DMARC pass confirms authentication, not inbox placement. Receiving systems still evaluate reputation and message content, so check Airdocs delivery logs for rejections or bounces even when authentication passes.
The email tester gives a quick end-to-end check. Send an Airdocs-generated message to the address shown by the widget, then review the SPF identity, DKIM selector, DMARC result, headers, and any DNS errors in one report.
Generate a new test message after each change; changing the recipient does not clear DNS caches. Keep its raw headers and send timestamp with the Airdocs support case, and include the Communication Id or Job Ref requested by Airdocs support.

Email tester

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

?/43tests passed
If SPF fails, compare the actual envelope-from domain with the hostname you configured. If DKIM fails, compare the message's s= selector and d= domain with public DNS. If both pass but DMARC fails, the problem is domain alignment.
Check authoritative DNS first, then public resolvers. Existing answers remain cached until their old TTL expires, and previously missing records can be negatively cached. If the record is still absent after those caches expire, check the hostname and authoritative zone, then investigate delegation or DNS errors.
Airdocs authentication checks
  1. Wrong environment: DNS values belong to test while production sends the message.
  2. Wrong selector: Airdocs signs with a selector that has no public key.
  3. Wrong return path: SPF passes for a provider domain but cannot pass DMARC domain alignment.
  4. Wrong DNS host: The DNS console appends example.com to an already complete hostname.

Monitor Airdocs authentication

A one-time pass does not protect against selector rotation, deleted DNS records, expired delegation, or a new Airdocs delivery route. Continuous DMARC monitoring turns aggregate reports into source-level authentication trends. Reports usually arrive daily, so report-based alerts depend on when receivers send their data.
  1. Watch Airdocs volume: Compare reported Airdocs volume and sending IPs with your expected traffic.
  2. Watch DKIM: Review signature failures and selector changes, then investigate any signing-domain mismatch.
  3. Watch SPF: Investigate SPF errors or return-path changes, then use DNS checks to diagnose lookup-limit failures.
  4. Watch DMARC: Trigger an alert when Airdocs pass rates fall below the baseline established during testing.
Monitor Airdocs in Suped
Suped's DMARC reporting platform parses aggregate XML reports and groups sending sources. Use it to review the source confirmed as Airdocs, investigate authentication failures, and route alerts to the team responsible for DNS or Airdocs configuration.
Set failure-rate alerts after stable Airdocs traffic has established a baseline, and review source changes too. Check Airdocs job and delivery logs for missing sends: messages never received by a reporting server cannot appear in its DMARC reports.

Secure your domain with p=reject

Move to p=reject only after Airdocs and every other legitimate sender passes DMARC across a full business sending cycle. Suped's hosted DMARC lets you manage policy stages after an initial DNS delegation. Review reports and alerts before each change.
  1. Inventory all senders: Classify every source in DMARC data and confirm business ownership. Do not judge a source by rDNS alone.
  2. Fix Airdocs first: Require stable aligned DKIM on production document and notification routes. Use aligned SPF as a second path when the delivery route supports it.
  3. Cover subdomains: Check sending-subdomain records before enforcement. Without an overriding subdomain record, the parent p= policy normally applies; use sp= when existing subdomains need a different policy.
  4. Stage quarantine: Monitor legitimate failures after each change and roll back if an owned source is affected.
  5. Enforce reject: Publish p=reject only when every required sending path has been verified.
  6. Keep monitoring: Continue alerting after enforcement because Airdocs keys, routes, and DNS records can change.
Quarantine stageDNS
v=DMARC1; p=quarantine; rua=mailto:dmarc@example.com
RFC 9989 removed pct, which is now a historic tag. Treat p=quarantine as applying to all DMARC failures within the policy scope. Stage changes by verified sending subdomain where practical, then review a full sending cycle before enforcing the broader domain.
Full reject policyDNS
v=DMARC1; p=reject; rua=mailto:dmarc@example.com
Ready for p=reject
  1. Known sources: Every legitimate sender has an owner.
  2. Airdocs DKIM: Production mail passes with an aligned d= domain.
  3. Report history: A full sending cycle has no unexplained owned failures.
  4. Rollback plan: DNS access and an incident owner are confirmed.
Not ready for p=reject
  1. Unknown volume: Large sources remain unclassified.
  2. DKIM drift: Airdocs selectors or signing domains change without notice.
  3. SPF dependence: A required route passes only through fragile SPF alignment.
  4. No reports: Aggregate data is missing or not being reviewed.
Use Suped for policy staging
Use Suped's hosted DMARC controls to manage policy changes after reviewing Airdocs results alongside every other authorised source. Keep an incident owner and a rollback plan for each change; aggregate reports arrive after the sending activity they describe.

FAQ

There is no universal customer SPF include in the public Airdocs pages reviewed. Use the exact return-path records supplied for your sending route. If MX and TXT are issued together, publish both; if a CNAME is issued, keep other record types off that hostname.

Publish them at the DNS provider hosting your authoritative nameservers. This is not always your domain registrar. Use the exact hostname and record type from your Airdocs contact or sending-relay administrator, and avoid appending the domain twice.

There is no fixed verification time documented in the public Airdocs pages reviewed. First check authoritative DNS, then allow existing positive or negative caches to expire. Ask your Airdocs contact to repeat verification once the issued records resolve publicly.

No. DMARC passes when either SPF or DKIM authenticates and its domain passes domain alignment with the visible From domain. Configure both for resilience, but keep aligned DKIM as the primary requirement because SPF commonly breaks during forwarding.

Yes, when the domain has no enforced policy. Start with v=DMARC1; p=none; rua=mailto:dmarc@example.com and verify every sending source. If the domain already uses p=quarantine or p=reject, keep that policy and fix Airdocs authentication instead of weakening protection.

An SPF pass authenticates the return-path domain. DMARC also requires it to match the From domain under aspf: relaxed mode accepts the same organisational domain, while strict mode requires an exact match. If the route cannot meet that rule, a passing DKIM signature that meets adkim can satisfy DMARC instead.
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