schedule 16-min read

Proton Mail Custom Domain DMARC: SPF, DKIM and DMARC Setup

DMARC AI editorial team · Last updated

Set up Proton Mail DMARC on a custom domain: verification TXT, MX, SPF include, the three DKIM CNAMEs, Proton’s DMARC advice checked against RFC 9989.

01

How do you make Proton Mail pass DMARC?

To make Proton Mail pass DMARC on a custom domain, publish the records Proton's domain wizard shows: a verification TXT, two MX records, an SPF include for _spf.protonmail.ch, three DKIM CNAMEs (protonmail._domainkey and two more) and a DMARC TXT at _dmarc. Proton then signs mail with DKIM as your domain, which is what makes DMARC align.

02

Key takeaways

  • Proton documents the record names and the MX and SPF values, but the verification code, the DKIM CNAME targets and the exact DMARC string are generated per domain. Copy them from Settings > All settings > Domain names > Review.
  • DKIM is the dependable route to DMARC alignment: once the three CNAMEs verify, Proton signs outgoing custom domain mail with your domain and rotates the keys automatically.
  • Proton recommends p=quarantine. That is a valid RFC 9989 policy, but if the domain also sends through other services, start at p=none with a report address and move up only when reports are clean.
  • A domain can have only one SPF record. If the client also sends through Microsoft 365, a CRM or a newsletter tool, merge the Proton include into the existing record.
  • End-to-end encryption protects the message body; it does not replace or break DKIM. Proton does not document DKIM behaviour for every delivery path, so verify with real headers.
03

Which DNS records does Proton Mail ask for?

Proton asks for five kinds of record on a custom domain: a TXT record to prove ownership, two MX records to receive mail, an SPF TXT record, three DKIM CNAME records and a DMARC TXT record. Its guide to using a custom domain with Proton Mail says custom domains work on all paid Proton Mail plans.

The values below come from Proton's support pages. Where a value is generated per domain, Proton's text does not print it, and neither does this guide.

Record Host Type Value documented by Proton
Verification @ TXT protonmail-verification= followed by your code (from the wizard)
Mail exchanger @ MX 10 mail.protonmail.ch
Mail exchanger @ MX 20 mailsec.protonmail.ch
SPF @ TXT v=spf1 include:_spf.protonmail.ch ~all (some registrar guides add mx)
DKIM protonmail._domainkey CNAME Target shown in the wizard
DKIM protonmail2._domainkey CNAME Target shown in the wizard
DKIM protonmail3._domainkey CNAME Target shown in the wizard
DMARC _dmarc TXT Value shown in the wizard's DMARC tab

The MX values and the three DKIM host names appear in Proton's registrar guides, for example the Cloudflare guide and the OVH guide. The OVH and AWS guides show the SPF value as v=spf1 include:_spf.protonmail.ch mx ~all; the Squarespace guide omits mx. Proton's main guide says to set a TTL of 300 where the DNS console allows it.

What order should you add them in?

Proton's sequence is verify, create addresses, then switch MX. Its main guide warns you to create every user address before changing MX, because mail for addresses that do not exist in Proton will no longer be delivered. It also says some platforms keep old DNS settings for one to three days.

A safe order for an MSP migration:

  1. Add the domain in Proton and publish the verification TXT record.
  2. Create all user addresses and any catch-all address in Proton.
  3. Publish SPF (merged, see below) and the three DKIM CNAMEs.
  4. Publish DMARC at p=none with a report address if the domain has other senders.
  5. Switch MX to Proton, deleting old MX records or giving Proton's the lowest priority number, as Proton instructs.
  6. Wait for green checks on every tab of the wizard, then test with real messages.
04

How does Proton Mail DKIM work on a custom domain?

Proton uses three CNAME records that point to keys Proton hosts, so it can rotate DKIM keys without you editing DNS. Its page on anti-spoofing for custom domains says Proton "will generate a new 2048-bit key every six months". You publish the CNAMEs once and leave them.

On your DNS the records look like this, with the targets copied exactly from the wizard:

protonmail._domainkey.example.com.   CNAME  <target from Proton wizard>
protonmail2._domainkey.example.com.  CNAME  <target from Proton wizard>
protonmail3._domainkey.example.com.  CNAME  <target from Proton wizard>

