Article

How to Scale SMTP Email Verification to Millions of Addresses

By Unlimited Verifier Team ·

Diagram of an SMTP email verification pipeline that groups millions of addresses by receiving MX host, caps sessions per host, and routes results to Valid, Risk

Summary

Scaling SMTP email verification to millions of addresses means grouping the list by receiving MX host, capping concurrent sessions per host, retrying 4xx replies instead of discarding them, and routing catch-all results to a Risky bucket. Done this way, a verification pipeline keeps wrong Valid labels low and protects your sender reputation.

Scaling SMTP email verification to millions of addresses means grouping the list by receiving mail server, capping concurrent sessions per server (3 to 5 is a conservative starting point), retrying 4xx replies instead of discarding them, and routing catch-all results to a Risky bucket.

A script that checks a few thousand addresses can run one session at a time and get clean answers. At two million, the same script gets throttled, greylisted, misled by catch-all domains, and eventually blacklisted. Those failures matter because every address you wrongly label Valid becomes a bounce in your next campaign, and bounces are what mailbox providers use to judge your list. This guide covers the pipeline that survives a multi-million-row list, the arithmetic that decides between self-hosting and a hosted service, and how to route results without damaging sender reputation. It sits under our self-hosted email verifier pillar.

Quick answer

What does scaling SMTP verification to millions involve?

Scaling SMTP verification means running a large number of mailbox probes at a rate receiving servers will accept, then classifying every outcome. A probe connects to the recipient domain's mail exchanger (MX host) on port 25, sends EHLO, MAIL FROM and RCPT TO, reads the reply, and quits. A 250 reply to RCPT TO means the server will accept mail for that address. A permanent 5xx reply, usually 550, typically means no such mailbox. The SMTP model is defined in RFC 5321, and the enhanced status codes in RFC 3463 mark class 4 as temporary and class 5 as permanent.

Two rules keep a probe from becoming a sent email. First, stop after RCPT TO with QUIT or RSET. A session that reaches DATA transmits content. Second, never send a bounce or message body to the address owner. Done correctly, verification is invisible to the recipient.

Bottom line: At scale you are not checking addresses one by one. You are running a rate-limited conversation with thousands of mail servers and recording what each one says.

Why does SMTP verification break at volume?

It breaks because four defences engage as your probe rate rises: throttling, greylisting, catch-all acceptance and IP reputation. Each one returns a wrong answer if your pipeline ignores it.

The core insight is that throughput depends on concurrency per receiving server, not on your hardware. Roughly, throughput = concurrent sessions ÷ average seconds per probe, but only up to each provider's cap. Adding workers stops helping once the largest provider in your list is saturated.

Bottom line: Your bottleneck is the most constrained receiving server in your biggest domain group, not the speed of your server.

Which scaling approach fits your volume?

Choose between a single self-hosted engine, a distributed self-hosted fleet, a hosted bulk verifier, or a hybrid. The right choice depends on who owns the sending IP, how much engineering time you have, and whether you face a one-off backfill or a steady stream of new addresses. Hosted services and open-source engines are the two main families. Our best email verification tools roundup compares hosted products side by side.

Approach Realistic ceiling Who carries IP reputation Catch-all and Unknown handling Operational burden Best fit
Single self-hosted engine on one VPS (for example, check-if-email-exists in Docker) One IP, so per-provider throttling caps you early You do. One bad batch can blacklist your only IP You build the logic; the engine returns raw replies you must map Medium: port 25 access, reverse DNS, updates Engineering teams testing a pipeline or working under a few hundred thousand addresses
Distributed self-hosted fleet (queue, workers, several IPs) Grows with IP count, but each new IP needs warm-up and its own limits You do, per IP, with monitoring Full control, and the most room for error High: queue, retry store, IP pool, monitoring Teams that must keep data in-house and have staff to run it
Hosted bulk verifier (CSV or Excel upload, or API) Set by plan. On Pro: lists up to 25,000 emails each, plus 100,000 API emails a month The vendor's infrastructure, not yours Catch-all domains are flagged; output is Valid, Risky or Invalid Low: upload, verify, export Marketers, agencies and SaaS teams that need results, not infrastructure
Hybrid (real-time checks at capture, bulk for the backfill) Real-time for new sign-ups, batch for the legacy base Split by workflow Same classification rules on both paths Medium Growing lists where new data arrives daily and old data needs one clean pass

Two differentiators separate these options most clearly. Unlimited Verifier publishes its engine as an open-source engine on GitHub, so you can read the probe logic before running anything. Its hosted tier sorts every address into Valid, Risky or Invalid, flags disposable and role-based addresses, and exports results as CSV, Excel or JSON. Those two properties address the two most common ways a pipeline goes wrong: unexamined logic and unreadable output. If you're weighing open-source engines against hosted services, our pros and cons of open-source email verifiers comparison covers the trade-offs in more depth.

For self-hosting details, see how to run check-if-email-exists with Docker and the Reacher review. For server sizing, read email verification server requirements.

Bottom line: Self-hosting buys control but costs you IP reputation and operations. A hosted bulk tier trades control for faster, cleaner results.

How do you scale SMTP verification in seven steps?

Follow these steps in order. Each one reduces wasted probes or prevents a specific failure.

  1. Profile the list before you probe. Count rows, unique domains, and the share of addresses on the top 20 MX hosts. Why: the profile predicts where throttling will bite and how long the run will take.
  2. Deduplicate and normalise. Lowercase addresses, trim whitespace, and remove exact duplicates. Why: every duplicate is a wasted probe and a repeated signal to the same server.
  3. Suppress what you already know. Remove hard bounces, complaints and unsubscribes. Flag disposable and role-based addresses, using an open-source disposable domain list if you run your own checks. Why: don't spend probes on addresses you already know are dead or unwanted.
  4. Group by receiving server and cap concurrency. Bucket addresses by MX host and set a per-host session limit. Providers don't publish safe values, so start with 3 to 5 concurrent sessions per host per IP and reduce the limit whenever 4xx responses spike. Why: the cap, not your worker count, sets the pace.
  5. Retry temporary failures on a schedule. Re-queue 4xx responses at increasing intervals, for example after 15 minutes, 1 hour, 4 hours and 24 hours, then stop. This is our suggested schedule, not a standard. Why: greylisting often clears on a retry, and counting these as failures inflates your Invalid bucket.
  6. Classify every outcome. Mark a 250 on a non-catch-all domain as Valid and a permanent 5xx as Invalid. Map catch-all, disposable, role-based and unresolved results to Risky. Why: an address that ended in Unknown has not been verified.
  7. Archive results and schedule re-verification. Export each batch as it finishes and set a re-check cadence. Why: hosted platforms keep results for a limited window, and lists decay.

Bottom line: Profile, dedupe, suppress, group, retry, classify, archive. Skipping any step creates a specific, predictable error.

How do you size throughput for millions of addresses?

Estimate throughput as concurrent sessions ÷ average seconds per probe, then check the per-provider cap, which is usually the real limit. The figures below are illustrative, not measured.

Take a 2,118,000-address list, with each probe averaging 1.5 seconds and each worker running 20 concurrent sessions. One worker handles 20 ÷ 1.5 ≈ 13.3 probes per second. The list needs 2,118,000 ÷ 13.3 ≈ 158,850 seconds, or about 44 worker-hours. Ten workers on ten IPs suggest roughly 4.4 hours in theory.

Now add the constraint. Suppose 35% of addresses (741,300) sit with one large provider, and you cap that provider at 30 concurrent sessions across your IP pool. At 1.5 seconds per probe, that cap allows 30 ÷ 1.5 = 20 probes per second. The 741,300 addresses take 741,300 ÷ 20 = 37,065 seconds, or about 10.3 hours. That slice finishes last no matter how many workers you add to the other 65%.

Plan the schedule around your largest provider's slice, not your average. The practical fix is to lengthen the window, not to raise the cap and risk a block. Adding IPs to raise the cap also adds reputation risk, which we cover below.

Bottom line: Your run length equals the slowest provider's slice. Size that slice first.

How do you handle catch-all, greylisting and Unknown results?

Treat each one as a different kind of uncertainty. A catch-all domain is ambiguous, greylisting is temporary, and Unknown means you don't have an answer yet.

Bottom line: A 250 on a catch-all domain is weak evidence, and an Unknown is no evidence at all. Route both to Risky.

How do you keep your sending IP from getting blacklisted?

Keep probe volume low per IP, respect 4xx signals, configure reverse DNS correctly, and keep verification IPs separate from campaign IPs. Those four habits cover most blacklisting risk.

Start with connectivity. Many cloud providers block outbound port 25 by default, so check before you design anything. Which cloud providers allow outbound port 25 covers the current options and request processes. If your provider won't open port 25, you can either request an exemption or use a hosted service, which runs the probes on its own infrastructure. Next, make your reverse DNS (PTR) record match the HELO hostname, and use a MAIL FROM address on a domain you control. Warm the IP gradually before you run anything large.

Don't rotate IPs to get around a provider's limit. Rotation spreads an obvious pattern across your whole pool, and a single block can take out every IP. Cap volume per IP instead. Our guide on avoiding IP blacklisting when verifying emails yourself covers monitoring and recovery. M3AAWG publishes anti-abuse best practices for senders and mailbox providers that are worth reading before you run a fleet.

Bottom line: A verification IP is a reputation asset. Protect it the same way you protect a sending IP.

How do you verify a multi-million-row list in batches?

Split the list into 25,000-row files, upload each one, log the results, export within the retention window, and route by bucket. This tutorial uses Unlimited Verifier's CSV workflow and assumes you can open a terminal. A spreadsheet works for steps 2 and 3 on smaller files.

  1. Export the full list from your ESP or CRM as a CSV. Keep the email column and a last-engagement date, which helps you prioritise later.
  2. Deduplicate on the email column. On Linux, or on macOS with GNU coreutils installed, run: tail -n +2 contacts.csv | cut -d, -f1 | tr -d ' \r' | tr 'A-Z' 'a-z' | sort -u > unique.txt. This assumes the email is the first column with a header row, and no quoted commas. Check your file first. In a spreadsheet, use Remove Duplicates on the email column.
  3. Split into 25,000-row files and add a header. Run split -l 25000 -d unique.txt part_, then for f in part_*; do (echo email; cat "$f") > "$f.csv"; done. Each file now has an email header and a .csv extension.
  4. Test on the Free plan first. Create a free account on the sign up page. Free lists are capped at 150 emails, so cut one test file to 150 rows. The Free plan allows 25 lists a month, or 3,750 addresses in total. It has no API access, and results are kept for 24 hours, so export them immediately.
  5. Upgrade to Pro for volume. Pro costs $29 a month, or $25 a month billed annually. It allows lists of up to 25,000 emails each and includes 25,000 deep verifications a month. Standard verification is unlimited on every plan, so the per-file count doesn't change your cost. If you're comparing email verification pricing models, check whether standard checks are metered before you commit.
  6. Upload each file on the upload and verify a list page. The tool accepts CSV or Excel files up to 10MB and detects the email column automatically. A 25,000-address single-column file is well under that limit.
  7. Log each batch. Record the file name, rows in, and Valid, Risky and Invalid counts in a tracking sheet. This log becomes your audit trail.
  8. Export within the retention window. Pro keeps results for 30 days, so export each file as CSV, Excel or JSON as it finishes, rather than waiting for the whole run.
  9. Route the results. Send Valid addresses to campaigns, suppress Invalid permanently, and hold Risky in a separate segment. There are no native ESP, CRM or Zapier integrations, so re-import the Valid segment into your ESP as a CSV.
  10. Spot-check edge cases with the free email checker, which handles single addresses.

For signup-time checks, the email verification API covers single checks and batches of up to 10,000 emails per request. The wider workflow is covered in email verification API and automation and real-time email validation. For the operational side of a larger programme, see email list maintenance best practices.

Bottom line: Dedupe, split to 25,000 rows, upload, log, export within the retention window, then route.

What does a 2.4-million-row run look like on Pro?

The scenario below is illustrative. The arithmetic and plan limits are real, and the outcome percentages are hypothetical.

Routing: First sends go only to the 1,760,000 Valid addresses, most engaged segment first. Risky stays out until a re-verification pass or a small engagement-tested send. Invalid is suppressed permanently.

Scheduling: Run one 25,000-row file, measure how long it takes, and multiply by 85 to plan the month. Don't borrow someone else's timing. Export each file within 30 days of completion.

Bottom line: 85 uploads, a 22-month API shortcut avoided, and a Risky bucket that protects your first sends.

What should you do with millions of results?

Route each bucket to a different workflow, then keep your own record. Valid addresses go to campaigns, Invalid addresses go to a permanent suppression list, and Risky addresses go to a holding segment.

Verification does not prove consent. A valid mailbox can still belong to someone who never opted in, so keep consent records alongside your results. The email verification compliance and hygiene approach treats the two as separate controls, and teams running email verification for ecommerce and SaaS often find that B2B addresses decay fastest.

