How to set up DMARC/DKIM/SPF for Greatmail

Updated on 14 Nov 2026: We clarified Greatmail DNS record placement, report delivery checks, and the steps for enforcing DMARC safely.
Greatmail authentication needs one SPF record that authorizes Greatmail, a Greatmail-provided DKIM key, and a DMARC TXT record on the visible From domain. Start with monitoring at p=none, confirm that Greatmail mail passes DMARC through aligned SPF or aligned DKIM, then move to p=reject after every legitimate sender is accounted for.
Records at a glance
- SPF: Publish one TXT record that includes spf.greatmail.com.
- DKIM: Publish the selector and public key supplied by Greatmail.
- DMARC: Start at p=none unless the domain already uses quarantine or reject.
- Passing rule: DMARC passes when aligned SPF or aligned DKIM passes.
Provision your Greatmail domain
Greatmail provisions domains through its onboarding or support process. Gather the DNS records Greatmail sends in the hosting instructions before changing DNS because the assigned DKIM selector and return-path details can be account-specific. Make changes at the authoritative DNS provider, which is not always your domain registrar.
- Request provisioning: Give Greatmail the exact From domain and state whether the account uses hosted mailboxes or outbound SMTP only.
- Choose authentication: Ask Greatmail to enable DKIM signing and, if available for the account, a custom return-path under your domain.
- Collect DNS values: Record the SPF include, DKIM selector, DKIM public key, and any return-path DNS value supplied for the account.
- Confirm status: Ask Greatmail to confirm that provisioning and DKIM signing are complete, then verify a test message before sending production traffic.

