Mailjet sends campaigns and transactional mail. To send that mail as your domain and pass DMARC, publish the records below and check the alignment notes.
What to add.
include:spf.mailjet.com in your SPF record, plus the DKIM records below.
What signs your mail.
DKIM under mailjet._domainkey.
A DKIM value split across two TXT strings by the DNS panel and pasted back together with a space in the middle is invalid and looks fine.
The SPF record
Add this include to the SPF record on your sending domain:
A complete record for a domain that also sends through Google Workspace:
Publish it on the domain you send from. Mailjet's sender domain screen shows it next to the DKIM record, along with whether Mailjet can see each one in DNS.
Then count your lookups, because SPF allows ten DNS lookups across the whole chain of includes. A sender that receivers need an eleventh lookup to find gets a permerror and fails SPF, even though the record looks right when you read it. Run the domain through the SPF checker after every change. The count also moves when a provider changes its own records.
DKIM
Mailjet publishes a TXT record under the mailjet selector, with a key generated
for your account. Copy the value from the account's sender domain page. It's long, and a
truncated paste is the usual reason verification stays red.
DMARC alignment with Mailjet
DMARC passes when SPF or DKIM passes and the domain it authenticated matches the domain in your visible From address. A provider can pass both checks for its own domain while your mail fails DMARC.
- Validating a single sender address only proves you can read that mailbox. Domain authentication is a separate step and the one that affects DMARC.
- Mailjet sends with its own envelope sender on the default setup, so DKIM is what aligns.
- Keys are per account. Two Mailjet accounts sending as the same domain need the domain authenticated in both, and the second one will overwrite the first if you are not careful with the record names.
The DMARC alignment guide covers the general case, and the dmarc=fail page shows how to read the Authentication-Results header.
Verification
Substitute your domain, and run these after the TTL on anything you replaced has expired:
Then send one message through Mailjet to a Gmail address you control, open Show original,
and look for dkim=pass with your domain in header.i. A test
message shows what a receiver does with your mail. A DNS lookup only shows what you
published.
Our SPF checker gives you the lookup count. The DKIM checker shows whether a selector resolves and whether the key is long enough, and the DMARC checker reads your policy back to you. You can use them free, without an account.
I checked the values here against Mailjet's own documentation, at Mailjet documentation. Providers change their DNS requirements without much notice. If their screen shows something different from this page, follow their screen and tell us.
A record can be correct and still fail alignment once real mail goes through it. Receivers record that result in the reports they send. We read the reports for you, and on a paid plan we email you the day a new sender fails. See whether this sender passes. Your first domain is free.
Is Mailjet authorized to send as your domain?
We look for include:spf.mailjet.com in your SPF record and count the
lookups it costs you.
Free · No signup · The result names what to change
Keep reading
Adding this to a domain that already sends? Our SPF record generator merges the include into the record you publish today rather than replacing it, the SPF checker resolves every include and counts the lookups, and the DKIM checker confirms the selector answers.