News for hackers. Stuff that matters.
Re:Show HN: Write a private diary using good old email by reikonomusha on Tuesday January 14, 2020 @12:21PM (#22046925)
Isn’t that just an email hack?
Re:Show HN: Write a private diary using good old email by timlin on Tuesday January 14, 2020 @01:38PM (#22047852)
No, not every email server supports it. For example, I know that Office 365 Exchange doesn't support it as I tried it yesterday.
Re:Show HN: Write a private diary using good old email by masukomi on Tuesday January 14, 2020 @05:01PM (#22049690)
that just means Office 365 has a bug in it, not that using that feature is an "email hack"

the plus syntax is part of the email address specification. any server that doesn't support it is by definition buggy because some mail won't work as expected or designed.

Re:Show HN: Write a private diary using good old email by Carpetsmoker on Wednesday January 15, 2020 @04:49AM (#22052972)
I don't believe that "a@" and "a+tag@" being treated as the same address is part of any specification, but I could be mistaken about this.

Many mail servers have a setting to configure which character to use; some default (or used to default?) to "-" instead of "+".

Re:Show HN: Write a private diary using good old email by lolc on Tuesday January 14, 2020 @06:29PM (#22050309)
I think you're talking about just allowing the symbol. The plus sign is an allowed character in the local part in the spec. But mailservers are not required to treat it specially and apparently Exchange doesn't. That seems to be the thrust of the comment you answered to.
Re:Show HN: Write a private diary using good old email by newscracker on Wednesday January 15, 2020 @09:54AM (#22054622)
Tangentially, what's impossible to solve is all the developers out there who build input forms that will not accept an address with a "+" in it and flag it as invalid. They just use a regex that looks for alphabets, numbers, underscores, dots and one @ sign (I've also seen forms that won't accept any TLD other than .com).
Re:Show HN: Write a private diary using good old email by pests on Tuesday January 14, 2020 @08:07PM (#22050870)
The @ is a regular email character that Google happens to treat specially. Same with them disregarding the period character.
Re:Show HN: Write a private diary using good old email by Retr0spectrum on Tuesday January 14, 2020 @12:32PM (#22047040)
No, it's a gmail-specific "feature". Other mail services may also implement it, I guess.
Re:Show HN: Write a private diary using good old email by capableweb on Tuesday January 14, 2020 @01:09PM (#22047468)
Yeah, seems there is enough other services that a RFC (under "Subaddress Extension") has been proposed https://tools.ietf.org/html/rfc5233 Maybe it'll get enough steam.

Edit: doesn't mean everyone will use it though! But guess the plus sign in addresses would be more "email" than just email.

Re:Show HN: Write a private diary using good old email by Spivak on Tuesday January 14, 2020 @02:40PM (#22048449)
It’s nice that they’re trying to standardize it but it’s an impossible standard since you can’t assume that any particular domain adheres to to it so you end up with a whitelist either way.
Re:Show HN: Write a private diary using good old email by capableweb on Wednesday January 15, 2020 @03:55AM (#22052692)
I guess you're seeing it from the service owners point of view, and in that case it doesn't really matter no? AFAIK, it's for the owners of the email to use the subaddressing, not for others to magically come up and use subaddressing.

So as long as you, the user and owner of an address, know that your domain supports/not supports it, you can use it.

I don't understand who would have to add any allow/blocklists?

Re:Show HN: Write a private diary using good old email by Tomte on Tuesday January 14, 2020 @02:00PM (#22048088)
It is supported by most mail servers, I guess, and at some time nerds all over the world were heavily promoting this scheme.

I know someone who constantly complained that web site X or company Y are stupid, because they don't follow the RFCs, don't know the syntax of mail addresses, because mail validation in web forms often rejected anything with a plus sign.

The correct answer would have been "don't do it then" or maybe "how about configuring your Exim so that instead of '+' you're using '-' as a separator, but I suppose the complaining was a big part of the fun.

Re:Show HN: Write a private diary using good old email by polynomial on Tuesday January 14, 2020 @02:31PM (#22048361)
Companies don't follow RFCs, as a rule, bc the only mechanism or means of doing so is if the engineering team implementing the product is aware of the relevant RFCs, and can make a case for following them to the product team. (I.M.Exp.)

There's also a generational memory issue here, and I'm not aware of any C.S./C.E. programs that cover RFCs as part of the core curriculum.

Re:Show HN: Write a private diary using good old email by polynomial on Tuesday January 14, 2020 @02:25PM (#22048300)
https://tools.ietf.org/html/rfc822

(viz. not a gmail-specific feature)

Re:Show HN: Write a private diary using good old email by projektfu on Tuesday January 14, 2020 @05:12PM (#22049771)
I didn't see where the + had any special significance in RFC822 beyond being part of an atom. foo+a and foo+b could be two different recipients if the server desired.
Re:Show HN: Write a private diary using good old email by polynomial on Wednesday January 15, 2020 @03:37PM (#22058222)
fair enough
Re:Show HN: Write a private diary using good old email by Carpetsmoker on Wednesday January 15, 2020 @04:50AM (#22052982)
I was using this well before gmail even existed; support is not universal, but it's certainly not a "gmail feature".