Greatmail support request for domain provisioning
Do not change MX for SMTP-only service
MX controls inbound mail routing. If Greatmail only sends outbound mail for the domain, keep the existing MX records. If Greatmail hosts the mailboxes, lower the current MX TTL before the migration, create every mailbox, then use the supplied MX value, commonly smtp.greatmail.com with priority 10.
Set up SPF
SPF checks the SMTP envelope-sender domain (MAIL FROM), usually shown in the delivered Return-Path header. For a domain that sends only through Greatmail, Greatmail documents the record below. Publish it at the return-path domain Greatmail configured.
Greatmail-only SPF recordDNS
Host: @ Type: TXT Value: v=spf1 mx include:spf.greatmail.com -all
The @ host means the root of the DNS zone. If Greatmail uses bounce.example.com as the return-path domain, publish SPF there instead; SPF is not inherited by subdomains. The mx mechanism also authorizes the domain's MX hosts, so retain it only when those hosts should send mail for that domain.
- Find the current record: Check the exact return-path domain for an existing TXT value that begins with v=spf1.
- Merge senders: If SPF already exists, add include:spf.greatmail.com before its final all mechanism. Never publish a second SPF record at the same name.
- Preserve authorization: Keep every include or IP mechanism still used by another approved sender. Remove old mechanisms only after traffic has stopped.
- Check lookup count: Keep SPF within its limit of ten DNS-lookup mechanisms and modifiers per evaluation, including nested includes. Check for loops and duplicate SPF records; ten include entries are not necessarily safe.
SPF checker
Find SPF syntax issues, lookup limits, and weak records.
?/16tests passed
The checker should return one syntactically valid SPF policy and resolve Greatmail's include. A raw SPF pass is useful, but DMARC also requires the SPF-authenticated return-path domain to match the visible From domain under relaxed or strict alignment.
When SPF alignment is unavailable
Some accounts use a provider-managed return-path that does not meet SPF alignment requirements for your domain. DMARC still passes when Greatmail signs with an aligned DKIM domain and DKIM passes. Configure a custom return-path when Greatmail provisions one for the account, but keep aligned DKIM working for forwarded messages.
Set up DKIM
Greatmail generates the private key and signs outgoing mail. Publish only the matching public key in DNS. The selector and key come from Greatmail's hosting instructions or support, so do not guess either value.
- Get the selector: Request the DKIM selector and complete public-key TXT value for the exact sending domain.
- Create the record: Replace selector with Greatmail's supplied selector and publish the TXT record at <selector>._domainkey.<signing-domain>. For a signing domain of mail.example.com in the example.com zone, enter <selector>._domainkey.mail when the DNS provider appends example.com automatically.
- Keep the key intact: Paste the public key without added line breaks. DNS interfaces can split a long TXT value into quoted strings without changing the resolved value.
- Enable signing: Tell Greatmail the DNS record has propagated, then confirm it activates DKIM signing for the domain.
DKIM record templateDNS
Host: <selector>._domainkey Type: TXT Value: v=DKIM1; k=rsa; p=<Greatmail-public-key>
Passing DKIM
- Signature result: The Authentication-Results header shows dkim=pass.
- Signing domain: The DKIM d= domain shares the visible From domain's organizational domain under relaxed alignment or matches it exactly under strict alignment.
Failing DKIM
- Missing key: The selector is wrong, duplicated by the DNS interface, or not propagated.
- Domain mismatch: DKIM passes for a Greatmail-owned domain but does not satisfy DMARC for your From domain.
Greatmail's own alignment guidance recommends full alignment. Its statement that DMARC requires both SPF and DKIM alignment is incorrect: DMARC passes when either aligned SPF or aligned DKIM passes. Configure both where supported for resilience.
Set up DMARC
DMARC policy must cover the visible From domain, not a Greatmail server hostname. Publish a record for that domain or rely on its organizational-domain policy when a subdomain has no specific record. Start a new deployment at p=none to discover sending sources through reports without requesting enforcement against failures. If the domain already uses p=quarantine or p=reject, keep that enforcement level and fix Greatmail under the existing policy.
Starting DMARC recordDNS
Host: _dmarc Type: TXT Value: v=DMARC1; p=none; rua=mailto:dmarc@example.com
- Choose the mailbox: Replace dmarc@example.com with a monitored aggregate-report address or the address supplied by your reporting platform.
- Publish one policy: Publish one DMARC TXT record at _dmarc.example.com for From addresses at example.com, or _dmarc.mail.example.com for From addresses at mail.example.com. In the example.com DNS zone, the host fields are _dmarc and _dmarc.mail respectively. Multiple DMARC records at the same hostname prevent a usable policy there.
- Keep defaults: Use relaxed SPF and DKIM alignment unless strict matching has a documented requirement.
- Generate safely: Use the DMARC record generator when adding reporting or subdomain policy tags.
DMARC checker
Look up a domain's DMARC record and catch policy issues.
?/7tests passed
The lookup should return one record with a valid version, policy, and aggregate reporting address. DNS visibility proves publication only. A Greatmail test message still needs to show dmarc=pass in the receiver's Authentication-Results header.
|
|
|
|---|---|---|
p=none | No DMARC enforcement requested | Discovery |
p=quarantine | Treat as suspicious, often spam-folder placement | Staging |
p=reject | Reject, subject to receiver policy | Enforcement |
Compact DMARC rollout states
Receivers apply their own filtering and local exceptions. A p=none policy does not guarantee delivery, and a DMARC pass does not guarantee inbox placement.
Confirm DMARC report delivery
DMARC aggregate reports are XML summaries sent by receiving providers about messages using your From domain. They are usually sent daily, so allow a reporting cycle after test traffic. Missing reports do not prove that Greatmail authentication passed.
- Check the destination: Confirm that rua contains the correct mailto: address and that its mailbox or reporting platform accepts reports.
- Verify external authorization: When the reporting destination uses another organizational domain, its operator must publish DNS authorization to receive your reports. When using Suped's supplied reporting address, confirm external authorization is valid during onboarding.
- Check reporting coverage: Send Greatmail test traffic to a receiver that sends aggregate reports, then check the report period and source IP. Some receivers do not send reports.
- Compare with headers: Use delivered-message headers for immediate verification while waiting for aggregate data, and compare reported volume with Greatmail sending logs.
The reporting and external-destination requirements are described in RFC 9989. Fix reporting delivery before using silence as a reason to enforce p=reject.
Protect Greatmail subdomains
A DMARC policy at the organizational domain also applies to subdomains unless a more specific record or subdomain tag changes the result. Under RFC 9989, sp controls existing subdomains and np controls non-existent subdomains. Without np, non-existent subdomains inherit sp when present, otherwise p. Policy discovery uses a DNS tree walk, so verify the policy receivers apply before enforcing the apex domain.
- Inventory From domains: List the apex domain and every subdomain used in visible From addresses sent through Greatmail.
- Check inherited policy: Confirm whether the organizational-domain p value or an sp value currently applies to each Greatmail subdomain.
- Separate exceptions: Publish a specific DMARC record at a Greatmail subdomain when it needs a different policy or reporting address.
- Protect unused names: Set np deliberately when protecting non-existent subdomains, and confirm receiver behavior in aggregate reports during rollout.
Do not use pct for gradual enforcement
RFC 9989 made the pct tag historic because partial policy application was inconsistent. Use a dedicated Greatmail sending subdomain when an isolated rollout is required. Otherwise, change the applicable policy only when that whole domain scope is ready.
Verify and troubleshoot
Verify DNS first, then send through the same Greatmail SMTP route the production application uses. A message sent through another relay proves nothing about Greatmail's signing or return-path configuration.
- Check public DNS: Confirm the SPF, DKIM, and DMARC TXT records resolve at the intended hostnames on public resolvers. Allow cached records and cached negative answers to expire before diagnosing a new record as missing.
- Send test messages: Use the production From address, Greatmail SMTP credentials, and normal application path. Test delivery to more than one receiving provider.
- Inspect headers: Read the receiving provider's trusted Authentication-Results header. Look for spf=pass, dkim=pass, and dmarc=pass, then compare header.from, smtp.mailfrom, and DKIM header.d. In DKIM-Signature, s= identifies the selector and d= identifies the signing domain.
- Repeat by stream: Test marketing and transactional traffic separately if Greatmail has provisioned different SMTP pools or credentials.