Proton's article on problems with CNAME records lists three causes of a failed DKIM check:

  • The value does not match. It "must be an exact match with the ones shown in your setup wizard."
  • Trailing period. Some registrars reject a dot at the end of a CNAME value and others require it. Remove it if your registrar refuses the record.
  • An old manual DKIM TXT record. Remove it before adding the CNAMEs, and add the CNAMEs straight away, because Proton warns that DKIM stops signing once the TXT record is gone.

On Cloudflare, Proton says to set the DKIM CNAMEs to DNS only, otherwise "the record will not propagate." Once DKIM passes, Proton says it signs outgoing custom domain mail "just like we do for other Proton Mail addresses". The DKIM selector guide explains why three selectors allow rotation.

05

What DMARC record does Proton recommend?

Proton recommends p=quarantine. Its custom domain guide says "We recommend using p=quarantine policy for most domains", and its anti-spoofing page notes the default policy is none and that p=reject is worth considering once legitimate mail reliably passes. Proton's text also describes the rua= tag for aggregate reports.

Proton's support pages show the exact DMARC string only as a screenshot and in the wizard, so check the DMARC tab for the precise value. The text does not mention pct, np or t. A record consistent with Proton's advice looks like this:

_dmarc.example.com.  TXT  "v=DMARC1; p=quarantine; rua=mailto:dmarc-reports@example.net"

How does that advice compare with RFC 9989?

p=quarantine is a valid policy under RFC 9989, and for a domain that sends only through Proton, with DKIM verified, it is a reasonable target. The caution is sequencing. RFC 9989 has no percentage ramp, because it removed the pct tag, so each policy step applies to all failing mail.

If the domain also sends through a CRM, invoicing tool or website form, start at p=none with rua= and read the reports, as described in RFC 9990. Move to p=quarantine when every legitimate source passes, then to p=reject. The UK NCSC advises a DMARC policy of reject as the end state. The optional t=y flag asks receivers not to apply the policy while you test.

One wording point: Proton describes DMARC as acting on mail that fails both SPF and DKIM. Under RFC 9989 the test is stricter: a pass needs SPF or DKIM to pass and align with the From domain. A message can pass SPF for a different domain and still fail DMARC.

06

How does DMARC alignment work for Proton Mail?

DMARC passes when either SPF or DKIM passes for a domain that aligns with the From address. With Proton, the aligned DKIM signature on your domain is the main route. SPF alignment depends on the envelope sender (Return-Path) domain, which Proton's support pages do not document, so confirm it in headers.

Situation DKIM aligned? Expected DMARC result
DKIM CNAMEs verified, mail sent from Proton web or apps Yes, d= is your domain Pass
DKIM CNAMEs missing or unverified No Depends on SPF alignment; check headers
Sent via Proton SMTP submission with a verified domain Expected yes Check headers; Proton does not detail this
Same domain sent from another service without its own DKIM No Fails unless that service aligns SPF
Mail forwarded on by a recipient's server DKIM usually survives if unmodified Often passes on DKIM; SPF breaks

Relaxed alignment (the default) accepts a subdomain match, so d=example.com aligns with a From address at mail.example.com. Relaxed vs strict alignment covers the detail, and why DMARC fails when SPF passes explains the most common confusion.

07

Does end-to-end encryption affect DKIM?

No, not in the way people fear. DKIM signs the message as it is transmitted, whatever the body contains, so an encrypted body can still carry a valid signature. Proton's encryption choices change who can read the content, not whether receivers can check your domain's signature.

Proton's page on how Proton Mail messages are encrypted separates three cases:

  • Proton to Proton. Messages are end-to-end encrypted in transit. Proton does not document whether these internal deliveries are DKIM signed or DMARC evaluated, so they will not appear in third-party aggregate reports in a predictable way.
  • Proton to an external provider. Messages travel over TLS and are not end-to-end encrypted by default. This is normal internet mail, and DKIM and DMARC apply as usual.
  • Password-protected email to an external address. The recipient receives a notification email with an "Unlock message" link to proton.me. Proton does not say which address sends that notification, so check its headers before assuming it aligns with your domain.

Proton also notes that subject lines are not end-to-end encrypted, which matters to privacy-sensitive clients more than to DMARC.

08

