Article

Open Source Email Verifiers: Pros and Cons Compared

By Unlimited Verifier Team ·

Flow diagram of the layers an open source email verifier runs, from syntax and MX checks to SMTP mailbox probing, with inconclusive results routed to a hosted s

Summary

An open source email verifier is free software you run on your own servers to check syntax, mail routing and, often, mailbox acceptance. It offers no per-address fees, full data control and readable check logic, but mailbox probing is unreliable at large providers and you carry the sending-IP reputation risk.

An open source email verifier is free software you run on your own servers to check address syntax, mail routing and, at many providers, whether a mailbox accepts mail. The main advantages are no per-address fee, contact data that never leaves your infrastructure, and check logic you can read. The main drawbacks are unreliable mailbox probing at large providers, outbound port 25 blocks, and direct responsibility for your sending-IP reputation.

Whether that trade-off works depends on your volume, your team's engineering capacity and how much accuracy evidence you need to show. This guide covers both sides in depth. It sits beneath our self-hosted email verifier pillar, which covers the wider build-versus-buy question.

Quick answer

What is an open source email verifier?

An open source email verifier is software whose source code is published under a licence that lets you inspect, run and usually modify it. You deploy it yourself, typically as a command-line tool, a library, a Docker image or an HTTP service. You pay for the server and for the people who maintain it, not for each address you check.

Open source does not mean free to operate. The download can cost nothing while the setup still needs a server, a clean outbound IP and someone's hours every month. It also doesn't mean a vendor stands behind the results, so accuracy becomes your responsibility.

Licences matter more than many teams expect. Copyleft licences such as the GNU AGPL can require you to offer the source code of a modified version to anyone who interacts with it over a network. If you fork a verifier and expose it to customers or staff as a service, read the LICENSE file before deployment. Don't rely on the word "open" in a README.

Bottom line: "Open source" describes how the code is shared. It says nothing about running costs, accuracy or who is responsible when a result is wrong.

How do open source email verifiers check an address?

They run a sequence of layers, and each one answers a different question. Knowing the layers lets you judge any tool by how well it handles each one.

  1. Syntax. Does the string follow the address rules in RFC 5321 and its related message-format specifications? This catches a missing @ or a double dot. It proves nothing about whether the mailbox exists.
  2. Domain and MX. Does the domain publish mail exchanger (MX) records? RFC 5321 allows a fallback to the domain's address record, but a domain with no mail routing at all is almost certainly undeliverable.
  3. SMTP mailbox probe. The verifier connects to the receiving server on port 25, completes a handshake, issues a recipient command for the target address and reads the reply. It never sends a message body. A 250-class reply usually means the server accepts the recipient. A 550-class reply usually means it doesn't. Enhanced status codes such as 5.1.1 (bad destination mailbox), defined in RFC 3463, add detail.
  4. Catch-all detection. The verifier probes a random address that cannot exist at the same domain. If the server accepts it, the server accepts everything, so a single probe tells you nothing about any individual address. Catch-all email verification explains how hosted tools present these results.
  5. Flags. Disposable-domain and role-account checks (such as info@ or sales@) run separately. A mailbox can exist and still be a poor prospect.

Layer 3 is where tools differ most. Syntax and MX checks are deterministic and easy to get right. Mailbox probing depends on how each receiving server behaves, and most of the trade-offs in this article come from that layer.

Bottom line: Judge any verifier by how it handles the SMTP probe and catch-all detection. Syntax and MX are the easy part.

What are the pros of open source email verifiers?

1. No per-address cost. Your cost is a server and engineering time, and it grows with maintenance effort rather than with the number of addresses you check. The maths favours self-hosting only at high volume and when the team's hours are already budgeted. The cost section shows the numbers.

2. Contact data stays where you put it. Email lists are personal data. A self-hosted verifier means you don't pass addresses to a third-party processor for the check. That can simplify data-processing agreements, though it doesn't remove your obligations under the GDPR or the rules in the FTC's CAN-SPAM compliance guide. Have counsel review the setup.

3. You can see why a result was given. Running the probe yourself gives you the raw reply code. If a prospect is marked Invalid, you can check whether the server returned a permanent 5xx error or simply timed out. That answer matters when a stakeholder asks why a specific address was dropped. Many hosted tools return a category with limited detail, so auditability is a genuine difference.

4. You can change the rules. Your business may accept a university domain that a generic rule blocks, or exclude a set of internal test accounts. An open codebase lets you adjust thresholds, add your own disposable list or map reply codes to your own categories.

5. Integration is a script away. A self-hosted engine can run inside a deduplication job in your data warehouse or a signup handler without waiting for a vendor connector. This is about flexibility, not setup speed. The next section covers the costs.