Greatmail mail records lookup fields and results
Use our email tester below for an end-to-end check. Send the generated test address a message through Greatmail, then review the SPF domain, DKIM signing domain, DMARC result, 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
A DKIM body-hash failure points to message modification after signing, such as an added footer. SPF permerror usually means duplicate SPF records, excess DNS lookups, or malformed syntax; temperror points to a temporary problem such as a DNS timeout. DMARC can fail even when SPF and DKIM each pass if neither authenticated domain matches the visible From domain.
Common Greatmail failure pattern
If SPF passes for a Greatmail-owned return-path and DKIM passes for a Greatmail-owned signing domain, DMARC still fails for example.com. Ask Greatmail to sign with example.com and configure a custom return-path if supported, then retest through the same SMTP account.
Monitor Greatmail authentication
A one-time DNS check cannot catch later changes such as a removed include or stale DNS after a DKIM key rotation. Suped is our DMARC platform. It turns receiving providers' aggregate reports about Greatmail traffic into source-level findings and alerts as reports are processed. Authentication alerts depend on those reports arriving.
- Connect reporting: Point the DMARC rua tag at the aggregate address supplied by Suped and leave the enforcement policy unchanged during onboarding.
- Identify Greatmail: Mark the verified Greatmail source and compare its DKIM, SPF, and DMARC pass rates with expected volume.
- Turn on alerts: Notify the owner when DMARC failures cross the chosen threshold or a DNS record changes.
- Review new sources: Classify every new IP or service before changing policy, and investigate unexpected Greatmail volume against account activity.
Suped combines DMARC monitoring with source-level SPF and DKIM results so you can identify which Greatmail stream needs a signing or return-path change.
Alert on changes that affect mail
- Authentication drop: Trigger when Greatmail's DMARC pass rate falls below its normal baseline.
- Unknown traffic: Investigate a new IP, DKIM domain, or return-path before authorizing it.
- DNS drift: Catch an SPF or DMARC edit before it becomes a sustained delivery problem.
- Reputation signal: Review blocklist and blacklist changes alongside authentication results.
Secure your domain with p=reject
Move to p=reject only after DMARC reports show that every legitimate source has an aligned passing path. Greatmail should pass through DKIM, SPF, or both. Forwarding often breaks SPF, so aligned DKIM needs to remain stable before enforcement.
- Observe a full cycle: Cover normal campaigns, automated jobs, low-frequency senders, and seasonal traffic before enforcing.
- Fix legitimate failures: Correct Greatmail signing or return-path settings and remove obsolete senders rather than adding broad SPF authorization.
- Stage enforcement: Change a ready policy scope to p=quarantine, then p=reject while watching aggregate reports. Do not use the historic pct tag for partial enforcement.
- Apply rejection: Publish p=reject once authorized traffic is consistently clean, remove t=y if present so policy test mode does not reduce enforcement, then continue monitoring for drift.
Full DMARC enforcementDNS
Host: _dmarc Type: TXT Value: v=DMARC1; p=reject; rua=mailto:dmarc@example.com
Use Suped's hosted DMARC workflow to manage enforcement changes and review authentication issues before changing the policy. Confirm that every legitimate Greatmail stream has an aligned passing path.
Do not weaken authentication to reach reject
Do not authorize an entire network to hide a Greatmail SPF failure, and do not accept a DKIM signature from an unrelated domain as sufficient. Fix the aligned identifier. Use the domain health checker for a final record-level check before changing enforcement.
Greatmail authentication FAQ
These checks cover the Greatmail-specific details that most often cause setup delays or misleading test results.
Greatmail documents v=spf1 mx include:spf.greatmail.com -all. Publish it at the configured return-path domain, and retain mx only when that domain's MX hosts are authorized senders. If SPF already exists, merge include:spf.greatmail.com before its final all mechanism. Publish only one SPF record per hostname.
Ask Greatmail whether the account can use a custom return-path under your From domain and publish any required DNS value. Then inspect smtp.mailfrom in a delivered message because the available return-path setup depends on the account and service type.
Yes. DMARC passes when at least one aligned method passes. If SPF uses an unrelated return-path, aligned Greatmail DKIM can still pass DMARC. Confirm dkim=pass and make sure the DKIM d= domain matches the visible From domain under the chosen alignment mode.
That rDNS suffix usually indicates Greatmail infrastructure. Confirm it by checking the sending IP, return-path, DKIM signature, and expected account activity. Dedicated IP service can use a custom PTR, so rDNS alone is not conclusive.
No, not for outbound-only SMTP. MX controls inbound delivery. Change MX only when Greatmail hosts the domain's mailboxes, and use the value supplied in the hosting instructions after all mailboxes are provisioned.
Move to p=reject after reports cover normal sending cycles and every legitimate Greatmail stream has an aligned SPF or DKIM pass. Stage a ready policy scope through quarantine, investigate unexpected sources, and keep monitoring after enforcement. Do not use the historic pct tag to sample the policy.

