Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Very cool! How does this actually check without sending any email?


From the GitHub source, it connects to the mail server for the domain’s MX record and issues a “RCPT TO:” command and looks for a non-rejection. Back when I was managing email servers, this option was typically disabled to prevent address enumeration and I’d be surprised if it still works reliably.

Many mail servers function by answering all “RCPT TO:” commands (for the domains served) with a success message that is effectively “Yeah, sure... give it a try” and, if the mailbox doesn’t exist, will email the sender a bounce message.


You can initiate a connection with the mail server, and then query it. I read about it years ago, never done it myself though.


Worth pointing out that it’s possible to configure an email server to not respond to these types of queries and many high-value targets (large corporate email systems) do.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: