News for hackers. Stuff that matters.
Re:Show HN: Deep Email Validator by huhtenberg on Wednesday December 16, 2020 @09:25AM (#25442805)
Why would they fail?

It opens an SMTP connection and runs through the handshake. If this fails then, it will fail with a real delivery just the same.

It's still a bad test to do, but for other reasons.

Re:Show HN: Deep Email Validator by edoceo on Wednesday December 16, 2020 @09:51AM (#25443158)
What are the other reasons?

On signup for my app we validate like this, with MX and SMTP check - before sending a account verify message

Re:Show HN: Deep Email Validator by huhtenberg on Wednesday December 16, 2020 @10:16AM (#25443523)
SMTP checks need to be run from the actual mail server/cluster that will be sending emails, using the exact same EHLO greeting, etc. Otherwise you may get both false positives and negatives due to IP blocks and mail header filters on the receiving end. That's without getting into timeouts and remote-side enforced TLS.