Article
Why Self-Hosted Email Verification Returns Unknown (and How to Fix It)
By Unlimited Verifier Team ·

Summary
Self-hosted email verification returns "unknown" when the SMTP check never receives a clear 250 accept or 5xx reject from the recipient's mail server. The most common causes are blocked outbound port 25, greylisting that defers the probe, and blocklisted sending IPs. Find the stage where the session stops, then fix the infrastructure before cleaning the list.Self-hosted email verification returns "unknown" when the SMTP check never gets a clear accept (250) or reject (5xx) from the recipient's mail server, most often because outbound port 25 is blocked, greylisting defers the probe, or the sending IP is blocklisted. Each cause leaves a different fingerprint, so diagnose before you re-run the list.
This page covers the unknown result in depth. For the wider picture, start with our guide to the self-hosted email verifier.
Quick answer
- Unknown is a failed conversation, not a verdict. The checker never received a reply it could trust, such as a 250 (accepted) or a 5xx rejection.
- Find the stage where the session stops. A timeout at connect points to port 25 or a firewall. A 4xx on RCPT TO points to greylisting or throttling.
- Group unknowns by MX host before anything else. If one provider accounts for most of them, the cause is usually your IP or sending pattern, not your list.
- Fix infrastructure before cleaning the list. Retry greylisted addresses after about 15 minutes, and move port 25 or blocklist problems to a clean egress.
- Never mail an unknown. Treat anything still unknown after retries as Risky, and clear it with a hosted check such as Unlimited Verifier's Valid, Risky and Invalid sort.
What does "unknown" actually mean in a self-hosted verifier?
Unknown means the verifier ended the SMTP session without a reply it could classify as accept or reject. The stage where the session stopped tells you why.
A verifier opens a connection to the recipient's MX host, sends EHLO, MAIL FROM and RCPT TO for the address, then closes with QUIT. RFC 5321 defines the reply classes: 2xx is success, 4xx is a transient failure, and 5xx is a permanent failure. RFC 3463 adds enhanced status codes, so 550 5.1.1 means the mailbox doesn't exist.
| Stage where it stops | What you typically see | Most likely meaning |
|---|---|---|
| Connect | TCP timeout, no banner | Port 25 blocked, host down, or firewall |
| Banner or EHLO | 421 or 554 before any recipient check | IP blocklisted, rate-limited, or EHLO rejected |
| MAIL FROM | 5xx about the sender | Sender identity or domain refused |
| RCPT TO | 4xx temporary error | Greylisting or throttling |
| RCPT TO | 250 accepted, then a later bounce | Catch-all or accept-then-bounce gateway |
The last row matters most. A 250 looks like a yes, but it proves less than it appears to. Catch-all domains accept any local part, and some gateways accept first and bounce later. An unknown result is honest. A forced Valid is not.
Bottom line: Unknown describes where the conversation broke, so the stage is your first diagnostic clue.
Which causes produce unknown results?
The causes below cover the common patterns. Each one has a signal you can match in your logs, and each points to a different fix.
| Cause | Typical signal | Fix direction |
|---|---|---|
| Outbound port 25 blocked | Connect timeouts to nearly every MX host | Run from a host that permits port 25, or request removal |
| Greylisting | 4xx on first RCPT TO, success on retry | Retry after a delay |
| IP or range on a blocklist | 5xx that mentions a blocklist, often on every attempt | Check lists, move to clean egress, request delisting |
| Rate limiting | 421 or 4xx after bursts of connections | Lower concurrency per MX host |
| Missing or mismatched reverse DNS | Rejection at EHLO or MAIL FROM | Make PTR match your EHLO hostname |
| Gateway or provider refusing probes | Consistent 4xx or 5xx, or an uninformative 250 | Treat as unverifiable; send to a hosted check |
| Null MX (RFC 7505) | Domain publishes no mail server | Classify as Invalid, not unknown |
| Timeouts on slow servers | Timeouts only for some MX hosts | Raise the timeout and retry |
Outbound port 25 is usually the first thing to rule out
Your verifier must open a TCP connection on port 25 to reach each recipient's MX host. Many cloud providers restrict outbound port 25 by default, and many residential connections do too. The symptom is uniform: nearly every domain times out, so the run looks like a near-100% unknown rate. That is an infrastructure failure, not a list problem. The provider-by-provider picture is in which cloud providers allow outbound port 25.
Greylisting looks like failure but is a deferral
Greylisting servers reject first-time senders with a temporary 4xx and accept a retry after a delay. Because RFC 3463 classes 4.x.x codes as transient, a correct verifier should retry instead of recording a verdict. A verifier that treats the first 4xx as final will mark good addresses unknown.
Retry timing is where sources disagree. Postgrey, a common greylisting daemon for Postfix, defaults to a 300-second delay, but other implementations wait longer. We recommend a first retry at 15 minutes and a second at about an hour. That covers the common defaults without waiting so long that the run stalls.
Catch-all domains and gateways make a 250 untrustworthy
Catch-all domains accept RCPT TO for any local part, so a 250 can't confirm a specific mailbox. Some enterprise gateways accept mail and bounce it later, and some large providers refuse or rate-limit verification probes outright. These addresses belong in Risky, not Valid. The catch-all email verification page explains how catch-all results are handled.
Blocklists and reverse DNS fail silently
Receiving servers check the connecting IP against DNS blocklists such as those run by Spamhaus, and they often reject with a 5xx. Many servers also check that your EHLO hostname resolves and that your IP's reverse DNS matches it. A missing or mismatched PTR record makes many hosts refuse your probe, and the result is a pile of rejections that look like bad addresses. The prevention side is covered in how to avoid IP blacklisting when verifying emails yourself.
Bottom line: Each cause leaves a different mark in reply codes and timing, so match the signal before you change anything.
How do you diagnose which cause is behind your unknowns?
Group unknowns by recipient MX host and by the stage where they stopped, then test the verifier's own connection. This four-step method takes less time than rebuilding the verifier and usually points to one fix.
- Group by MX host. Count unknowns per recipient MX hostname. If one provider accounts for most of them, suspect your IP reputation or sending pattern. If unknowns are spread evenly, suspect timeouts, port 25, or the list itself.
- Test the connection from the verifier's host. Confirm the host can open port 25 to a known mail server, and confirm its reverse DNS.
- Check blocklists for your sending IP. A listing explains rejections that repeat on every attempt.
- Replay a sample with delays. Re-run 100 to 200 unknowns after 15 minutes and again after an hour. If many resolve on retry, the cause is greylisting or throttling. If none do, look at the infrastructure.
Keep a baseline too. Run a small set of addresses you know are valid, including some at large providers. We recommend treating a baseline unknown rate above about 5% as evidence that your setup is broken, not your list. That threshold is our rule of thumb, not an industry standard.
Bottom line: Grouping by MX host first reveals the cause faster than reading any single log line.
Which fixes turn unknowns into answers?
Fix the infrastructure first, then deal with the residual addresses. The table shows what each fix resolves and what it can't.
| Fix | Resolves | Effort | Limitation |
|---|---|---|---|
| Retry greylisted addresses after 15 minutes | Greylisting and short-term throttling | Low (a queue and a timer) | Does nothing for blocked IPs |
| Lower concurrency per MX host and raise timeouts | Timeouts and rate limits | Low | Runs take longer |
| Move egress to a host with port 25 open | Port 25 timeouts | Medium | Requires a host or relay you pay for |
| Make PTR match the EHLO hostname | EHLO and PTR rejections | Low to medium | Needs DNS control of the sending IP |
| Delist the IP or move to a clean range | Blocklist 5xx replies | Medium to high | Delisting can take time |
| Classify null MX domains as Invalid | Domains that accept no mail | Low | None |
| Send residual unknowns to a hosted check | Gateway and persistent refusals | Low | Addresses leave your environment |
The sequence matters. If you clean the list while the infrastructure still blocks probes, you get more unknowns, and repeated probing of the same addresses from a flagged IP can make the reputation problem worse. Fix the pipe first, then the list.
Bottom line: Infrastructure fixes resolve most unknowns that aren't about the mailbox itself. A hosted check handles the rest.
How should you handle addresses that stay unknown?
Treat an unknown as unverified until you have proof otherwise. Our recommended rules:
- Never mail an unknown. Classify it as Risky and keep it out of campaigns and transactional flows.
- Cap retries. Try three times, spaced about 15 minutes, 1 hour and 24 hours apart, then classify the result.
- Store the reply code and stage for each address, so later runs target only the failures.
- Don't hammer mailboxes. Repeated probing of the same addresses from the same IP can itself draw blocks.
- Record the outcome. Your counts of unknowns, retries and final classifications are part of your email verification compliance and hygiene evidence.
Bottom line: Unknown is a holding state with a retry cap, not a place to park addresses you intend to mail.
How many unknowns can a retry pass recover? A worked example
This scenario is illustrative. The arithmetic and plan limits are real.
A SaaS team runs its self-hosted verifier on a 50,000-address list. The first pass returns 6,000 unknowns:
- Connect timeouts: 3,200 (6.4%)
- Greylisting 4xx: 1,100 (2.2%)
- Blocklist and EHLO refusals: 1,700 (3.4%)
3,200 + 1,100 + 1,700 = 6,000 unknowns, or 6,000 ÷ 50,000 = 12.0%
Fixes and retries:
- Retry the 1,100 greylisted addresses after 15 minutes. 1,000 resolve, leaving 100.
- Move the verifier to a host with port 25 open, and drop concurrency to a few connections per MX host. 2,900 of the 3,200 timeouts resolve, leaving 300.
- Route the blocklisted IP's traffic through a clean egress. 1,600 of the 1,700 resolve, leaving 100.
After retries, 500 addresses remain unknown, or 500 ÷ 50,000 = 1.0%.
Hosted check on the residue: The team exports all 50,000 rows and splits them into two lists of 25,000. Pro has unlimited lists of up to 25,000 emails each, so this fits. An email-only CSV of this size is roughly 2MB by our estimate (about 40 bytes per row), well under the 10MB upload limit. Standard verification is unlimited on every plan, so verifying the whole file costs nothing per email. The 6,000 addresses that were unknown in the first pass go to deep verification. That uses 6,000 of the 25,000 deep verifications Pro includes each month and leaves 19,000 for later re-checks.
Pro costs $29 a month, or $25 a month billed annually. If you prefer to automate, the API keys for bulk batches option accepts up to 10,000 emails per request, so 50,000 addresses take five requests. API access is included on Pro.
The bigger cost in the self-hosted path is engineering time on port 25, reverse DNS and retries. That depends on your team, so we don't put a number on it.
Bottom line: A structured retry-and-fix pass cut unknowns from 12% to 1%, and the leftovers went to a hosted check for $29 a month on Pro.
Should you self-host, or use a hosted service for unknowns?
Self-host when you need real-time checks and can own port 25 access and IP reputation. Use a hosted service for scheduled bulk cleaning where you want the job finished without running SMTP infrastructure. The table compares the three common approaches.
| Option | Who owns the IP and port 25 | What you get back | Where unknowns come from | Best fit |
|---|---|---|---|---|
| Hand-written SMTP script | You | Raw reply codes you must interpret | Every case in this article, handled by your code | Learning, or one-off small lists |
| Self-hosted open-source engine (see the Reacher review and the Docker guide) | You | A reachability status that includes unknown | Your infrastructure and IP reputation | Teams with port 25 access and an ops owner |
| Hosted bulk service such as Unlimited Verifier | The vendor | Valid, Risky or Invalid per address, exported as CSV, Excel or JSON | Residual refusals from gateways and catch-all servers | Scheduled list cleaning without SMTP infrastructure |
When you compare best email verification tools, check these differentiators:
- Self-hosted engines give you control over concurrency, timeouts and retry policy. The trade-off is that you monitor blocklists and handle delisting yourself. The hardware and network needs are covered in email verification server requirements, and the pros and cons of open-source email verifiers goes deeper.
- Unlimited Verifier accepts CSV or Excel files up to 10MB with automatic email-column detection. It flags catch-all, disposable and role-based addresses, and exports results as CSV, Excel or JSON. It publishes its open-source verification engine on GitHub, so you can read the code before you choose the hosted service. The trade-offs are that your list leaves your environment and results are kept for 24 hours on Free and 30 days on Pro, so export what you need.
For SaaS teams, a hybrid often works. Run a self-hosted check at signup, where real-time email validation needs low latency, and use a hosted service for bulk cleans. Teams weighing options for email verification for ecommerce and SaaS usually land here. Sales teams cleaning prospect lists face the same choice, covered in email verification for sales prospecting.
Bottom line: Self-host for real-time checks you can staff. Use a hosted service for bulk cleaning you want finished.
How do you diagnose and clean unknowns step by step?
Part A takes about 30 minutes and runs from a terminal. Part B cleans the residue.
Part A: Diagnose the setup
- Export your unknowns to a CSV with the columns
email,mx_hostand, if your tool logs it,reply_code. If it doesn't log replies, work from a sample of 20 addresses. - Find the MX host for a sample domain. Run
dig +short MX example.com. The lowest preference number is tried first. - Test port 25 from the verifier's host. Run
nc -vz -w 10 aspmx.l.google.com 25. A "succeeded" message means the port is open, and a timeout means it's blocked. On Windows PowerShell, runTest-NetConnection -ComputerName aspmx.l.google.com -Port 25. - Check reverse DNS. Run
dig -x YOUR_PUBLIC_IP +short. The result should match the EHLO hostname your verifier announces. - Check your IP against blocklists. Look up the address on Spamhaus and note any listing.
- Retry the sample. Re-run the unknowns after 15 minutes and again after an hour. Count how many resolve on each pass.
Part B: Clean the residue with Unlimited Verifier
- Test with a small sample first. The free email checker handles single addresses. For a list test, the Free plan allows 25 lists a month of up to 150 emails each, so a 150-row sample is a good start.
- Create an account at sign up. Review email verification pricing before you choose a plan.
- Upload the file on the upload and verify a list page. The email column is detected automatically, and the file can be CSV or Excel up to 10MB.
- Wait for the run to finish and read the three buckets: Valid, Risky and Invalid.
- Export the results as CSV, Excel or JSON, and save the summary counts.
- Act on each bucket. Mail Valid addresses. Hold Risky addresses, which include catch-all, disposable and role-based addresses. Suppress Invalid addresses. Keep the disposable-domain logic current with open-source disposable domain lists.
- Spot-check VIP contacts. If an important customer comes back Risky, check that address individually with the free email checker before you decide.
- For larger or recurring jobs, follow the email verification API and automation approach to send batches from your own scripts. For very large volumes, see scaling SMTP checks to millions.
Bottom line: Diagnose the setup first, then clean the residue with a file upload and a three-bucket sort.
What mistakes make unknown results worse?
- Counting unknowns as Valid to hit a list-size target. An unknown address is a risk until it resolves.
- Testing from a laptop or home connection that blocks port 25, then concluding the whole list is dead.
- Running hundreds of concurrent connections against one MX host, which triggers throttling and blocks.
- Retrying immediately. Greylisting won't clear in seconds, so retry after at least 15 minutes.
- Reporting null MX domains as unknown forever. Under RFC 7505, they should be classified as Invalid.
- Forgetting reverse DNS after moving your verifier to a new server or IP.
- Sending message data during verification. A verifier should stop after
RCPT TOand close withQUIT. Delivering a message is not verification. - Using a sender address on a domain you don't control. This can get your probes refused at
MAIL FROM. - Judging the whole list by one run. Sample first, then scale.
- Treating a 250 as a delivery guarantee. Catch-all and accept-then-bounce servers make it unreliable.
Bottom line: Most avoidable mistakes come from treating unknown as a list problem when it's usually a setup problem.
How we compared (and limitations)
This article is based on public documentation: RFC 5321, RFC 3463, RFC 7505, Spamhaus's public materials, M3AAWG guidance, and the published READMEs of the open-source projects discussed. We have not benchmarked these engines or run controlled tests against any mail provider's policies.
Port 25 policies, greylisting behaviour and blocklist rules change without notice, so check them against current provider documentation. Unlimited Verifier's 99.5% accuracy figure for deep verification is the company's own stated number, not an independent benchmark. The worked-example percentages, the file-size estimate and the 5% baseline threshold are illustrative or our own recommendations, not industry standards.
Unknown stage diagnostic
| Stage where it stops | Typical signal | Likely cause | First fix |
|---|---|---|---|
| Connect | TCP timeout | Port 25 blocked | Use a host that allows port 25 |
| Banner or EHLO | 421 or 554 | Blocklist or rate limit | Move to clean egress, slow down |
| RCPT TO | 4xx temporary | Greylisting | Retry after about 15 minutes |
| RCPT TO | 250 then bounce | Catch-all or accept-then-bounce | Treat as Risky, not Valid |
Frequently asked questions
What does unknown mean in email verification?
Unknown means the verifier ended the SMTP session without a reply it could classify as accept or reject. It is a failed conversation rather than a verdict on the address. The stage where the session stopped, such as connect, RCPT TO, or a timeout, hints at the cause.
Why does port 25 cause email verification to fail?
Many home and cloud networks block outbound port 25 to limit spam. Without it, your verifier cannot reach recipient MX hosts, so connections time out and results come back unknown. Running the checker from a host that permits port 25 or requesting removal of the block usually resolves it.
How do I fix greylisting in email verification?
Greylisting returns a 4xx temporary error on the first RCPT TO. Retry the address after a delay, commonly around 15 minutes, and the server often accepts the second attempt. Build retry logic into your verifier so deferred addresses are rechecked automatically.
Should I send email to unknown addresses?
No. Treat unknown addresses as risky and avoid mailing them until they are re-verified. Retry after infrastructure fixes, then clear remaining records with a hosted check or a conservative sending policy to protect your sender reputation.
Can a blocklist cause unknown results?
Yes. If your sending IP appears on a blocklist, recipient servers may reject or rate-limit your SMTP probes with 5xx or 421 responses, often on every attempt. Check major blocklists for your IP, move verification to a clean egress address, and request delisting where needed.
Why does a 250 response not always mean the address is valid?
A 250 means the server accepted the recipient at that moment, but it does not prove the mailbox is real. Catch-all domains accept any local part, and some gateways accept first and bounce later. Treat 250 on catch-all domains with caution.
How do I tell which MX host is causing unknown results?
Group your unknown results by MX host before changing anything. If one provider accounts for most unknowns, the cause is usually your IP reputation or sending pattern toward that provider rather than the quality of your list.
Does rate limiting cause email verification to return unknown?
It can. Bursts of connections from one IP often trigger 421 or 4xx responses that stop the session before a recipient check completes. Slow down concurrency per MX host, add delays between probes, and spread checks across time.
Is a hosted verification service better than self-hosting?
It depends on volume and control needs. Self-hosting gives full control but requires managing port 25, IP reputation, and retries. Hosted services handle that infrastructure, which many teams prefer when unknown rates stay high.
Cut Bounces and Protect Your Sender Reputation With Unlimited Email Verification
Every invalid address you send to hurts your sender reputation and your inbox placement. Verifying your list before each send means fewer bounces, healthier deliverability, and a predictable cost. With Unlimited Verifier, standard verification is unlimited on every plan, with no per-email fees.
Unlimited Verifier checks syntax, domain, MX records and the SMTP mailbox. It also detects catch-all domains and flags disposable and role-based addresses. Export a CSV from your email platform or CRM, upload and verify the list, then re-import the clean results. You can also automate checks with the email verification API.
| Free | Pro | |
|---|---|---|
| Price | $0 | $29/month ($25/month billed annually) |
| Lists | 25 a month, up to 150 emails each | Unlimited, up to 25,000 emails each |
| Deep verifications | 750 a month | 25,000 a month |
| API access | No | Yes (100,000 emails a month) |
| Result retention | 24 hours | 30 days |
Why teams choose Unlimited Verifier
- Unlimited standard verification on all plans, including Free, with no per-email fees.
- Catch-all detection so you know which domains accept every address.
- Clear Valid / Risky / Invalid results, exportable as CSV, Excel or JSON.
- An open-source verification engine you can inspect on GitHub.
Unlimited Verifier states 99.5% accuracy for deep verification.
Create a free account and verify your next list before you hit send.
Want to test a single address first? Try the free email checker.