What about forwarding, catch-all, Bridge and SMTP submission?

None of these change your DMARC record, but each affects how mail flows. Catch-all and forwarding are mostly inbound concerns. Bridge and SMTP submission are outbound paths that should still carry Proton's DKIM signature. Where Proton is silent on authentication behaviour, test rather than assume.

Catch-all

Proton's catch-all page says a catch-all address receives mail for addresses on your domain that do not exist, and is available on paid plans. It does not mention spam filtering or DMARC. It is purely inbound, so it does not affect how your domain's own mail authenticates, though it can attract more spam.

Auto-forwarding

Proton's auto-forwarding guide says the destination must confirm the request, forwarded mail cannot be forwarded again, and forwarding to an external address disables end-to-end encryption for that address. It does not mention SPF, DKIM, DMARC, ARC or sender rewriting. Expect the usual forwarding effects described in DMARC and email forwarding, and check headers at the destination.

Proton Mail Bridge

Bridge runs local IMAP and SMTP servers so desktop clients such as Outlook or Thunderbird can use a Proton account; Proton says these are "accessible only to applications running on the same device." Proton's Bridge overview does not discuss DKIM or SPF, and does not spell out the outbound server path. Verify one test message from each desktop client you deploy before relying on it.

SMTP submission for devices and applications

Proton's SMTP submission guide lets business applications and devices (a scanner, a CRM, a website) send through Proton:

SMTP host:      smtp.protonmail.ch
Port:           587
Encryption:     STARTTLS
Authentication: PLAIN or LOGIN
Username:       the custom domain address paired with the token
Password:       the generated SMTP token

Proton says this is available on paid plans with custom domain addresses, that mail sent this way is "not end-to-end encrypted", and that it must respect the SPF, DKIM and DMARC protections set up for the domain. The token is shown once; Proton suggests one token per application. Routing devices through Proton is often cleaner than adding another sender to SPF.

09

How do you combine Proton with other sending services?

Keep one SPF record and add Proton's include to it. RFC 7208 treats more than one SPF record as a permanent error, and Proton's main guide says "Make sure you have only one SPF record." Its anti-spoofing page says to add the include after v=spf1 in an existing record.

Be careful with Proton's registrar guides: the Squarespace guide says to replace an existing SPF record with Proton's value. That is right only if Proton is the sole sender. A client also sending newsletters and invoices needs a merged record such as:

example.com.  TXT  "v=spf1 include:_spf.protonmail.ch include:_spf.example.net ~all"

Each include and the mx mechanism count towards the 10 DNS lookup limit in RFC 7208. Drop mx if it adds nothing you need. Every other service should also sign DKIM with the client's domain so DMARC does not depend on SPF. See multiple SPF records and how to merge them and SPF too many DNS lookups.

10

How do you check the setup with dig and headers?

Query DNS first, then read a real message. dig confirms the records are public and correct; only an Authentication-Results header on a delivered message proves DMARC passes. Send a test from Proton to an external Gmail or Outlook.com mailbox.

dig +short TXT example.com | grep -E "protonmail-verification|v=spf1"
dig +short MX example.com
# expected: 10 mail.protonmail.ch. and 20 mailsec.protonmail.ch.
dig +short CNAME protonmail._domainkey.example.com
dig +short CNAME protonmail2._domainkey.example.com
dig +short CNAME protonmail3._domainkey.example.com
dig +short TXT _dmarc.example.com

Each CNAME query should return the exact target the wizard shows. Then open the received message source:

Authentication-Results: mx.google.com;
       dkim=pass header.i=@example.com header.s=protonmail;
       spf=pass smtp.mailfrom=...;
       dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=example.com

Look for dkim=pass with your domain in header.i or d=, and dmarc=pass with header.from on your domain. The selector should be one of the three Proton host names; which one is active changes with rotation. Note the smtp.mailfrom domain to see whether SPF also aligns. Our guides on checking that DKIM works and reading email headers go further.

11

What are the common Proton Mail DMARC mistakes?

Most failures come from a DKIM CNAME that does not match, a second SPF record, or a DMARC policy raised before other senders were fixed. The table maps each symptom to its cause and fix.

Symptom Likely cause Fix
DKIM tab stays red CNAME target mistyped or trailing period rejected Copy targets exactly; remove the trailing dot if the registrar refuses it
DKIM tab red on Cloudflare CNAMEs proxied Set Proxy status to DNS only
DKIM stopped signing after a change Old manual DKIM TXT record removed before CNAMEs added Publish the three CNAMEs immediately
SPF permerror in reports Two SPF records, or Proton's value pasted over a merged record Merge into one record with all includes
CRM or newsletter mail quarantined p=quarantine set before other senders aligned Drop to p=none, fix the sender's DKIM, then raise again
Mail to some addresses bounces after MX switch Addresses not created in Proton first Create the addresses or set a catch-all
Scanner or app mail fails DMARC Device sending directly, not through Proton Use Proton SMTP submission with a token
Expecting a percentage tag to soften enforcement Outdated advice from before RFC 9989 RFC 9989 removed the percentage tag; step p=none to p=quarantine to p=reject
12

Why do privacy-sensitive clients choose Proton, and what does an MSP need to watch?

Law firms, journalists, advocacy groups and medical practices often choose Proton for its encryption. That makes domain impersonation a bigger risk, not a smaller one, because a convincing spoof of a trusted firm is valuable to attackers. DMARC at enforcement is the control that stops exact-domain spoofing.

Practical points for an MSP managing these clients:

  • Report destination. Aggregate reports, defined in RFC 9990, list sending IP addresses, message counts and authentication results, not message content. Decide with the client where rua reports go, and record it.
  • Failure reports. Failure reports under RFC 9991 can include message details. Proton's text does not mention ruf, and for confidential clients it is sensible to leave it out.
  • Other senders. Practice management, e-signature and billing systems often send as the firm's domain. Inventory them before raising the policy; the DMARC for law firms guide lists typical ones.
  • Encryption is not authentication. Clients sometimes assume Proton's encryption protects their domain from spoofing. It does not; only SPF, DKIM and DMARC on the domain do.

Across a portfolio, treat Proton like any other mailbox platform: record the DKIM status per domain, the SPF includes and the current policy. The Zoho Mail setup guide follows the same pattern for another privacy-focused provider. A multi-tenant platform such as dmarc.ai can show which client domains still have Proton DKIM failing alignment in aggregate reports. The Fastmail guide covers another paid independent provider, where DKIM uses three fm CNAMEs and the default DMARC record has no report address.

13

FAQ

Does Proton Mail support DMARC on custom domains?

Yes. Proton's domain wizard has a DMARC tab and asks you to publish a TXT record at _dmarc. Proton recommends p=quarantine for most domains. DMARC passes because Proton signs outgoing mail with DKIM as your domain once the three CNAME records are verified, so aligned DKIM is the key step.

Why are there three DKIM records for Proton Mail?

Proton uses three CNAME records at protonmail._domainkey, protonmail2._domainkey and protonmail3._domainkey so it can rotate keys without you editing DNS. Proton says it generates a new 2048-bit key every six months. The targets are unique to your domain, so copy them from the wizard exactly.

Should I use Proton's suggested p=quarantine straight away?

Only if Proton is the domain's only sender and DKIM already passes. If any other service sends as the domain, start at p=none with a report address, fix each source, then move to p=quarantine and later p=reject. RFC 9989 removed pct, so there is no partial step in between.

Can I use Proton Mail and Microsoft 365 or a CRM on the same domain?

Yes, as long as the domain has one SPF record containing every sender's include and each service signs DKIM with your domain. Only one platform can receive mail through MX. Proton's SMTP submission is an alternative for applications that just need to send as a Proton address.

Does encrypted Proton mail fail DMARC checks?

No. Encryption protects the body; DKIM signs the transmitted message regardless. Mail to external providers is ordinary TLS mail and is checked normally. Proton does not document DKIM behaviour for internal Proton-to-Proton delivery or for password-protected email notifications, so check headers if those paths matter.

14

Next steps

Copy the verification code, DKIM targets and DMARC value from Proton's wizard, merge the SPF include into the domain's single SPF record, and confirm dkim=pass and dmarc=pass on a real message before raising the policy. The DMARC pillar guide covers the full rollout from p=none to p=reject.

Related articles

Related tools

Ready to Implement?

Get authenticated mail moving in minutes: start free, book a guided demo, or talk to the team about your stack.