Article
Email Verification Server Requirements: What You Need Before Self-Hosting
By Unlimited Verifier Team ·

Summary
A self-hosted email verification server needs a Linux host with a static public IPv4 address, outbound TCP port 25 open, a matching reverse DNS (PTR) record, and an SPF record on its probe domain. Memory, concurrency, monitoring and per-domain throttling then decide whether the server stays accurate and unblocked as your list grows.A self-hosted email verification server needs a Linux host with a static public IPv4 address, outbound TCP port 25 open, a reverse DNS (PTR) record that matches the hostname it announces, and an SPF record on its probe domain.
Those are the hard requirements. Memory, concurrency, monitoring and throttling decide whether the server stays accurate and unblocked once you move from a 500-row test to a six-figure list. This guide covers each requirement, why it matters, and how to check it before you spend a week on setup. For the wider decision, start with our self-hosted email verifier pillar.
Quick answer
- Port 25 is the gatekeeper. Verification talks directly to recipient mail servers on TCP 25. Test it before you provision anything.
- Identity matters as much as hardware. A matching PTR record, a consistent EHLO hostname and SPF on the probe domain decide whether receivers engage with your probes or refuse them.
- Start small, then scale by lanes. A 1 vCPU, 2 GB RAM pilot is usually enough to learn the system. Throughput is limited by how many connections each receiving domain tolerates, not by CPU.
- Self-host only if you will own IP reputation. If you can't keep the IP off blacklists and monitor it, a hosted service such as Unlimited Verifier removes that work.
What is an email verification server and what does it check?
A verification server checks whether a mailbox exists by running the first half of an SMTP delivery and stopping before any message body is sent. It looks up the domain's MX records, connects to the highest-priority mail exchanger on port 25, announces itself with EHLO, sets a sender with MAIL FROM, asks about the recipient with RCPT TO, reads the reply, then sends RSET and QUIT. Because no DATA command is sent, nothing reaches the recipient's inbox. The protocol is defined in RFC 5321.
The hard part is reading the reply. Two rejections that look similar to a casual reader mean different things:
| Reply from receiving server | What it usually means | Suggested classification |
|---|---|---|
| 250 to RCPT TO | Recipient accepted | Valid candidate; check for catch-all |
| 550 5.1.1 | Mailbox does not exist (RFC 3463) | Invalid |
| 550 5.7.x | Policy refusal aimed at your sender, IP or reputation | Unknown; retry later, don't mark Invalid |
| 450 or 451 (4.x.x) | Temporary: greylisting or throttling | Retry with backoff |
| 421 | Service unavailable or connection closing | Retry, and slow down that domain |
Parse the enhanced status code (the 5.1.1 or 5.7.x part), not just the leading 550. Misclassifying policy blocks as Invalid is one of the most common ways a homemade list loses good contacts. Also expect inconsistency: some large providers accept nearly every recipient at the SMTP stage, so a 250 from them is weak evidence.
A catch-all domain accepts any local part, so a 250 proves nothing about the individual. Unlimited Verifier detects catch-all domains, as described on its catch-all email verification page, and you should treat those results as uncertain rather than confirmed. SMTP also can't tell you whether someone opted in. That question belongs to email verification compliance and hygiene.
Bottom line: A verification server is an SMTP conversation that stops early, and its value depends on reading the replies correctly.
What hardware and software does an email verification server need?
A small Linux VM with a static IP and open port 25 handles a pilot. The constraint is the network path and the sending identity, not compute.
| Component | Pilot (under about 100k checks a month) | Production (1M+ checks a month) | Why it matters |
|---|---|---|---|
| OS | Current LTS Linux, such as Ubuntu or Debian | Same, with automated security patches | Keeps TLS and SMTP libraries current |
| CPU / RAM | 1 vCPU, 2 GB | 4 vCPU, 8 GB | Probes mostly wait on remote servers; RAM holds queues |
| Public IPv4 | 1 static address | 2–4 static addresses in separate pools | Reputation attaches to the IP |
| Outbound TCP 25 | Required | Required on every IP | Core of SMTP probing |
| Storage | 20 GB | 100 GB+ with log rotation | Roughly 200 bytes per result row (an estimate), plus logs |
| Job state | SQLite or flat files | PostgreSQL or Redis | Lets interrupted jobs resume |
| Monitoring | Uptime check and daily blacklist check | Reply-code mix, latency, listing alerts | Early warning before deliverability drops |
These are practitioner starting points, not vendor specifications. CPU rarely binds because each probe spends most of its time waiting. Throughput is roughly concurrent connections divided by average probe time, capped by how many simultaneous connections each receiving domain tolerates. The capacity section below works through this.
Bottom line: Spend the budget on a clean IP, a stable network path and monitoring. CPU is rarely the constraint.
Does your server need outbound port 25, and how do you test it?
Yes. Port 25 is how your server reaches recipient MX hosts. Ports 587 and 465 are generally used to submit mail to your own provider, so they won't help here. AWS and Google Cloud restrict outbound port 25 on standard instances by default and offer a request process to lift the restriction. Other providers do the same, and their policies differ and change, so check current documentation before you commit. Our guide on which cloud providers allow outbound port 25 compares the options.
Test the connection in under a minute:
nc -vz gmail-smtp-in.l.google.com 25
A successful connection confirms the port is open from that network. Test at least one MX host run by a different provider, because some networks filter by destination. Home and office connections often block port 25, so a test there doesn't predict how a data-centre IP will behave.
Bottom line: Test port 25 against real recipient MX hosts from the network you'll actually use, before you buy a server.
How do reverse DNS, hostname and SPF need to be configured?
Three records must agree, and one supporting record protects your probes. Receiving servers check the hostname your server announces against the IP it connects from.
- A record:
verify.yourdomain.compoints to your public IP. The examples below use203.0.113.25, a documentation address you would replace with your own. - PTR record: the IP points back to
verify.yourdomain.com. The PTR is controlled by whoever holds the IP block, so set it in your hosting provider's console, not your DNS host. Our walkthrough on setting up reverse DNS for a verification server covers the details. - EHLO hostname: your verification software announces
verify.yourdomain.com.
Check the loop from the server:
dig -x 203.0.113.25 +short
dig +short A verify.yourdomain.com
Both answers must point to each other. Google's sender guidelines call for valid reverse DNS on sending IPs, and a mismatch is an easy way to look suspicious.
For the probe's MAIL FROM address, use a domain you control that publishes an SPF record authorising your verification IP, such as v=spf1 ip4:203.0.113.25 -all. SPF is defined in RFC 7208. Receivers that check sender authentication may refuse probes from unauthenticated domains with a 5.7.x policy reply, so treat SPF as required. Don't use your marketing domain as the probe sender, which would mix verification reputation with sending reputation. You don't need DKIM, because no message body is sent.
Bottom line: Matching A, PTR and EHLO records, plus SPF on a dedicated probe domain, make your probes look like legitimate mail servers.
Which open-source or hosted option should you choose?
Your choice determines how much infrastructure you must own. The table compares the main paths.
| Option | What you run | Needs your own port 25 and IP | Differentiator | Best fit |
|---|---|---|---|---|
| check-if-email-exists (Reacher) | Rust engine, deployable with Docker and exposed over HTTP | Yes | Reports reachability as safe, risky, invalid or unknown, per its documentation | Engineers who want a self-run API |
| Unlimited Verifier's open-source engine | Code published on GitHub | Yes | You can read every check before trusting its output | Teams that must audit methodology |
| Trumail | Go-based self-hosted service | Yes | Check the repository's commit history first, since maintenance varies | Legacy setups, once maintenance is confirmed |
| Hosted: upload and verify a list or use the REST API | Nothing to run | No | Valid, Risky and Invalid buckets; export as CSV, Excel or JSON | Teams that want no servers to run |
For a wider comparison of hosted vendors, see our guide to the best email verification tools. If you plan to automate checks, email verification API and automation covers common patterns.
The practical difference is ownership. A self-hosted engine gives you full control of the data path, but you also own the IP's reputation and every block that follows. A hosted service absorbs that work, so the operational rules below matter most if you self-host.
Bottom line: Self-hosting trades subscription fees for operational responsibility. Make that trade only if you'll carry the responsibility.
How do you keep a verification server off blacklists?
Your verification IP opens SMTP connections to mailboxes at scale. If it looks like a spam source, DNS blacklists (DNSBLs) will list it, and every later probe gets harder. These practices keep it clean:
- Isolate the IP. Never use the verification IP for marketing or transactional mail.
- Cap concurrency per receiving domain. Start with 2–5 simultaneous connections per MX host. Raise the cap only while the share of 4xx and 5xx replies stays flat. This is a practitioner rule of thumb, not a published threshold.
- Stop on policy blocks. When you see a 5.7.x refusal, pause that domain for hours. Retrying policy blocks quickly is a common way IPs get listed.
- Back off on temporary errors. Retry 4xx replies with exponential backoff, and cap the number of attempts.
- Check listings daily. Query the major DNSBLs and alert on any new listing. Read the listing reason before requesting removal.
The M3AAWG industry group publishes sender best practices that cover these habits. Our guide on how to avoid IP blacklisting when verifying emails yourself goes deeper on remediation.
Bottom line: Restraint protects your IP. Aggressive concurrency and rapid retries of policy blocks are how verification servers get listed.
How much capacity do you need to verify a million addresses?
On the assumptions below, a million-address run takes about 25 to 33 hours. Capacity planning depends on the largest providers, not total volume. The figures are illustrative, so replace the assumptions with your own measurements.
Assumptions: 1,000,000 addresses. 60% sit at five large consumer providers, and 40% are spread across many smaller domains. Each probe averages 1.5 seconds. Each lane runs 10 concurrent connections: the large-provider lane has 2 per provider across five providers, and the long-tail lane shares its 10 connections across the smaller domains.
- Large-provider lane: 10 connections ÷ 1.5 s ≈ 6.67 probes per second. 600,000 ÷ 6.67 = 90,000 seconds, or about 25 hours.
- Long-tail lane: the same 6.67 probes per second. 400,000 ÷ 6.67 = 60,000 seconds, or about 17 hours.
- Critical path: The lanes run in parallel, so the large-provider lane sets the finish time. Adding 30% for retries on temporary errors (an illustrative allowance) gives about 33 hours.
Adding CPU barely changes this job. Adding a second IP with its own per-domain limits does, because it roughly doubles the large-provider lane. That is why the scaling guide focuses on lanes, queues and IP pools.
Storage is simpler. At about 200 bytes per row, a million results is roughly 200 MB before logs.
Bottom line: Size the server around per-provider lanes and the retry tail, not around total list size.
How do you set up a verification host step by step?
Follow these steps in order. Each produces a check you can verify before moving on.
- Provision a Linux VM with a static public IPv4 address. Run the port 25 test from the earlier section first.
- Request port 25 removal if your provider requires it, and wait for approval before continuing.
- Set a fully qualified hostname:
sudo hostnamectl set-hostname verify.yourdomain.com. - Create the A record for
verify.yourdomain.com, then set the PTR record in your provider's console to the same name. - Confirm the loop with
dig -xanddig +short A. Both answers must match. - Publish SPF on your probe domain:
v=spf1 ip4:YOUR.IP.ADDRESS -all. Use a domain you don't send marketing from. - Install Docker and run your chosen engine, following the check-if-email-exists Docker walkthrough or your engine's setup guide.
- Test 20 known addresses: five mailboxes you control, five made-up local parts at a real domain, five addresses at a known catch-all domain, and five disposable addresses. Confirm each lands where you expect. Our open-source disposable domain lists help with the last group.
- Run 500 addresses at 2 connections per MX host. Record the share of 250, 4xx and 5xx replies, and compare it against your expectations.
- Add monitoring: a daily DNSBL check and an alert on any new listing.
Only after step 10 should you run a full list. For ad hoc addresses, the free email checker gives a quick result to compare against your own server.
Bottom line: Test identity, then the engine, then concurrency, and only then run full volume.
Worked example: self-hosting versus a hosted verifier for 240,000 contacts
Scenario: A B2B team needs a one-off cleanup of 240,000 contacts with the same profile as above: 60% at large providers.
Self-hosted path. The large-provider lane handles 144,000 addresses (144,000 ÷ 6.67 ≈ 21,600 seconds, or 6 hours). The long-tail lane handles 96,000 addresses in about 4 hours. With a 30% retry allowance, the critical path is roughly 8 hours. That is fast, but it excludes setup. Budget 1–2 days of engineering time, plus ongoing monitoring and the VM's cost, which depends on your provider.
Hosted path. Pro costs $29 a month, or $25 a month billed annually. The list exceeds the 25,000-per-list cap, so split it into ten files: nine of 25,000 (225,000 rows) and one of 15,000, for 240,000 in total. Standard verification is included on every plan with no per-email fee. If 12,000 addresses come back Risky and need deep verification, that fits within the 25,000 deep verifications a month.
The API is the wrong route for this job. The Pro plan includes 100,000 API emails a month, so 240,000 addresses would take about 2.4 months of allowance. Uploading is faster for a one-time cleanup, and the API suits checks at signup.
Comparison: For one cleanup, the hosted path costs one month's fee and an afternoon of file handling. The self-hosted path costs engineering days and ongoing ownership. Self-hosting makes sense when volume recurs weekly, your team has operations skills, and data must stay inside your infrastructure. Our guide to email verification pricing explains how per-email costs add up as volume grows.
Bottom line: At 240,000 contacts, a one-off cleanup usually favours the hosted path. Recurring volume changes the answer.
Should you self-host or use a hosted verifier?
Match your situation to a recommendation. Teams in ecommerce and SaaS often need checks both at signup and in bulk, so their answer may combine both.
| Your situation | Recommendation | Why |
|---|---|---|
| One-off cleanup, no DevOps capacity | Hosted upload | No IP to manage; lists up to 25,000 rows fit the Pro per-list cap |
| Checks at signup, moderate volume | Hosted API with real-time validation | Single-email checks, and batches of up to 10,000 per request |
| Recurring verification at high volume, data must stay in-house | Self-hosted engine | You control the data path and retention |
| Cannot get outbound port 25 or a static IP | Hosted | Self-hosting isn't possible |
| Must audit how each check is made | Open-source engine | You can read the code |
Retention matters for hosted tools too. Unlimited Verifier keeps results for 24 hours on the Free plan and 30 days on Pro, so export and store results promptly. For trade-offs in more depth, see our pros and cons of open-source email verifiers. Keeping the cleaned list healthy afterwards is covered in email list maintenance best practices. If you'd rather skip the server work, create a free account and test a small list first.
Bottom line: Choose self-hosting for recurring, in-house volume when you have the people to run it. Choose hosted for everything else.
What are the common mistakes with verification servers?
- Testing from a home or office connection and assuming the results carry over to a data-centre IP.
- Classifying 5.7.x policy replies as Invalid, which deletes valid contacts.
- Sharing the verification IP with marketing sends, so one campaign's complaints damage your probes.
- Leaving PTR and EHLO unaligned, so receivers see a hostname that doesn't match the IP.
- Using a marketing domain as the probe sender, which mixes verification and sending reputation.
- Running at full concurrency to finish faster. Blocks lengthen the job and can get the IP listed.
- Treating a catch-all 250 as a confirmed mailbox.
- Skipping monitoring, so you discover a listing weeks after it started.
- Assuming a valid address is an opted-in address. Verification confirms deliverability, not consent.
Bottom line: Most failed verification servers fail on identity and concurrency, not on code.
How we compared (and limitations)
This guide draws on public documentation: RFC 5321, RFC 3463 and RFC 7208; Google's sender guidelines; the published port 25 policies of major cloud providers; the project documentation for check-if-email-exists and Unlimited Verifier's open-source engine; and Unlimited Verifier's published plan facts. The 99.5% accuracy figure for deep verification is Unlimited Verifier's own stated figure, not an independent benchmark.
The throughput, retry and storage numbers are illustrative arithmetic, not benchmarks. We haven't run controlled tests against any provider's infrastructure, and provider policies on port 25 and blocking change without notice. Treat the starting specifications as hypotheses to measure in your own pilot.
Bottom line: Use the arithmetic to plan, then measure your own reply codes before committing to volume.
SMTP reply classification
| Reply | Meaning | Classification |
|---|---|---|
| 250 to RCPT TO | Recipient accepted | Valid candidate; check catch-all |
| 550 5.1.1 | Mailbox does not exist | Invalid |
| 550 5.7.x | Policy refusal on sender or IP | Unknown; retry later |
| 450 / 451 (4.x.x) | Greylisting or throttling | Retry with backoff |
| 421 | Service unavailable | Retry and slow that domain |
Frequently asked questions
Can I run an email verification server on a cloud VPS?
Often yes, but many cloud providers block outbound TCP port 25 by default. Before provisioning, confirm with your provider that port 25 is open for your account, or choose a host that allows it. Without outbound port 25, the server cannot reach recipient mail exchangers.
Does the server need a static IP address?
Yes, in practice. Receiving servers build reputation around IP addresses, and a changing IP makes it hard to keep a PTR record, SPF authorization and blocklist status consistent. A static public IPv4 address is the standard requirement.
What is a PTR record and why does it matter?
A PTR record maps an IP address back to a hostname through reverse DNS. Receiving servers often check that the hostname your server announces in EHLO matches its PTR record. A mismatch can cause refusals or policy blocks.
How much RAM and CPU does a verifier need?
A 1 vCPU and 2 GB RAM setup is commonly enough for a pilot. Throughput is usually limited by how many simultaneous connections each receiving domain tolerates, not by CPU, so adding hardware rarely speeds things up beyond a point.
Why do I get 550 5.7.x errors?
A 550 5.7.x code is a policy refusal, meaning the receiving server is rejecting your sender, IP or reputation rather than saying the mailbox is missing. Treat it as unknown, retry later with backoff, and do not mark the address invalid.
How do I know if a domain is catch-all?
Send a probe to a random, clearly nonexistent local part at the domain. If it also returns 250, the domain accepts everything, so a 250 for any individual address is weak evidence. Mark those results as uncertain.
Should I throttle connections per domain?
Yes. Limit simultaneous connections to each receiving domain and back off on 421 or 4xx replies. Spreading load across many domains at full speed is a common reason verifier IPs get temporarily blocked.
Is a self-hosted verifier worth it compared with a hosted service?
It is worth it only if you can keep the IP off blocklists, monitor reputation, and maintain DNS and throttling. If you cannot, a hosted service removes that operational work and its reputation risk.
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.