Email verification works by asking a mail server whether a mailbox exists, without sending anything. We run an email verification API, and a test showed our own support address as "unknown". The mailbox works; we read it every day. Here's what was going on, with timings.

The check, step by step

connect to the domain's MX on port 25 <- 220 greeting -> EHLO probe.example.com -> MAIL FROM:<verify@probe.example.com> -> RCPT TO:<person@domain.com> # 250 = accepted, 550 = no such user -> RSET / MAIL FROM again -> RCPT TO:<random@domain.com> # catch-all probe -> QUIT # nothing is ever sent 

The second RCPT matters: if the server also accepts a random made-up address, the domain is catch-all and the first "250" proves nothing.

The timings

We timed each step against a dozen providers (Python, plain sockets, no DATA command):

Provider Greeting Reject unknown user
Google Workspace, Zoho, Yandex, Outlook < 1 s < 1 s
Namecheap Private Email ~8 s ~5.5 s
Titan up to 26 s ~5.4 s
Hostinger 7–12 s 10.3 s

(Measured 27 November 2026 from one network; greetings vary by sender IP and reputation.)

Both delays are deliberate: a slow greeting is an anti-spam measure, and the slow rejection comes from the server asking its mailbox storage before answering.

What broke

Our SMTP proxy used one 3-second timeout for every step. On these hosts:

  • the real mailbox got its 250 in 0.3 s,
  • the catch-all probe timed out before the 550 arrived,
  • so we couldn't tell whether the domain was catch-all, and correctly refused to call the address valid → unknown.

Dead addresses on those hosts came back unknown too, and a slow greeting was counted as "host unreachable".

The fix

Per-step limits instead of one:

BANNER_TIMEOUT = 10.0 # greeting RCPT_TIMEOUT = 15.0 # each RCPT, including the catch-all probe COMMAND_TIMEOUT = 3.0 # EHLO, MAIL FROM, RSET TOTAL_TIMEOUT = 22.0 # whole conversation, under the caller's 30 s wait 

A limit is a maximum, so servers that answer in 0.3 s still take 0.3 s. We also stopped counting "connected, then slow" as "unreachable", so one slow host can't get marked dead.

After deploying, our support address came back valid (16 s the first time, then served from cache), and made-up addresses on Hostinger came back invalid.

Takeaways

  1. If your verification unknowns cluster on a few domains, suspect timeouts before data.
  2. Use separate timeouts for steps that are slow by design.
  3. Don't bill for unknowns: it makes your own bugs cost you, not your users.

BounceLayer gives 300 free checks a month if you want to try it on your own list: https://bouncelayer.com/?utm_source=devto&utm_medium=article&utm_campaign=slowservers