News for hackers. Stuff that matters.
Re:Ask HN: Why does adding '+FB' to an email still deliver t... by PaulHoule on Wednesday August 14, 2024 @05:31PM (#41250729)
I understand that the email server has digression on what to do with the local part of the email address. For instance a mail server could take mail to [email protected] and put it in the "wildcard" box.

I was a qmail fanatic circa 2001 and back then qmail was often configured to put emails to "[email protected]" to the unix account you and also send "you-*@yourdomain.com" to the you account (anything that starts with "you-")

Of course you can use this to tag email address so if you subscribe to Facebook using "[email protected]" then emails from Facebook are sent to "hn".

I think the people at gmail thought this was a good idea but that it was better use + instead of - so there you go.

Re:Ask HN: Why does adding '+FB' to an email still deliver t... by koutetsu on Wednesday August 14, 2024 @05:27PM (#41250688)
If I'm not mistaken, it's a Gamil specific feature. Any combination of words or numbers between + and @ is seen as not part of your email address but can be used by filter received emails.

See this link for more information: https://gmail.googleblog.com/2008/03/2-hidden-ways-to-get-mo...

Re:Ask HN: Why does adding '+FB' to an email still deliver t... by IcePic on Thursday August 15, 2024 @02:37AM (#41253603)
It's not gmail specific, it's standardized as a "sub-address" and not part of the username of the email. smtp has worked like this since the 90s at least.
Re:Ask HN: Why does adding '+FB' to an email still deliver t... by solardev on Thursday August 15, 2024 @01:49PM (#41258622)
Do you have a cite for this? AFAIK "plus addressing" always been an optional implementation done by certain email providers themselves, but wasn't an actual part of the standards.
Re:Ask HN: Why does adding '+FB' to an email still deliver t... by lofaszvanitt on Wednesday August 14, 2024 @08:04PM (#41252003)
postfix:

recipient_delimiter = +

Re:Ask HN: Why does adding '+FB' to an email still deliver t... by curious_curios on Wednesday August 14, 2024 @05:26PM (#41250687)
Everything after the plus is considered a sub address and is just an arbitrary tag. You can include any text there and it’ll get delivered to the primary address. It’s useful for filtering emails, and is part of the email spec.
Re:Ask HN: Why does adding '+FB' to an email still deliver t... by joezydeco on Thursday August 15, 2024 @10:44AM (#41256739)
However, a lot of websites aren't programmed to the full spec. I've seen many sites reject the use of '+' on the left side.
Re:Ask HN: Why does adding '+FB' to an email still deliver t... by PaulHoule on Thursday August 15, 2024 @01:38PM (#41258522)
Some web sites don't want you create accounts like

  [email protected]
  [email protected]
  [email protected]
when it comes to making an army of sock puppets the biggest hassle is usually doing the email verification for all the accounts. The "+" trick greatly simplifies this though if somebody is looking for trouble they sure will find it. Of course if you control your own domain you can use a wildcard but if you add 1000 users to a site from the same domain that is obvious too.
Re:Ask HN: Why does adding '+FB' to an email still deliver t... by nhggfu on Wednesday August 14, 2024 @07:12PM (#41251518)
don't forget the dot-hack also [email protected] = [email protected] = [email protected] etc
Re:Ask HN: Why does adding '+FB' to an email still deliver t... by solardev on Thursday August 15, 2024 @01:48PM (#41258610)
This also depends on the email provider. It works on Gmail but not all email hosts.