Bottom line: Cost at volume, data control and auditability are the real advantages, and each one depends on having the infrastructure and skills to use it.

What are the cons of open source email verifiers?

1. Mailbox probes are unreliable at large providers. Some large consumer providers don't confirm mailbox existence cleanly over SMTP. They may accept any recipient, defer the probe, or rate-limit repeated connections from one IP. A self-hosted engine has to detect those patterns itself. Hosted vendors typically invest heavily in handling them. Expect more "unknown" results on these domains, and measure them against your own bounce history.

2. Port 25 is often blocked. The probe needs outbound port 25, which many networks restrict to curb spam. Major cloud providers commonly restrict it by default, and some open it only after a support request. Residential and office connections often block it too. Which cloud providers allow outbound port 25 compares the options. If your host blocks the port, the probe fails before it starts.

3. Your IP reputation is on the line. Probing a long list from one address looks like address harvesting to a receiving server. Throttling or blocklisting that IP also affects your normal mail, because it shares the address. Keep verification and sending separate where you can. Use a dedicated IP, a reverse DNS record that matches your HELO name and strict per-domain rate limits. How to avoid IP blacklisting when verifying emails yourself walks through the steps. M3AAWG publishes sender best practices that are worth reading before you start.

4. Temporary failures need retry logic. Greylisting and 4xx replies are routine. A verifier that maps every non-250 reply to Invalid will discard good contacts. Your code needs scheduled retries and a separate "unknown" state.

5. Reference data goes stale, and you own the refresh. Disposable-domain and role-account lists change constantly. Community lists are a useful start, as covered in open source disposable email domain lists on GitHub, but nobody refreshes your copy except you.

6. Nobody guarantees accuracy. Open source projects typically offer no service commitment and few independent benchmarks. Some hosted vendors publish an accuracy figure you can hold them to. With open source, the only accuracy number you can rely on is one you measure on your own data.

7. Scaling is an engineering project. Checking a few thousand addresses is an afternoon's work. Checking millions requires a queue, per-domain concurrency caps, backoff logic and monitoring of reply codes. The difficulty lies in orchestration, not the probe itself. How to scale SMTP verification to millions covers the architecture.

8. Licence and legal exposure. Copyleft licences such as AGPL can require you to publish changes if you run a modified version as a service. Separately, probing mailboxes you have no relationship with raises questions that vary by jurisdiction and by provider terms. Is it legal to run your own SMTP verification sets out the main considerations.

Bottom line: The cons are operational: probe reliability, IP reputation, stale data, no accuracy guarantee and legal exposure. Each has a fix, and each fix takes real time.

Do open source verifiers work for Gmail, Outlook and Yahoo addresses?

Partly. Syntax, domain and MX checks work the same for every provider. The mailbox probe is where large consumer domains diverge from business domains, and that divergence matters most when your list is mostly consumer addresses.

Expect a higher share of unknown or inconclusive results on large consumer domains than on your company's own domains. Don't assume a pass rate from one provider applies to the others. Split your accuracy test by domain, so you can see where the engine is confident and where it isn't. Route the unknown consumer addresses to a second method, such as an engagement check or a hosted verification pass.

Bottom line: Judge the engine domain by domain, not by one overall pass rate.

Which open source email verifiers are worth evaluating?

The table below summarises the main options based on public documentation and repository READMEs. Benchmark each one on your own list before you commit.

Option Form factor What distinguishes it Check before adopting
check-if-email-exists (Reacher) Rust library, command-line tool and HTTP service, with a documented Docker route Runs syntax, MX, SMTP and disposable/role checks in one engine and returns a reachability label per address Licence terms for your use case. See our Reacher review and Docker setup guide
Trumail Self-hosted Go service with a JSON HTTP API An early option that many developers still reference in this niche Maintenance status, recent commits and open issues. Compare with Trumail alternatives
Unlimited Verifier engine Published on GitHub and free to run yourself Comes from the same team as the hosted service, which sorts results into Valid, Risky and Invalid and flags catch-all, disposable and role addresses Read the README to confirm which checks the engine implements. The hosted product adds uploads, exports and plan limits. See the source code overview
Disposable-domain lists Data files, not verifiers A fast, free layer that blocks throwaway domains at signup Lists lag behind new domains, so pair them with a mailbox check
Build your own (DNS library plus SMTP client) Custom code Full control over probe behaviour and reason codes Highest maintenance. You inherit every edge case

Two differentiators matter most. First, does the engine expose reason codes you can log? Second, does the licence allow your use case, including any hosted or client-facing deployment? Check both before running a benchmark. The table reflects published documentation, not a test of each tool's accuracy.

