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

The number of sites that send mail to "foo@bar.com" when you give them "foo@sub.bar.com" is staggering, too. It's a mystery to me why they would ever want to do that, but it happens a lot.


I can see how that happens immediatly...

    var domain = addr.split(['@','.']).take_last(2)
    var tld = domain[1]
    // check TLD against wacky rules...
See, boss, it's easy. What's next?


It's also possibly just some arcane regex incantation that someone implemented 12 years ago and nobody has been able to decipher it since.




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

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

Search: