Suped

How to set up DMARC/DKIM/SPF for JangoMail

Published 29 Nov 2026
Updated 29 Nov 2026
12 min read
Summarize with
How to set up DMARC/DKIM/SPF for JangoMail
I set up JangoMail by adding include:jangomail.com to the sending domain's SPF record, enabling DKIM for that domain in JangoMail, and publishing a DMARC TXT record at _dmarc. JangoMail supports a custom Envelope-Sender Address, so SPF authentication can use your own domain.
DMARC passes when SPF or DKIM passes with domain alignment to the visible From address. I verify both on a delivered JangoMail message before tightening policy. Keep an existing quarantine or reject policy while configuring JangoMail.

Add your domain

I register the domain used in the campaign's From address through JangoMail's DKIM settings. DNS publication and the later ENABLE action complete verification.
  1. Choose your sender. Use an address on a domain you control, such as news@example.com. Have access to its authoritative DNS provider.
  2. Open DKIM. Sign in to JangoMail and open Settings > Email Settings > DKIM.
  3. Create the entry. Enter example.com and click CREATE DOMAIN KEY for the system DKIM method. Use the exact sending subdomain instead if your From address uses one.
  4. Inspect the record. Under DKIM Keys, open DETAILS. Keep the DNS name and target available for the DKIM step below.
The new key remains disabled until its DNS record is published and JangoMail successfully enables it. Creating the entry alone does not start DKIM signing.
Add the sending domain in JangoMail's DKIM settings.
Add the sending domain in JangoMail's DKIM settings.
Repeat this setup for every distinct From domain you send through JangoMail. A key for example.com should not be assumed to cover an unrelated domain.
JangoMail's public instructions use Settings > Email Settings > DKIM. Older instructions refer to Sending and Receiving > DomainKeys/DKIM; locate that equivalent area if your account has the older navigation.

Set up SPF

JangoMail's "SPF Record" instructions authorize its sending network with include:jangomail.com. I first confirm which domain the actual SMTP envelope sender uses, because SPF is evaluated there.
  1. Check the envelope sender. In Campaign Settings > Envelope-Sender Address, use an address on your domain when configuring a custom Return-Path, for example bounces@example.com. JangoMail documents the From address as the default when no override is supplied.
  2. Edit the correct DNS name. For bounces@example.com, edit the SPF TXT record at example.com. For bounces@bounce.example.com, edit bounce.example.com; the parent domain's SPF record is not inherited.
  3. Merge authorization. Add include:jangomail.com before the final all mechanism in the existing SPF record. Preserve other authorized senders and publish only one SPF record at that DNS name.
  4. Use a dedicated record carefully. Use the record below only when JangoMail is the sole authorized sender for that envelope domain. Do not replace a shared domain's existing authorization with it.
  5. Check alignment. A Return-Path on bounce.example.com has relaxed SPF alignment with a From address on example.com. With aspf=s, the domains must match exactly.
SPF TXT value for an envelope domain used only by JangoMaildns
v=spf1 include:jangomail.com -all
Enter the envelope domain in the SPF checker below. Check syntax and the 10 DNS-lookup limit, including nested includes. Ten include statements are not a reliable way to measure that limit.
A valid SPF record on example.com does not authenticate a message whose Return-Path uses an unrelated provider domain. Check the received message after saving the campaign settings.

SPF checker

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

?/16tests passed
For API sending, the envelope override is mailfromaddress. For SMTP relay, JangoMail accepts X-RelayOptions: mailfromaddress=bounces@example.com. Configure the SMTP envelope through those supported controls instead of inserting a Return-Path header yourself.
JangoMail continues handling bounces when its custom envelope setting is used. Save the campaign configuration and send a new test to confirm the resulting Return-Path.
Set a custom Envelope-Sender Address in JangoMail.
Set a custom Envelope-Sender Address in JangoMail.
If a message still uses a provider-owned Return-Path, investigate campaign overrides or API parameters. Publishing additional SPF records on your From domain cannot change the envelope domain.
A message with SPF alignment failure still passes DMARC when DKIM passes with alignment. For JangoMail, I configure its supported custom envelope sender as well as DKIM so both authentication paths work.

Set up DKIM

JangoMail offers system DKIM through a CNAME and an advanced method using a TXT public key. I choose one method per selector and enable it after DNS is available.
  1. Copy the system record. Return to the domain's DETAILS in Settings > Email Settings > DKIM. The documented system selector is jm, with the CNAME target shown below. Follow your account's displayed values if they differ.
  2. Publish the CNAME. At your DNS provider, use jm._domainkey as the relative name in the example.com zone. Check that the resulting full name is jm._domainkey.example.com.
  3. Enable signing. Return to JangoMail and click ENABLE beside the domain. If verification fails, correct DNS or wait for cached answers to expire, then try again.
  4. Check a fresh message. Confirm the recipient reports dkim=pass and the signing domain in header.d belongs to your From domain. The presence of a DKIM-Signature header alone does not prove validation.
Documented system DKIM CNAME for example.comdns
jm._domainkey.example.com. IN CNAME jm._domainkey.jmsend.com.
Use a DNS-only record if your DNS provider offers proxying. Do not publish a TXT key and a CNAME at the same selector name.
System DKIM
Publish the JangoMail-provided CNAME. JangoMail hosts the referenced public key. This avoids manually copying a long public key into DNS.
Advanced DKIM
Create a domain and selector using JangoMail's advanced method, click Save, then copy the entire Value field from Details into a TXT record. Publish the generated public value and enable the key in JangoMail.
For the TXT method, use the selector chosen in JangoMail when forming selector._domainkey.example.com. Copy its generated value exactly; a truncated public key fails verification.
If jm._domainkey already contains another sender's record, preserve it. Choose an unused selector through the advanced method or ask JangoMail support to resolve the conflict.
Copy the DKIM record, then enable signing in JangoMail.
Copy the DKIM record, then enable signing in JangoMail.
JangoMail documents that DNS visibility can take up to 48 hours. Check the authoritative record and any cached responses before repeatedly replacing the key.
After ENABLE succeeds, send another message through the same campaign or application you will use in production. Existing delivered messages retain their original signatures.

Set up DMARC

I publish DMARC at the visible From domain. For a domain without an existing policy, start with p=none to collect reports while validating all legitimate senders.
  1. Check for an existing policy. Look up _dmarc.example.com before editing DNS. Keep p=quarantine or p=reject if already deployed; add JangoMail without lowering that protection.
  2. Prepare reporting. Create a working reporting mailbox or use your report processor's assigned address. Replace dmarc@example.com in the example with a destination you control.
  3. Publish one TXT record. For From addresses on example.com, enter _dmarc as the relative DNS name. For From addresses on news.example.com, use _dmarc.news when publishing an explicit subdomain policy in the parent zone.
  4. Keep the initial scope clear. Use the monitoring record below only for a new policy. Preserve existing reporting destinations and other intentional settings when editing a live record.
Initial DMARC TXT value at _dmarc.example.comdns
v=DMARC1; p=none; rua=mailto:dmarc@example.com
The DMARC record generator builds the TXT value. p=none requests reporting without DMARC enforcement; receivers still apply their own filtering.
Use the checker below to confirm that the public record is readable and valid. When your reporting address is on another domain, confirm the report destination has any required external reporting authorization.

DMARC checker

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

?/7tests passed
JangoMail does not need a separate DMARC switch for your domain. Receivers apply the published policy to messages using that domain in the From address.
Most aggregate reports arrive on a daily schedule after mail is received. A valid DNS record without reports is a reason to check sending activity and the reporting destination.
Keep the correct DNS owner name
Publish DMARC under _dmarc, not at the zone apex. Keep existing MX records intact. DMARC and SPF do not require redirecting incoming mail to JangoMail.

Verify and troubleshoot

I verify a real JangoMail message before relying on DNS checks. Send through the same From address and delivery path used for live mail.
  1. Send to the tester. Open the email tester, copy its generated recipient address, and send a JangoMail test campaign to it. Run the analysis for a full diagnosis.
  2. Inspect authentication. Check SPF pass for the Return-Path domain, DKIM pass for your signing domain, and DMARC pass for the visible From domain.
  3. Check every sending path. Test normal campaigns and any API or SMTP integration separately. Different envelope settings or From domains change the authentication result.
  4. Investigate delivery errors. Open the affected JangoMail campaign report and its Blocks details. For transactional mail, inspect the recipient's SMTP log. Record the exact rejection and message identifier.
The embedded tester asks you to send a message to a unique address. This checks the delivered message, including the signature JangoMail actually applied.
A DNS-only lookup cannot confirm that signing is enabled or that an application used the intended Envelope-Sender Address. Keep the test result as a baseline before changing DMARC policy.

Email tester

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

?/43tests passed
If the test fails, fix the identity named in the result. SPF errors concern the envelope domain; DKIM errors concern the signing domain and selector.
Compare the failure with these checks, then send another test after the correction. A corrected DNS record does not change the result on an older message.

Result

Likely issue

Next check

SPF permerror
Duplicate or long SPF
One record; lookup count
SPF fail
Wrong envelope domain
Return-Path and SPF
DKIM missing
Signing disabled
JangoMail ENABLE
DKIM key missing
Wrong DNS name
Selector and suffix
DMARC fail
Domain mismatch
From and auth domains
No reports
Reporting setup
rua and mail activity
Start with the identity and error reported on a fresh message.
For a check inside JangoMail, open Reports > Tools > Delivery Optimizer. Enter the domain and click CHECK THIS DOMAIN to inspect DNS, SPF authorization, and DKIM setup.
I use the optimizer to find configuration errors, then confirm the result with the delivered-message test. A campaign-level SMTP acceptance result does not establish inbox placement.
Check the domain with JangoMail's Delivery Optimizer.
Check the domain with JangoMail's Delivery Optimizer.
Treat a custom tracking domain separately. Its CNAME points to jngo.net, and Settings > Tracking > Tracking Domain saves it for campaign links; it does not configure the SMTP envelope sender.
For an rDNS or sending-IP issue, give JangoMail support the affected message's SMTP log and source IP. The sending infrastructure owner controls the PTR record.

