729
you are viewing a single comment's thread
view the rest of the comments
[-] CommanderCloon@lemmy.ml 55 points 17 hours ago* (last edited 17 hours ago)

Question 5 is incorrect, name@example is a fully valid email address, even after RFC 2822

The spec of RFC 2822 defines an address (3.4.1) as:

local- part "@" domain

domain is defined (3.4.1) as:

domain = dot-atom / domain-literal / obs-domain

dot-atom is defined (3.2.4) as:

dot-atom = [CFWS] dot-atom-text [CFWS]
dot-atom-text = 1*atext *("." 1*atext)

1*atext meaning at least 1 alphanumeric character, followed by *("." 1*atext) meaning at least 0 "." 1*atext


If tomorrow, google decided to use its google top-level domain as an email domain, it would be perfectly valid, as could any other company owning top-level domains

Google even owns a gmail TLD so I wouldn't even be surprised if they decided to use it

[-] HereIAm@lemmy.world 21 points 16 hours ago

I don't know if they changes the answer to the question, but it now says name@example is valid.

[-] CommanderCloon@lemmy.ml 27 points 15 hours ago

It does say it's valid, but also that it's obsolete, and while the RFC does define valid but obsolete specs, there is nothing defining domains without a dot as obsolete, and it is in fact defined in the regular spec, not the obsolete section

[-] HereIAm@lemmy.world 10 points 15 hours ago

I see what you mean, I'm with you now.

[-] spankmonkey@lemmy.world 6 points 16 hours ago

It says valid but obsolete, which sounds like a contradiction to me.

This is technically valid but considered obsolete. RFC 822 allowed domains without dots, but RFC 2822 made this obsolete.

Do email suffix not indicate a different domain like .org and .com for websites?

[-] pineapplelover@lemmy.dbzer0.com 2 points 11 hours ago* (last edited 11 hours ago)

I didn't understand this one. How do you have a no dot domain? Like you need to distinguish from example.com or example.wtf

Edit: do you mean if you own .google you can have your email@google address?

[-] DaPorkchop_@lemmy.ml 3 points 6 hours ago

Yes, the top-level domain is still just a domain. I'm not aware of any public Internet services which are reachable from a TLD directly, and it's strongly discouraged by ICANN, but there isn't any technical limitation preventing e.g. someone at Verisign from setting up example@com.

this post was submitted on 18 Aug 2025
729 points (99.1% liked)

Programmer Humor

25802 readers
3110 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS