EmailFilter

Free and open source · MIT · v2.0.1

Is this email address real?

EmailFilter is a self-hosted email validation API. It catches disposable, fake and mistyped addresses before they reach your sign-up form, mailing list or mail server. Try it here: the check runs in your browser.

Try:

Your address never leaves your browser. Only the domain is sent: to Cloudflare DNS for the mail servers and to the domain's registry for its age.

Change the rules

These settings live in this tab only. On your own server they are the /scores, /whitelist and /blacklist endpoints, and they apply immediately.

Score weights

Whitelist and blacklist

  • Loading the lists…

Entries also match subdomains: blacklisting example.com covers mail.example.com.

Bulk check, try it free

Check a whole list at once

Not just one address: paste up to 1,000 from your sign-up form, CRM export or mailing list and try it right here. EmailFilter sorts out the ones that would bounce, vanish in an hour or never belonged to a person.

Try it with your list
  1. 1

    Bring your list

    Paste addresses or drop a CSV file, export it from your CRM, or send each new sign-up to the API as it happens.

  2. 2

    Every address is checked

    Syntax, 109,392 disposable domains, mail servers, the mailbox itself, catch-all servers and domain age, all at once.

  3. 3

    Keep the clean list

    Download the accepted addresses, or the full list with a verdict and a reason for each, and send without the bounces.

Everything worth knowing about an address.

Nine checks in one API call, each adding or taking away points. The address itself never leaves your server.

Disposable domains

Throwaway and temporary email services are caught, and so are their subdomains, so eu.mailinator.com gets no free pass.

Mail servers

Domains without MX records, or with a null MX, cannot receive email and are rejected at once.

The mailbox itself

The domain's mail server is asked whether it would take mail for the address, then left before anything is sent.

Catch-all servers

A server that accepts a random address accepts everything, so its yes earns no points.

Domain age

Domains registered days ago are a common sign of abuse. An unknown date is never held against an address.

Syntax, done right

Parsed the way mail servers read addresses, with internationalized domains and Unicode names supported.

Gibberish and spam words

Names typed by smashing keys, and words from your own spam keyword list, take points off.

Your own lists

Trust or block whole domains through the API. Changes are saved to text files and apply to the next check.

Reputation

Your apps report spam with one call, and a domain's share of reports lowers its score for every later check.

Run it on your own server

One container, about 5 MB to download, no database. The full version adds the SMTP mailbox check and WHOIS, and plugs into Postfix, Proxmox Mail Gateway and Exim.

Start it

git clone https://github.com/stefanpejcic/EmailFilter emailfilter
cd emailfilter
docker compose up -d

Check an address

curl -X POST http://localhost:8000/filter-email \
  -H "Content-Type: application/json" \
  -d '{"email": "test@mailinator.com"}'

Works with

  • Sign-up forms and apps: one HTTP call, a JSON answer with a score and a verdict
  • Postfix: built-in policy service, rejects bad senders during SMTP
  • Proxmox Mail Gateway: the same policy service through a PMG template
  • Exim: a small script in acl_check_rcpt

Private by design

  • No third-party API: addresses never leave your server
  • No database, no telemetry, nothing saved about people
  • API key, rate limiting and protection against internal network access

Read the setup guide

Questions

What is EmailFilter?

A free, open-source email validation API you run on your own server. Send it an email address and it answers with a score from 0 to 100 and a verdict, accepted or rejected, based on syntax, disposable domains, mail servers, the mailbox itself, domain age, spam keywords, your own lists and the domain's reputation.

How is the demo different from the real thing?

It is the same Go code, compiled to WebAssembly. Browsers cannot open SMTP or WHOIS connections, so the demo skips the mailbox check, and the domain age is only available for domains whose registry offers RDAP. A self-hosted server does both.

Does the demo send my email address anywhere?

No. Only the domain is sent: to Cloudflare DNS-over-HTTPS for the MX lookup and to the domain's registry for its registration date. A self-hosted server uses your own DNS resolver instead.

Does the SMTP check send an email?

No. The server asks the mail server whether it would accept mail for the address, then disconnects before any message is sent.

Is it an alternative to ZeroBounce, NeverBounce or Kickbox?

For the checks it does, yes, with no per-check fees and no data leaving your server. Those services also use large shared datasets about spam traps that a self-hosted tool does not have.

Is it free?

Yes. MIT license, no paid edition, no usage limits, no telemetry.

Keep fake addresses out before they sign up.

Free and open source. No sign-up, no API key, no address leaves your server.

10test@mailinator.comrejectedDisposable email domain 30xkcdqwrt@nonexistent.examplerejectedNo mail servers 90john.smith@gmail.comacceptedMailbox exists, established domain