Bottom line: Shortlist on licence and reason-code output, then test accuracy on your own addresses.

How much does running an open source verifier cost?

The server is rarely the expensive part. Engineering time is. Here is a simple model using assumed figures. Replace them with your own:

For comparison, Unlimited Verifier's Pro plan costs $25/month billed annually ($300 a year), or $29/month billed monthly ($348 a year). It covers lists of up to 25,000 emails each, 25,000 deep verifications a month and API access for 100,000 emails a month, with unlimited standard verification. Email verification pricing explains how the tiers compare across vendors.

Under these assumptions, self-hosting costs more than Pro in both years, even though the setup cost falls away after year one. Self-hosting only comes out ahead when:

Bottom line: Self-hosting is cheaper per address at scale, but only if the engineering hours are already paid for.

Are open source email verifiers accurate enough for compliance?

They can be accurate enough for syntax, domain and many mailbox outcomes. No verifier, open or hosted, can prove that an address will accept your message on send day or that the person consented to receive it. Verification is part of email verification compliance and hygiene. It doesn't replace opt-in evidence.

Google's sender guidelines ask bulk senders to keep the user-reported spam rate below 0.1% and never let it reach 0.3%. Bounces are a separate signal you still have to control, and a list full of invalid addresses inflates both.

The practical question is how accurate your verifier is on your data. Measure it against ground truth from your ESP's logs:

  1. Pull 2,000 addresses with known outcomes from past campaigns: delivered or hard-bounced.
  2. Run them through the verifier and log each category.
  3. Compare the results by domain, not just overall.

An illustrative result: of 300 addresses that hard-bounced, the verifier flags 270 as Invalid or Risky, which catches 90%. Of 1,700 that delivered, it flags 85 as Invalid, so it wrongly rejects 5% of good addresses. Those two numbers tell you more than any vendor claim. Repeat the test whenever you change the setup.

Bottom line: Measure accuracy against your own bounce history, and treat verification as hygiene rather than proof of consent.

Open source or hosted: which should you choose?

The answer depends on who owns the work. Use this table as a starting point.

Factor Lean open source Lean hosted
Volume Well beyond your plan's quotas, with sustained throughput needs Within plan quotas, with no queue to build
Team Developers who can run a service in production Marketing or ops owners without DevOps support
Data rules Rules that prohibit third-party processing No such constraint, with a data processing agreement in place
Accuracy evidence You benchmark it yourself You need a vendor-stated figure to cite
Time to a clean list Days to weeks Same day
Deliverability risk Your IP and reputation The vendor's infrastructure

Many teams split the work. Open source covers syntax, domain and disposable checks at signup, and a hosted service handles the mailbox layer for imports. For ecommerce and SaaS signup flows, which have the most new addresses per day, real-time email validation is the place to start. Connect the two with an email verification API and automation setup. Sales teams cleaning prospect lists should read email verification for sales prospecting.

If you want a hosted option without running port-25 infrastructure, Unlimited Verifier is a practical fit. Standard verification is unlimited on every plan with no per-email fee, and the Free plan lets you test on lists of up to 150 emails. The open-source engine lets you audit the code before you rely on it. Developers who want programmatic access can use the email verification API, which accepts single checks or batches of up to 10,000 emails per request. Our roundup of the best email verification tools compares hosted alternatives.

Bottom line: Pick open source when engineering capacity and data rules drive the decision. Pick hosted when speed and an accuracy claim you can cite matter more.

How do you run an open source verifier step by step?

These steps assume a Linux server and basic command-line skills. Follow the project's own README for exact commands, because they change between releases.

  1. Choose a host that allows outbound port 25. Test a connection to a server you control before you install anything.
  2. Set reverse DNS. Create a PTR record that points your IP to a hostname you own. The name should match the HELO/EHLO identity your probe sends. How to set up reverse DNS for a verification server covers the record.
  3. Run the engine in a container. Follow the Docker instructions for your chosen project, such as the check-if-email-exists Docker guide.
  4. Test with five known addresses. Use one you control, one that doesn't exist, one on a catch-all domain, one disposable address and one role account. Record every output.
  5. Clean your input file. Keep one email column, trim whitespace, lowercase the addresses and remove duplicates.
  6. Run a 500-address sample slowly. Cap concurrency per domain. Log the timestamp, the raw SMTP reply code, each check's result and the final category.
  7. Retry deferred addresses. Retry 4xx responses after one hour, then after 24 hours. Anything still unresolved becomes "unknown," not Invalid.
  8. Run the accuracy test. Compare the sample with your bounce log, using the method in the compliance section.
  9. Scale only after the sample passes. Add queueing and per-domain limits, following the scaling guide.
  10. Keep a results table. Store the email, syntax result, MX result, reply code, catch-all flag, disposable flag, role flag, final category and check date. This is your audit trail.

