News for hackers. Stuff that matters.
Re:Perfect email regex finally found by jrockway on Friday May 28, 2010 @05:15PM (#1387688)
What if I want to receive mail directly at my TLD?
Re:Perfect email regex finally found by davidu on Friday May 28, 2010 @08:57PM (#1388136)
Except it's not allowed...

http://tools.ietf.org/html/rfc5321#section-2.3.5

RFC 5321 section 2.3.5 specifically prohibits TLDs from receiving email. Other RFCs back that up, actually including RFC5322 (not directly, but in wire format).

That said, we see some TLDs run MX's. I think at least some portion of them sell the mail received there to spammers. Seriously.

Re:Perfect email regex finally found by tav on Friday May 28, 2010 @10:56PM (#1388257)
Hey David,

You obviously know a lot more on this topic... but where exactly does it say in that section that TLDs are prohibited from receiving emails?

From my reading, it seems to suggest the opposite, e.g. "In the case of a top-level domain used by itself in an email address, a single string is used without any dots."

I've re-read that section many times and forgive me if I missed it — it's late! =)

People have been posting conflicting responses throughout this thread suggesting that TLDs can/cannot receive emails, and I'd really like to know which should be valid... thanks!

Re:Perfect email regex finally found by _fool on Friday May 28, 2010 @06:35PM (#1387868)
interestingly i count 19 TLD's with mx records. but judging from your earlier post you know as well as i do (i use <single character>@w.tf for many purposes) that there are pretty much no web forms on the planet that would take such an address. tis a shame, but such addresses while pretty nifty are also frequently unusable. not to mention trying to explain to someone that that is really your email address and if it doesn't work they should talk to their ISP/mail client author/etc...well, suffice it to say they won't be getting in touch with you that way anyhow. (be that a blessing or curse, it's just reality)
Re:Perfect email regex finally found by DougBTX on Friday May 28, 2010 @06:02PM (#1387798)
Interestingly, there is a test for that in the article - under the "These should be invalid" section.