How do you set up DMARC for Postmark?
Postmark DMARC passes when you verify the sending domain with Postmark's DKIM TXT record, so mail is signed with your own domain, and add a custom Return-Path CNAME (default pm-bounces, pointing to pm.mtasv.net) so SPF aligns too. Postmark no longer needs an SPF include. Then publish a DMARC record at p=none and read the reports.
Postmark is a transactional email service used by many SaaS products and web applications for password resets, receipts and notifications. It often shows up in DMARC (Domain-based Message Authentication, Reporting and Conformance) reports at MSP (managed service provider) clients because a developer or agency set it up, not IT. This guide covers which records Postmark asks for, how SPF (Sender Policy Framework) and DKIM (DomainKeys Identified Mail) align, how message streams affect your domain plan, and how to run Postmark across many client domains. Facts are taken from Postmark's own support centre and developer documentation as of November 2026. For protocol background, see the DMARC guide.
Key takeaways
- Postmark verifies a domain with one DKIM TXT record. The selector is a timestamp followed by
pm, for example20160921046319pm._domainkey.example.com. Postmark signs with 1024-bit keys. - Without a custom Return-Path, the envelope domain is
pm.mtasv.net. SPF passes for Postmark but never aligns with the client's From domain. - A custom Return-Path is a CNAME from a subdomain of the From domain (default
pm-bounces) topm.mtasv.net. It aligns SPF under relaxed alignment only, because it is always a subdomain. include:spf.mtasv.netin the client's root SPF record is optional and does nothing for DMARC. Postmark says so directly.- Postmark recommends separate subdomains, each with its own DKIM and Return-Path, for transactional and broadcast streams.
Which DNS records does Postmark ask for?
Postmark asks for two records per domain: a DKIM TXT record, which verifies the domain for sending, and a custom Return-Path CNAME, which is optional but needed for SPF alignment. Both appear under Sender Signatures > DNS Settings in the Postmark account. You add the DMARC record yourself.
According to Postmark's domain verification article, both records should show as verified within 48 hours, and a Verify button forces a manual check. Postmark's DKIM setup article adds that once DKIM verifies, the entire domain is verified for sending, so any address on it can be used without adding it as a separate sender signature.
The host names follow a fixed pattern. Postmark's Domains API reference shows a DKIM host of 20160921046319pm._domainkey.example.com, a Return-Path domain of pm-bounces.<domain> and a CNAME value of pm.mtasv.net. For a client sending from example.co.uk, the zone looks like this (DKIM selector and key illustrative, copy yours from Postmark):
20240315104512pm._domainkey.example.co.uk. TXT "k=rsa; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQ...(value from Postmark)"
pm-bounces.example.co.uk. CNAME pm.mtasv.net.
_dmarc.example.co.uk. TXT "v=DMARC1; p=none; rua=mailto:dmarc@example.co.uk"
| Record | Type | Host | Value | Needed for DMARC? |
|---|---|---|---|---|
| DKIM | TXT | <timestamp>pm._domainkey |
k=rsa; p=... from DNS Settings |
Yes: gives aligned DKIM |
| Custom Return-Path | CNAME | pm-bounces (default, can be changed) |
pm.mtasv.net |
Only for aligned SPF |
| SPF include | TXT (root) | @ |
include:spf.mtasv.net |
No: optional, never aligns |
| DMARC | TXT | _dmarc |
Your policy and rua address |
Yes |
What does the DKIM selector look like?
The selector is a timestamp followed by pm, which Postmark's troubleshooting pages call TIMESTAMPpm. The full host is that selector plus ._domainkey plus the domain, and the value starts with k=rsa; p=. Because the timestamp is unique to each key, never reuse a selector from another client or an old screenshot.
Postmark's DKIM article states that it uses 1024-bit keys. That meets the minimum mailbox providers ask for, and it fits in a single TXT string, so you avoid the splitting problems that 2048-bit keys cause at some DNS hosts. See the DKIM selector explained for how selectors work.
Does Postmark still need an SPF include?
No. Postmark's SPF article says it is no longer required to include Postmark in your own SPF record, because receivers check SPF against the Return-Path domain, and Postmark's Return-Path already covers its sending IPs. It adds that include:spf.mtasv.net "will do nothing for you" for alignment.
You will still find the include in many client zones, because Postmark used to ask for it. Its 2017 post Why we no longer ask for SPF records explains the change. The Domains API still returns an SPFTextValue of v=spf1 a mx include:spf.mtasv.net ~all, but the SPF fields and the verify SPF endpoint are marked deprecated. Removing the include frees one of the ten DNS lookups SPF allows under RFC 7208; check with the client first that no other system relies on it, and see SPF too many DNS lookups.
How does Postmark DMARC alignment work?
DMARC passes when SPF or DKIM passes for a domain aligned with the header From domain. With Postmark, DKIM aligns once the From domain is verified with its DKIM record, and SPF aligns only when a custom Return-Path on a subdomain of the From domain is in place and the policy uses relaxed SPF alignment.
RFC 9989 defines two alignment modes. Relaxed alignment (r, the default for adkim and aspf) accepts any domain that shares the From domain's organizational domain. Strict alignment (s) requires an exact match. Postmark's Domains API and sender signatures API both state that the custom Return-Path domain must be a subdomain of the From email domain, so it can never match exactly.
| Setup | DKIM d= |
Envelope (Return-Path) domain | Relaxed alignment | Strict alignment |
|---|---|---|---|---|
| DKIM verified, custom Return-Path | example.com |
pm-bounces.example.com |
Pass: DKIM and SPF align | Pass on DKIM only (aspf=s fails SPF) |
| DKIM verified, no custom Return-Path | example.com |
pm.mtasv.net |
Pass on DKIM only | Pass on DKIM only |
| No DKIM record, custom Return-Path | A Postmark domain | pm-bounces.example.com |
Pass on SPF only | Fail |
| Sender signature only (email confirmation, no DNS) | A Postmark domain | pm.mtasv.net |
Fail | Fail |
The last row is the one MSPs meet most often. A developer confirms a single address by email, Postmark sends, SPF and DKIM both pass in the headers, but neither passes for the client's domain. At p=none nothing happens; at p=quarantine or p=reject the password resets disappear. The general pattern is covered in why DMARC fails when SPF passes and DMARC alignment explained.
Why does strict SPF alignment break Postmark mail?
Because the custom Return-Path is always a subdomain, so aspf=s can never be satisfied. Postmark's article on Outlook spam and DMARC records shows a message that passed SPF and DKIM yet failed DMARC at Microsoft with aspf=s and p=reject, where the passing DKIM signature belonged to Postmark's domain rather than the From domain.
Postmark's fix is to change aspf=s to aspf=r unless there is a specific reason for strict alignment. The other safeguard is the DKIM record: with DKIM verified on the From domain, DKIM aligns even under adkim=s, and DMARC only needs one aligned pass.
How do you add a custom Return-Path in Postmark?
Create a CNAME from pm-bounces (or another subdomain of the From domain) to pm.mtasv.net, then enter that host name in the Return-Path section of the domain's DNS Settings page. Postmark's custom Return-Path article says the CNAME lets Postmark keep collecting bounces while the address uses your domain.
Without it, Postmark's SPF alignment article explains, the Return-Path is pm_bounces@pm.mtasv.net, so SPF is evaluated for Postmark's domain and fails alignment. With it, the envelope address becomes an address at pm-bounces.example.com, which inherits Postmark's SPF and MX records through the CNAME.
Postmark's Return-Path troubleshooting article lists the usual reasons it will not verify:
- Propagation: DNS changes can take up to 48 hours to become visible.
- Mismatched values: the host must match what Postmark shows (
pm-bouncesunless changed) and the value must bepm.mtasv.net. - Appended zone name: some DNS panels turn the value into
pm.mtasv.net.example.com; add a trailing dot. - Cloudflare proxy: proxying the CNAME (the orange cloud) interferes with verification, so set it to DNS only.
A CNAME cannot coexist with other records at the same name, so pick a host that is not already used. That follows from DNS itself rather than from Postmark's docs.
How do message streams affect your domain plan?
Postmark separates mail into message streams: transactional (API value outbound) for one-to-one messages triggered by a user action, and broadcast for bulk messages sent on your schedule. Postmark's message streams page says transactional and broadcast traffic do not mix, including IP ranges, and an opt-out link is required for broadcast.
For DMARC, the streams matter because of Postmark's own advice in its message streams guide: "Keep Transactional and Broadcast on separate streams and subdomains with custom DKIM + Return-Path." In practice that means a layout such as:
From: no-reply@app.example.com DKIM d=app.example.com Return-Path at pm-bounces.app.example.com
From: news@news.example.com DKIM d=news.example.com Return-Path at pm-bounces.news.example.com
Each subdomain is added in Postmark as its own domain, with its own DKIM TXT record and Return-Path CNAME. Stream selection happens per message: the MessageStream field in the API, or the X-PM-Message-Stream header over SMTP; with no stream ID, Postmark uses the server's default transactional stream. Separate subdomains also need DMARC thought: a subdomain without its own record inherits the parent's sp= policy, as covered in DMARC for subdomains and subdomain or separate domain for bulk email.
How do you verify Postmark authentication with dig and headers?
Check the DNS records first, then read the Authentication-Results header of a real message. You want dkim=pass for the From domain, spf=pass for the pm-bounces subdomain and dmarc=pass. Replace the selector with the one shown on the domain's DNS Settings page:
dig +short TXT 20240315104512pm._domainkey.example.co.uk
dig +short CNAME pm-bounces.example.co.uk
dig +short TXT pm.mtasv.net
dig +short TXT _dmarc.example.co.uk
dig +short TXT example.co.uk
The CNAME query should return pm.mtasv.net., and the last query shows whether an old include:spf.mtasv.net is still spending a lookup. Then send a test to a Gmail or Outlook.com mailbox and check the header. A correctly configured message looks like this (selector and addresses illustrative):
Authentication-Results: mx.google.com;
dkim=pass header.i=@example.co.uk header.s=20240315104512pm;
spf=pass smtp.mailfrom=pm_bounces@pm-bounces.example.co.uk;
dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=example.co.uk
If smtp.mailfrom shows pm.mtasv.net, the custom Return-Path is not active for that domain. If the only passing DKIM result is for a Postmark domain, the DKIM record is missing or unverified. The email header analyzer parses these fields, and how to read email headers explains the triage.
What are the most common Postmark DMARC mistakes?
Most failures trace back to a domain that was never DKIM verified, strict SPF alignment, or DNS panel quirks. Start from the aggregate reports, find the Postmark source, and compare its DKIM domain and envelope domain with the header From. For a relay often used for printers and apps, compare the SMTP2GO setup guide.
| Symptom | Likely cause | Fix |
|---|---|---|
| SPF and DKIM pass, DMARC fails | Only a sender signature confirmed by email; DKIM and SPF pass for Postmark's domains | Add the domain's DKIM TXT record and verify it |
DMARC fails at Microsoft with aspf=s |
Custom Return-Path is a subdomain, so strict SPF alignment fails | Use aspf=r, and make sure DKIM is verified |
smtp.mailfrom is pm.mtasv.net |
No custom Return-Path set for the domain | Add the pm-bounces CNAME and enter it under DNS Settings |
| Return-Path will not verify | Cloudflare proxy on, or value became pm.mtasv.net.example.com |
Set DNS only; add a trailing dot to the value |
DKIM host shows as ...example.com.example.com |
DNS panel appended the zone name to a full host name | Enter only the host label, or a fully qualified name with a trailing dot |
| Broadcast mail hurts transactional reputation | Both streams send from the same domain | Separate subdomains per stream, each with DKIM and Return-Path |
| Root SPF over ten lookups | Legacy include:spf.mtasv.net plus other services |
Remove the include after checking nothing else depends on it |
| New subdomain rejected from day one | Parent record carries sp=reject; subdomain has no own record |
Publish _dmarc for the subdomain at p=none while testing |
How should an MSP manage Postmark across many clients?
Treat each Postmark domain as a third-party sender with an owner, a DNS change and a monitoring step. Postmark's account-level APIs let you script the records, so the routine scales across a portfolio instead of being repeated by hand in each client's DNS console.
Postmark's guide to sending on behalf of customers describes three models: sending from your own domain, single-address sender signatures confirmed by email, and full customer domains verified with DKIM. Only the third gives the client aligned DKIM on its own domain. The Domains API uses the X-Postmark-Account-Token header, which only the account owner can access, so decide early who holds that token for each client account.
A repeatable routine:
- Inventory: list every Postmark account, server, stream and From domain per client, including staging. Record who owns each account.
- Create: add the domain with
POST /domainsand aReturnPathDomainsuch aspm-bounces.example.co.uk, as shown in Postmark's domains API article. - Publish: take
DKIMPendingHostandDKIMPendingTextValuefrom the response as the TXT record, andReturnPathDomainwithReturnPathDomainCNAMEValueas the CNAME. If you manage the client's DNS through an API, script this step. - Verify: call
PUT /domains/{domainid}/verifyDkimandPUT /domains/{domainid}/verifyReturnPath, then confirm with dig and a test header. - Align: check the client's DMARC record uses
aspf=r(or omitsaspf), and that each stream sends from a verified domain. - Monitor: watch aggregate reports for a full sending cycle, including monthly billing mail, before moving the client beyond
p=none. - Rotate and offboard: rotate keys with
POST /domains/{domainid}/rotatedkim, which places the new key in the pending fields until DNS is confirmed; when a client leaves Postmark, delete the domain and remove its DKIM and CNAME records.
If a client already sends aggregate reports to another address, keep it in the same rua tag as your own address rather than publishing a second DMARC record, because two records invalidate the policy. dmarc.ai shows Postmark as a classified sending source in each client's aggregate reports, so an unaligned stream stands out before enforcement. For the wider process, see how to handle third-party senders and DMARC for SaaS companies, which places Postmark among the product and billing mail sources a SaaS client typically runs.
When can a Postmark client move to p=reject?
Once aggregate reports show every Postmark stream passing DMARC with aligned DKIM, ideally with aligned SPF as well, and no unexplained sources remain. RFC 9989 removed the percentage tag, so move from p=none to p=quarantine to p=reject in full steps, using t=y if you want receivers to treat a policy as a test.
The UK NCSC's email security and anti-spoofing guidance also recommends starting at p=none and moving to enforcement once legitimate mail is accounted for. Postmark's verification article likewise suggests starting with p=none. Compare the setup with the SendGrid DMARC guide, the Mailgun guide and the Amazon SES guide, which use different return path models.
FAQ
Does Postmark create a DMARC record for my domain?
No. Postmark shows DKIM and Return-Path records on the DNS Settings page, and its verification article suggests starting with a p=none DMARC policy, but you publish the _dmarc TXT record yourself. The DMARC generator builds a starting record with an aggregate report address you can extend later.
Is the Postmark custom Return-Path required for DMARC?
Not strictly. DMARC needs one aligned pass, and a verified DKIM record gives aligned DKIM on its own. The custom Return-Path adds aligned SPF, which keeps DMARC passing if a DKIM signature breaks in transit, for example through a forwarder that modifies the message. Postmark recommends adding it.
What is pm.mtasv.net?
It is Postmark's bounce domain. Without a custom Return-Path, the envelope address is pm_bounces@pm.mtasv.net, so SPF passes for Postmark rather than for your domain. With a custom Return-Path, your pm-bounces subdomain is a CNAME to pm.mtasv.net and inherits its SPF and MX records.
Can Postmark pass DMARC with strict alignment?
Only through DKIM. With the domain DKIM verified, the signature uses the From domain and passes adkim=s. SPF cannot pass aspf=s, because the custom Return-Path must be a subdomain of the From domain. Postmark recommends aspf=r unless you have a specific reason for strict SPF alignment.
Should I remove include:spf.mtasv.net from the client's SPF record?
Usually, yes. Postmark says the include is not required and does nothing for alignment, because SPF is checked on the Return-Path domain. Removing it saves a DNS lookup. Confirm first that no other service or old configuration relies on it, then remove it and watch the reports.
Final thoughts
Postmark is one of the simpler ESPs to align: one DKIM TXT record makes DKIM align, one CNAME makes SPF align, and the SPF include can go. The traps are single-address sender signatures, strict SPF alignment and mixed streams on one domain. Script the records through the Domains API, keep alignment relaxed, and let the aggregate reports decide when each client is ready for enforcement.