If you'd rather skip the server work, the hosted route takes four steps:

  1. Export your contacts from your ESP or CRM as a CSV.
  2. Upload and verify a list. CSV and Excel files up to 10MB are accepted, and the email column is detected automatically.
  3. Export results as CSV, Excel or JSON, then re-import only the Valid contacts. Results are kept for 24 hours on the Free plan and 30 days on Pro, so save your exports as soon as a run finishes. You can also spot-check single addresses with the free email checker.
  4. If you don't have an account yet, you can sign up and start on the Free plan.

Bottom line: Test each step on a small sample before you scale, and keep the raw reply codes so you can defend every decision.

Is self-hosting cheaper at 100,000 contacts?

Assume a list of 100,000 contacts. All figures below are illustrative.

Route A: hosted, on Pro

Route B: self-hosted

Compare like with like. One Pro month costs $29, and a year of monthly Pro costs $348. Self-hosting costs $3,760 in year one and $2,160 a year after that. If you re-verify monthly for several clients, the gap narrows, but the arithmetic still favours hosted unless your engineers already maintain the infrastructure. Re-run the numbers at your own volume. The limits that bind first are usually the deep-verification and API quotas, not standard verification.

Bottom line: At 100,000 addresses, the arithmetic favours hosted unless the infrastructure is already paid for.

What are the common mistakes with open source email verifiers?

Keep your lists current with a schedule. Email list maintenance best practices sets out a cadence that works for most teams.

Bottom line: Most failures come from weak IP practice, misread results and untested assumptions, and you can check all three before you scale.

How we compared (and limitations)

Open source vs hosted: where each fits

Factor Open source (self-run) Hosted service
Per-address cost None (infrastructure and staff time) Usually per check
Data control Stays on your infrastructure Sent to vendor
Mailbox probe reliability Often inconclusive at large providers Provider-specific logic, varies by vendor
Port 25 and IP reputation Your responsibility Handled by vendor
Auditability Read the code yourself Rely on documentation and claims
Best fit Engineering-led teams, custom pipelines Teams needing fast, defensible lists

Frequently asked questions

Is an open source email verifier really free?

The software itself is free to download and use, but running it is not. You pay for a server, a clean outbound IP address and engineering time to maintain it. Those costs are usually lower per address at high volume, but they are real and often overlooked when teams compare against per-check pricing.

Why do open source email verifiers struggle with Gmail and Outlook?

Large consumer providers often accept an SMTP connection but do not confirm whether a specific mailbox exists, or they rate-limit and greylist probes. This makes results inconclusive. Self-run tools therefore tend to label many addresses as unknown rather than valid or invalid.

Do I need port 25 to run an open source email verifier?

For mailbox-level checks, yes, because SMTP runs on port 25 by default. Many cloud hosts block outbound port 25 to prevent spam, so you may need to request an unblock, use a provider that allows it, or run checks from a dedicated server.

Can open source verifiers hurt my sending reputation?

Yes. Each SMTP probe connects from your IP address, and aggressive probing can get that IP listed or blocked by providers. Using a dedicated IP, throttling requests and avoiding bursts helps, but the risk stays with you rather than a vendor.

What licence should I check before using an open source email verifier?

Read the LICENSE file. Permissive licences such as MIT or Apache 2.0 allow broad reuse. Copyleft licences such as the GNU AGPL can require you to publish source code for modified versions that users interact with over a network, which matters if you offer the tool to customers or staff.

How accurate are open source email verifiers compared with hosted services?

Accuracy depends on the layers used and the domains checked. Syntax, MX and disposable-domain checks are generally reliable. Mailbox-level results vary widely, especially at large providers. Hosted services typically publish accuracy claims and maintain provider-specific logic, which open source tools rarely match without ongoing work.

Is it legal to probe mail servers to verify addresses?

Rules vary by jurisdiction and by provider terms of service. Probing can be seen as unsolicited activity if done at high volume. Review the policies of the domains you check, keep request rates low, and consult legal counsel if you process personal data under regulations such as GDPR.

When should I choose a hosted verifier instead?

Choose a hosted service when you need a defensible clean list quickly, a stated accuracy figure for stakeholders, or support when results are disputed. Teams without spare engineering capacity usually get better outcomes from a hosted tool, or a hybrid approach that uses open source checks first.

Can I combine open source and hosted verification?

Yes. A common pattern is to run syntax, MX and disposable checks locally, then send only ambiguous mailbox results to a hosted service. This keeps most data in-house and limits per-address spend to the cases that need stronger evidence.

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.