Key takeaways
- Read the report's failed items, fix the one that is DNS first, and then resend.
- Authentication failures come before content issues, because a message that fails SPF, DKIM or DMARC will not benefit from a clean template.
- Send one test after each fix so you know which change moved the score.
A Mail-Tester score below 10 for Mailgun mail almost always traces to a short list of causes: an authentication record that is missing or misspelled, a DKIM signature that does not verify, a reverse DNS mismatch, or something in the message itself. Mail-Tester's FAQ says its report lists what is configured properly and what is not, so start there and use the table to find the fix.
Research checked: 12 November 2026
This guide is for diagnosis. The setup steps are in the how-to guide, and the cold-template decisions are in the cold email guide.
The short answer
Read the report's failed items, fix the one that is DNS first, and then resend. Authentication failures come before content issues, because a message that fails SPF, DKIM or DMARC will not benefit from a clean template. Send one test after each fix so you know which change moved the score.
Troubleshooting table
| Symptom in the report | Likely cause | Check |
|---|---|---|
| SPF missing or not passing | No SPF record, a second SPF record, or the Mailgun include absent | `dig +short TXT example.com` should return one line with `v=spf1` |
| DKIM not found or not valid | DKIM TXT missing at the selector name, or the key was truncated | `dig +short TXT <selector>._domainkey.example.com` and compare the `p=` value |
| DMARC missing | No `_dmarc` TXT record | `dig +short TXT _dmarc.example.com` |
| Reverse DNS problem | PTR does not match the forward record, or no PTR exists | `dig -x <sending-ip> +short`, then `dig +short A <hostname>` |
| Score drops after a template edit | New links, images or wording triggered a content check | Compare the old and new template line by line |
| Score fine, Gmail spam rate rising | DNS passes but list or complaints are the problem | Google Postmaster Tools spam-rate chart, and your bounce log |
| Test address reports nothing | Message not sent yet, or sent from a different address | Confirm the send succeeded and used the test address exactly |
Checks to run
Run these before you resend:
``` dig +short TXT example.com ```
Expected output: one line such as `"v=spf1 include:mailgun.org ~all"`. If you see two SPF lines, remove one. RFC 7208 says multiple SPF records at the same name are a permanent error.
``` dig +short TXT _dmarc.example.com ```
Expected output: a line beginning `"v=DMARC1;`. RFC 9989 says the `v` tag must be first.
For the DKIM selector, use the value Mailgun shows in its control panel, then query `<selector>._domainkey.example.com`. A DKIM record whose `p=` value stops early will not verify, and that is one of the most common causes of a DKIM failure in a report.
Fixes by cause
Duplicate SPF. Merge the Mailgun include into your existing record. Keep one `~all` or `-all` at the end. Mailgun's verification guide gives `v=spf1 include:mailgun.org ~all` as the value to include.
DKIM not verifying. Confirm you published the record at the selector name Mailgun shows, not at the bare domain. Some DNS hosts add the domain to the end of a name you typed, so check the full name the host stored.
DMARC missing. Publish a TXT record at `_dmarc` with `p=none` and a reporting address, as RFC 9989 shows in its examples.
Reverse DNS problem. On a dedicated IP, Mailgun's reverse DNS article says the PTR is set through a support request. On a shared IP you cannot choose it. Fix the forward A record first, because a PTR that points to a hostname that does not resolve back to the IP is the mismatch Google's sender requirements describe.
Content flags. Change one thing at a time, send, and read the report. Removing every link or image in one edit tells you nothing about which one caused the flag.
Verify after the fix
Send one fresh test after the DNS has propagated and the checks above return the expected output. Compare the new report with the old one and confirm that each item you changed now passes. Note the date and the change in your log, so the next score drop has a starting point.