How to Test if Your Domain Email Is Actually Protected
You registered a domain, set up email, and it works. Messages arrive, you can send replies, everything seems fine. But "working" and "protected" are not the same thing. Most domain owners have no idea whether their email is properly authenticated, whether their IP is blacklisted somewhere, or whether a phishing email could impersonate their domain right now.
This guide walks through a complete email security audit you can do yourself in under 15 minutes using free tools.
Step 1: Check your SPF record
SPF (Sender Policy Framework) tells the world which servers are allowed to send email on behalf of your domain. Without it, anyone can send email pretending to be you.
Use the SPF Checker tool to look up your domain. You should see a valid TXT record starting with v=spf1.
What to look for:
- Record exists — If there is no SPF record at all, your domain has zero sender authorization. Any server in the world can send email as your domain.
- Correct includes — The record should list every service that sends email for you: your mail server, your transactional email provider, your marketing platform. Missing an include means that service's email fails SPF checks.
- Ends with
-allor~all— The-allsuffix (hard fail) tells receivers to reject unauthorized senders. The~allsuffix (soft fail) flags them but does not reject. Using+allor having no mechanism at all is equivalent to no protection. - Under 10 DNS lookups — SPF has a limit of 10 DNS lookups. Exceeding this causes the entire record to fail silently. Use the SPF Checker to count your lookups.
If you need to create or fix your SPF record, the SPF Generator tool builds a valid record from your mail sources. For a detailed walkthrough, see How to Create an SPF Record.
Step 2: Check your DKIM records
DKIM (DomainKeys Identified Mail) signs your outbound email with a cryptographic key so receivers can verify the message was not modified in transit.
Use the DKIM Checker tool to look up your domain with the selector your mail provider uses. Common selectors include google (for Google Workspace), selector1 and selector2 (for Microsoft 365), or default (for many other providers).
What to look for:
- Record exists — If DKIM is not set up, your email is not cryptographically signed. Receivers have no way to verify message integrity.
- Valid public key — The record should contain a
p=value with a valid RSA or Ed25519 public key. An emptyp=means the key has been revoked. - Key length — RSA keys should be at least 1024 bits, preferably 2048 bits. Keys shorter than 1024 bits are considered insecure.
For more details, see How to Check DKIM Records.
Step 3: Check your DMARC policy
DMARC (Domain-based Message Authentication) ties SPF and DKIM together and tells receivers what to do when authentication fails.
Use the DMARC Lookup tool to check your domain.
What to look for:
- Record exists — Without a DMARC record, there is no policy enforcement even if SPF and DKIM pass. Receivers make their own decisions about failed authentication.
- Policy is
quarantineorreject— A policy ofp=nonemeans DMARC is in monitoring mode only — it generates reports but does not block anything. Move toquarantineorrejectonce your authentication is solid. - Reporting addresses configured — The
rua=andruf=tags specify where aggregate and forensic reports are sent. Without these, you have no visibility into authentication failures.
See How to Check and Fix Your DMARC Record for a step-by-step guide.
Step 4: Check your MX records
MX records tell the internet where to deliver email for your domain. Use the MX Lookup tool to see your current mail routing.
What to look for:
- Records exist and resolve — If your MX records point to servers that are down or misconfigured, incoming email bounces.
- Priority values make sense — Lower numbers mean higher priority. Your primary server should have the lowest number.
- No unexpected servers — If you see MX records pointing to servers you do not recognize, someone may have modified your DNS. This is a serious security issue.
Step 5: Check if your IP is blacklisted
Even with perfect authentication, your email can be rejected if your sending IP is on a blacklist. Use the IP Lookup tool to find your mail server's IP, then check it against major blacklists.
The most important blacklists to check:
- Spamhaus ZEN — The industry standard. If you are listed here, a large percentage of mail servers will reject your email.
- Barracuda BRBL — Widely used in corporate environments. A listing here means your email is blocked by most Barracuda appliance users.
- SpamCop — Community-driven. Listings expire after 24-48 hours if no new reports come in, but persistent listing indicates an ongoing problem.
For more on IP blacklists, see How to Check if Your IP Is Blacklisted.
Step 6: The layer most setups are missing
If you have completed steps 1 through 5 and everything checks out, your outbound email authentication is solid. But here is the question most domain owners never ask: who is filtering your inbound email?
SPF, DKIM, and DMARC protect your domain from being impersonated by others. They do nothing to protect you from spam, phishing, and malware being sent to you. That protection depends entirely on your mail server or email provider's built-in filtering.
For many businesses, this means relying on whatever comes bundled with their hosting plan or email platform. No external blacklist checking, no quarantine, no per-address controls, no visibility into filtering decisions.
Closing the gap with an MX gateway
An MX gateway adds the missing inbound filtering layer. It sits between the internet and your mail server, checking every incoming message against external blacklists (Spamhaus, Barracuda, SpamCop), running full spam scoring, scanning for viruses, and only forwarding clean email to your server.
Cleanbox Relay is an MX gateway built for exactly this purpose. You point your domain's MX records to Cleanbox, and all inbound email is filtered before reaching your server. You control the spam thresholds, review your quarantine, and get detailed spam reports for every message.
Your outbound email setup stays untouched. Your SPF, DKIM, and DMARC records remain exactly as they are. Relay only handles inbound delivery — the one layer most domain owners never think to protect.
Your 5-minute audit checklist
| Check | Tool | What you want to see |
|---|---|---|
| SPF record | SPF Checker | Valid record, correct includes, -all or ~all |
| DKIM record | DKIM Checker | Valid public key, 2048-bit RSA or Ed25519 |
| DMARC policy | DMARC Lookup | Policy set to quarantine or reject |
| MX records | MX Lookup | Correct servers, expected priorities |
| IP blacklists | IP Lookup | Not listed on Spamhaus, Barracuda, SpamCop |
| Inbound filtering | — | MX gateway with external blacklists and quarantine |
Five of these six checks can be done in minutes with free tools. The sixth — inbound filtering — is the one that requires choosing and configuring a solution. But it is also the one that makes the biggest difference to what actually reaches your inbox.
Ready to take control of your inbox?
Start protecting your email with Cleanbox — free plan available, no credit card required.
Get started free