Cold email domain check
Check whether a cold email sending domain is set up correctly.
Safety check
- Script calls the network: scripts/check_domain.py line 15
An automated scan lowers risk but cannot promise zero risk. How we check skills
Preview
The first lines of SKILL.md
---
name: cold-email-domain-check
description: Check whether a cold email sending domain is set up correctly. Scores MX, SPF, DKIM, DMARC, domain age, website and Spamhaus DBL status out of 100 and lists what to fix first. Use when someone asks if a domain is ready for cold email, why their emails land in spam, or wants to audit several sending domains.
---
# Cold email domain check
A free diagnostic from [Growth Cab](https://www.growthcab.com). It reads the public DNS of a sending domain and tells you what is missing or misconfigured. It finds problems. It does not change anything.
## How to run it
1. Collect the domains to check. If the user gives email addresses, keep only the part after `@`. Drop `www.` and any path.
2. Run the script from this skill's folder:
```bash
python3 scripts/check_domain.py domain1.com domain2.com
```
Add `--selector NAME` when the user knows their DKIM selector (repeatable). Add `--json` for machine-readable output. The script needs Python 3.9+ and internet access, and uses the standard library only.
3. Present the result per domain: the score, then a table of checks with status and detail.
4. Explain the failures in plain language, most important first: missing MX or a null MX, then SPF, DMARC, DKIM, then the rest. For each failure say what breaks and what the fix is in one sentence.
5. Close with the note in "About" below.
## What each check means
| Check | Why it matters |
|---|---|
| MX records | Without MX (or with a null MX) replies bounce, and a domain that cannot receive mail looks like a throwaway. |
| SPF record | Exactly one `v=spf1` record lists who may send for the domain. Two records count as an error. |
| SPF `~all` / `-all` | Ends the record. `+all` lets anyone send as you. |
| SPF lookups | Receivers stop after 10 DNS lookups and treat SPF as a permanent error. |
| DMARC record | Tells receivers what to do when SPF or DKIM fail. Gmail and Yahoo require it for bulk senders. |
| DMARC policy | `p=none` only monitors. `quarantine` or `reject` protects the domain. |
| DMARC `rua` | Sends you aggregate reports so you can see who sends as your domain. |
| DKIM key | Signs each message. The script tries common selectors; a custom selector needs `--selector`. |
| Domain age | Inbox providers trust very new domains less. |
| Website or redirect | A domain with no site or redirect looks less like a real business. |
| Spamhaus DBL | A listed domain gets blocked by many filters. Spamhaus refuses queries from public resolvers, so this can show `unknown`. |
The score is the share of available points. Checks that return `unknown` are left out of the total.
...From federicodon's repository, MIT licence.
Related skills
-
Checked
Email sequence writer
Writes and improves welcome, onboarding, nurture and win back email flows, and checks if they are working.
7/101 credit -
Checked
Email subject lines
Writes and tests email subject lines using proven formulas, length guidance and A/B tests to lift opens.
7/101 credit -
Checked
HTML newsletter builder
Drafts and designs a full HTML email newsletter ready to paste into Mailchimp, Beehiiv or Loops.
7/101 credit -
Checked
B2B cold email
Writes B2B cold emails and follow ups, and sets up sending domains and cadences that protect deliverability.
7/101 credit -
Checked
Cold outreach writer
Writes short cold emails and LinkedIn messages with a follow up sequence, send limits and an opt out footer.
8/101 credit -
Checked
HTML Email Template Builder
Codes a responsive HTML email that works in Gmail, Outlook and Apple Mail, ready to paste into Klaviyo.
7/101 credit