EmailFilter

EmailFilter vs Truemail

A configurable Ruby email validator, compared with EmailFilter on size, memory, speed, accuracy and features.

7.8×smaller image
2.5×less memory at idle
5 / 5more disposable addresses caught
40 / 40addresses judged right, Truemail 33

Choose EmailFilter if

  • Disposable addresses are the problem. EmailFilter ships 109,000 disposable domains, updated daily; Truemail has no list by default.
  • You want one answer. A score from 0 to 100 and a verdict, from many signals, instead of a pass or fail from one validation type.
  • You check the same addresses often. Answers are cached, so repeat checks take under 2 ms instead of a new SMTP session each time.
  • You filter mail too. The built-in Postfix policy service rejects bad senders in Postfix and Proxmox Mail Gateway.

Choose Truemail if

  • Your app is written in Ruby. Truemail is a gem you can call in process, without an HTTP hop.
  • You want to choose the validation per domain, regex, MX or SMTP, with Truemail's detailed configuration.

Measured side by side

EmailFilter 2.0.1 and the Truemail rack image (truemail 3.3.0) checking the same 40 addresses on the same server. Bars are drawn to scale.

Image unpacked smaller is better
  • EmailFilter13.2 MB
  • Truemail103 MB
Memory at idle smaller is better
  • EmailFilter11.5 MB
  • Truemail29 MB
Addresses judged right bigger is better
  • EmailFilter40 of 40
  • Truemail33 of 40
EmailFilterTruemail
Image unpacked13.2 MB103 MB
Memory at idle11.5 MB29 MB
Memory under load25 MB51 MB peak
Repeat checks, 10 at a time19,952 req/s, p99 1.6 ms0.6 req/s, p99 31.9 s
First check, real addresses, median1,310 ms1,635 ms
Labelled addresses judged right40 of 4033 of 40

Truemail accepted 5 of the 10 disposable addresses and rejected two real domains whose mail servers did not answer its SMTP check. Measured on 30 November 2026 on a shared 8-core server, each tool with its default settings. Method, addresses and raw answers. Truemail is a trademark of its owners; this page is not affiliated with the Truemail project.

Features

What each one does out of the box, with its default settings.

EmailFilterTruemail
Disposable domainsYes, 109k, subdomains includedNo list by default
MX recordsYesYes
Null MX (domains that take no mail)RejectedRejected
SMTP mailbox checkYesYes
Catch-all detectionYesNo
Domain age (RDAP and WHOIS)YesNo
Whitelist and blacklistDomains, through the APIEmails and domains, in the configuration
Spam keywords and reputationYesNo
A score from 0 to 100 and a verdictYesSuccess or failure
Postfix policy serviceYesNo
Use inside a Ruby appNoYes

How they are built

EmailFilterTruemail
Written inGoRuby
Runs asOne containerA Ruby gem, or one container with Truemail rack
DatabaseNoneNone
Caches answersYes: MX, SMTP and domain ageNo: every check asks again

Switching from Truemail

Both answer over HTTP with JSON, so switching means changing one request and one field in your code. You can run both side by side while you compare.

  1. Start EmailFilter next to it with docker compose up -d. Installation
  2. Send the same addresses to POST /filter-email with {"email": "…"} instead of GET /?email=… with an Authorization token; EmailFilter takes X-API-Key.
  3. Read verdict where you read success.
  4. Move your lists: add whitelisted and blacklisted domains with POST /whitelist and POST /blacklist. Domain lists

Questions

Does Truemail detect disposable email addresses?

Not out of the box: its default validation checks syntax, MX and SMTP. You can blacklist domains in its configuration. EmailFilter ships and updates a list of 109,000.

Why was Truemail so slow in the load test?

It runs a full SMTP session on every check and keeps no cache, so its speed depends on the remote mail servers. EmailFilter answers repeat checks from memory.

Can I keep using Truemail inside my Ruby app?

Yes. EmailFilter is an HTTP service you can call from Ruby too; see the code examples for the request.

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