Get alerted when it breaks

Suped is our DMARC platform for monitoring JangoMail after setup. Our DMARC monitoring connects reported failures to the sending source and provides steps to fix detected issues.
  1. Enable issue notifications. Once reports are reaching Suped, open Settings > Notifications and enable Issues detected and Sending sources need verification. Enable DMARC summary emails for regular reviews.
  2. Confirm the source. Review JangoMail in Sources and verify it only after matching the activity to your own campaigns. Investigate unexpected sending separately.
  3. Diagnose the failure. Use Data view to filter affected records, then Detail view to inspect SPF and DKIM results. Compare DNS history when failures begin after a DNS change.
  4. Fix and retest. Apply the correction in JangoMail or DNS, follow Suped's issue-resolution steps, and send a fresh test. Check subsequent reports for recovery.
This keeps the investigation tied to JangoMail's actual sending behavior. A changed envelope domain and a disabled DKIM key require different fixes even when both produce DMARC failures.
Report timing sets alert timing
Suped can alert on issues detected in incoming DMARC data. Aggregate reports usually arrive daily, so report-based alerts do not provide an immediate signal for every individual message. Use JangoMail SMTP logs for urgent delivery investigations.

Secure your domain with p=reject

I move to p=reject when all legitimate sending is understood and correctly authenticated. Suped's source analysis and Hosted DMARC support that process with policy management in our dashboard.
  1. Inventory legitimate mail. Review Suped reports over a complete sending cycle, including infrequent campaigns and business applications. Do not judge readiness from JangoMail alone.
  2. Resolve authorized failures. Require working DKIM with domain alignment for JangoMail and configure its supported SPF alignment too. Investigate forwarding paths before enforcing rejection.
  3. Trial quarantine. If starting at p=none, change the existing policy to p=quarantine once authorized traffic is passing. Review fresh reports and delivery errors before proceeding.
  4. Apply rejection. Change the same policy to p=reject after resolving legitimate failures. In Hosted DMARC, use its policy controls; otherwise edit the active DNS TXT record.
  5. Keep monitoring. Retain reporting, review subdomain policies, and investigate new sources before authorizing them. If a legitimate stream breaks, fix its authentication and use a scoped policy adjustment only when necessary.
These examples retain the same reporting destination. Replace it with your working destination, preserve other intentional policy tags, and publish only one current policy at a time.
Quarantine stage: replace the current DMARC TXT valuedns
v=DMARC1; p=quarantine; rua=mailto:dmarc@example.com
Reject stage: replace the current DMARC TXT valuedns
v=DMARC1; p=reject; rua=mailto:dmarc@example.com
If you already use quarantine or reject, retain it while adding JangoMail. Suped helps isolate JangoMail failures so a single sender's configuration can be corrected without unnecessarily lowering the domain's policy.
Use authentication evidence for enforcement
A failed spoofing attempt is expected at p=reject. Focus remediation on failures from authorized sending sources. DMARC pass validates domain use; it does not guarantee inbox placement.

Frequency asked questions

JangoMail documents include:jangomail.com as its SPF authorization mechanism. Add it to the existing SPF record for the envelope-sender domain when authorizing JangoMail. Do not replace other legitimate senders or add a second SPF record.

The jangomail.com domain belongs to JangoMail, so that hostname suffix suggests JangoMail infrastructure. Confirm a sending IP using its PTR record, forward DNS, and your campaign logs. An rDNS hostname alone does not establish that the message is authorized for your domain.

SPF can pass for an envelope domain that does not have domain alignment with the visible From address. DMARC then needs a passing DKIM signature with domain alignment. Check the actual Return-Path, DKIM header.d domain, and any strict alignment settings.

Yes. Keep the policy and configure JangoMail's DNS authorization and DKIM signing before sending live campaigns. Test the intended From address and sending path. Correct JangoMail failures instead of automatically lowering protection for every sender.

Use the record type generated by the method you selected. System DKIM uses a CNAME, with jm._domainkey.jmsend.com as the documented target. Advanced DKIM uses the generated TXT public key. A selector name cannot hold both a CNAME and a TXT record.

No. A custom tracking domain changes campaign tracking links. The Envelope-Sender Address controls the SMTP envelope identity used for SPF. Setting a tracking CNAME does not create SPF alignment or enable DKIM signing.
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