Complaint and bounce rates are where sources disagree. Google asks bulk senders to keep spam rates below 0.10% and warns against reaching 0.30%, according to its sender guidelines. Amazon SES's documentation sets a 5% bounce rate as its review point. We recommend a 2% bounce ceiling and a 0.10% spam-complaint target, so plan to the stricter number.

Re-verify active lists quarterly, verify every new import before use, and check any dormant segment before you reactivate it.

Bottom line: Route by bucket, keep your own record, and re-verify on a fixed schedule.

What mistakes break large verification runs?

Bottom line: Most failures come from ignoring one signal: a 4xx, a catch-all reply, or a per-provider cap.

How we compared (and limitations)

This guide draws on public documentation: RFC 5321 and RFC 3463 for SMTP behaviour, Google's sender guidelines, Amazon SES's published bounce guidance, and M3AAWG's best practices. We haven't benchmarked any receiving server or run controlled throughput tests. The throughput and timing figures are illustrative.

Providers don't publish per-IP concurrency limits, so the 3 to 5 session starting point and the retry schedule are conservative suggestions to tune, not rules. Unlimited Verifier's plan limits come from its published plan details. The 99.5% accuracy figure is the company's own stated figure for deep verification, not an independent benchmark. Thresholds and provider behaviour change without notice, so check current documentation before you commit to a schedule.

Routing rules for verification results

Probe result Classification Action
250 accepted on a non-catch-all domain Valid Eligible for sends
250 accepted on a catch-all domain Risky Hold out of first sends
4xx temporary failure Retry Backoff, then re-probe
5xx permanent failure (e.g., 550) Invalid Suppress from sends
Connection dropped or timed out Unknown Retry later, then Risky if unresolved

Volume check: 2,000,000 addresses at 25,000 per list is 80 uploads minimum, before any re-uploads for failed batches.

Frequently asked questions

What is SMTP email verification?

SMTP email verification checks whether a mailbox exists by connecting to the recipient domain's mail server and issuing RCPT TO without sending a message. A 250 reply suggests the mailbox accepts mail, while a permanent 5xx reply, usually 550, suggests it does not. The method is defined in RFC 5321. Results are probabilistic, so catch-all domains and greylisting need separate handling.

How many SMTP connections can I open at once?

There is no universal limit. A conservative starting point is 3 to 5 concurrent sessions per receiving MX host, as noted in the article. Receiving providers do not publish most throttling rules, so start low, watch for 4xx and dropped connections, and raise concurrency only where the host keeps accepting sessions cleanly.

Why should 4xx replies be retried instead of marked Invalid?

A 4xx reply is a temporary failure, defined in RFC 3463 as class 4. It often signals throttling or greylisting, not a missing mailbox. Retrying on a backoff schedule lets the server accept the probe later. Marking these addresses Invalid produces false negatives that remove real customers from your list.

What is greylisting and how does it affect verification?

Greylisting is an anti-spam technique where a receiving server temporarily rejects mail from an unknown sender with a 4xx reply and accepts a retry after a short delay. Verification pipelines that treat the first 4xx as a final answer will misclassify many valid addresses. Retrying with backoff resolves most greylisting cases.

Why do catch-all domains produce unreliable results?

A catch-all domain accepts mail for any local part, so it returns 250 even for mailboxes that do not exist. That makes the response weak evidence of validity. Route these results to a Risky category and avoid using them for first sends until engagement data or another signal confirms the address.

Should I verify millions of addresses in one continuous stream?

Usually no. Splitting the list into batches makes retries, monitoring, and recovery manageable. If you use a hosted service, uploading in chunks also helps you track progress. The article's Pro plan example caps each list at 25,000 emails, so two million addresses need at least 80 uploads.

Does SMTP verification send emails to the recipient?

A correct probe does not deliver a message. It stops after RCPT TO with QUIT or RSET and never reaches DATA, so no content is transmitted. The recipient should never see a message or bounce from the check. Any pipeline that sends content during verification is misconfigured and risks complaints.

Why does port 25 matter for SMTP verification?

SMTP verification connects to receiving mail servers on TCP port 25, which is the standard port for server-to-server mail transfer. Many residential ISPs and cloud providers block outbound port 25 by default, so you may need an unblocked network, a provider exception, or a hosted verification service to run probes at scale.

When should I choose a hosted verification service over self-hosting?

Choose a hosted service when your volume is modest, your team lacks mail infrastructure experience, or your network blocks outbound port 25. Self-hosting makes sense when you can run stable IP addresses, manage reputation, and handle throttling across many MX hosts. Compare cost per verified address and engineering hours before deciding.

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 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.