News for hackers. Stuff that matters.
Re:Tell HN: GitHub now blocks aliased email addresses by KMnO4 on Friday January 27, 2023 @02:33PM (#34550643)
I use an email catch all for everything.

[email protected], [email protected], [email protected] all direct to [email protected].

I rarely get spam these days, but when I do, I simply block the address and move on.

Re:Tell HN: GitHub now blocks aliased email addresses by takoid on Friday January 27, 2023 @02:40PM (#34550715)
How do you prevent someone from spamming you with random usernames? For example:

[email protected]

[email protected]

[email protected]

Do you have a whitelist as well?

Re:Tell HN: GitHub now blocks aliased email addresses by sigstoat on Friday January 27, 2023 @02:44PM (#34550773)
in my experience that sort of "send some spam to addresses we have no reason to believe exist" behavior takes the form of sending stuff to $commonfirstname@domain not $service@domain

nobody is sending email to alsdkjfadf@domain

Re:Tell HN: GitHub now blocks aliased email addresses by ylk on Friday January 27, 2023 @02:56PM (#34550940)
> nobody is sending email to alsdkjfadf@domain

That’s actually the kind of spam I used to receive on a very short domain with a catch-all.

I guess they loop through short domain names and then try to brute-force the local part.

Re:Tell HN: GitHub now blocks aliased email addresses by mynameisvlad on Friday January 27, 2023 @03:04PM (#34551082)
Interestingly, I have <3letters>.one but I think because it's an uncommon TLD and a seemingly random 3 letters, I haven't had that issue.
Re:Tell HN: GitHub now blocks aliased email addresses by takoid on Friday January 27, 2023 @02:46PM (#34550807)
You are right. But I think using a catch all with a separate username for each service/business is becoming an increasingly common practice so I would imagine it’s only a matter of time before spammers catch on and begin exploiting this.
Re:Tell HN: GitHub now blocks aliased email addresses by scrlk on Friday January 27, 2023 @03:00PM (#34551004)
I use service name + 4 random alphanumeric characters. Seems to strike a reasonable balance between just using the service name vs. completely random characters.
Re:Tell HN: GitHub now blocks aliased email addresses by wkrsz on Friday January 27, 2023 @02:51PM (#34550865)
Then we adapt.
Re:Tell HN: GitHub now blocks aliased email addresses by leipert on Friday January 27, 2023 @02:45PM (#34550791)
Simply doesn't happen. Spammers seem to rely on "real" email addresses which they get from leaks and such.
Re:Tell HN: GitHub now blocks aliased email addresses by neogodless on Friday January 27, 2023 @02:49PM (#34550844)
I've seen this. Comes in waves - maybe 100s of emails over a few days. Then years of nothing. They get caught by spam filters pretty easily. I do whitelist a few email addresses, filter others into folders. And every once in a while, I have to empty out my spam folder. Not a big deal to me, and still think it's worth using catch-all email and unique email addresses all over the internet.
Re:Tell HN: GitHub now blocks aliased email addresses by jasonjayr on Friday January 27, 2023 @02:50PM (#34550858)
Using random emails like that is a super easy way of getting caught up in a spam trap, which would get you blocked easily.

One of our users used a throwaway [email protected], which earned us a complaint inside of an hour, just by sending a welcome/confirm message.

Re:Tell HN: GitHub now blocks aliased email addresses by mynameisvlad on Friday January 27, 2023 @03:04PM (#34551067)
That's not really an issue for end users getting emails at <somerandomthing>@<theirowndomainname>, which is what the thread is about.
Re:Tell HN: GitHub now blocks aliased email addresses by bhhaskin on Friday January 27, 2023 @03:27PM (#34551364)
But it is for spammers. Which is why it doesn't make sense for spammers to do that.
Re:Tell HN: GitHub now blocks aliased email addresses by iliketrains on Friday January 27, 2023 @02:51PM (#34550864)
I do the same as KMnO4 and I think I have never received an email to a random address that I haven't shared before. Currently the biggest volume of spam is coming to adobe@ and github@ (along with some dating sites).

Actually, I did receive one, from my friend who typed the entire message in the name before the @ and left the body and subject empty :D

Re:Tell HN: GitHub now blocks aliased email addresses by function_seven on Friday January 27, 2023 @02:59PM (#34550989)
> Actually, I did receive one, from my friend who typed the entire message in the name before the @ and left the body and subject empty :D

So something like this?

    From: [email protected]
    To: [email protected]
    Subject: <blank>
    Body: <blank>
Re:Tell HN: GitHub now blocks aliased email addresses by rOOb85 on Friday January 27, 2023 @03:36PM (#34551500)
Reminds me of the classic bob wehadababyitsaboy https:/youtube.com/watch?v=9JxhTnWrKYs
Re:Tell HN: GitHub now blocks aliased email addresses by sam_lowry_ on Friday January 27, 2023 @03:06PM (#34551109)
Little Bobby Tables ;-)

You've made my evening!

Re:Tell HN: GitHub now blocks aliased email addresses by iliketrains on Friday January 27, 2023 @05:35PM (#34552804)
Exactly! The message was like 3x longer, I wonder what is the limit?
Re:Tell HN: GitHub now blocks aliased email addresses by TonyTrapp on Friday January 27, 2023 @02:54PM (#34550901)
I do the same and I did receive a few, to some addresses that looked like UUIDs. It was just a handful of addresses, so they were easy enough to block.
Re:Tell HN: GitHub now blocks aliased email addresses by tablespoon on Friday January 27, 2023 @02:57PM (#34550945)
> How do you prevent someone from spamming you with random usernames? For example:

You don't, but spammers don't care that much to do what you describe.

Think like a spammer. Why would a spammer motivated by profit to do that on a small personal domain? It makes sense on large service (e.g. gmail, yahoo, comcast), because they might increase their audience, but on a personal domain they're just going to swamp someone's inbox in a way that makes it even less likely they'd bite.

Re:Tell HN: GitHub now blocks aliased email addresses by kevincox on Friday January 27, 2023 @03:26PM (#34551349)
In practice this isn't very common. In most cases if you block the email that they got a hold of they will just give up rather than trying random addresses.

However it does happen a little. Because it sounded like fun I actually added a signature to my addresses. So it looks like github.com-abcdef@example. Then the spam filter will check the signature and if it is invalid it will give it a high spam weight. (Other than a few widely-published addresses that are accepted at neutral weight)

Re:Tell HN: GitHub now blocks aliased email addresses by egberts1 on Friday January 27, 2023 @04:02PM (#34551813)
Whitelist.
Re:Tell HN: GitHub now blocks aliased email addresses by teawrecks on Friday January 27, 2023 @06:37PM (#34553304)
My understanding of how email works is: for each email sent, there's a sending and receiving server that exchange a message between users on each.

* If a server tries to send an email to a user that doesn't exist on another server, the email will "bounce", and the receiver will automatically respond with an error (we've all seen this).

* If a server slowly spams another server with emails to invalid users (say once an hour) they'll just get bounced back each time. No harm done.

* If a server spams another server with an onslaught of emails, even if they are to a valid user, at some point it becomes a DOS attack and the IP of that server will be blacklisted.

So the case you're probably concerned about is the second one where they could essentially brute force a username slowly enough that they don't trigger any red flags. But the time investment, compute power, and bandwidth necessary to do that is not worth how easy it would be to mitigate that. "Great you figured out my email address. Blocked."

If they're going to spend time shooting into the dark like that they might as well be guessing random passwords to public facing ssh servers (which bots are doing all the time).

Re:Tell HN: GitHub now blocks aliased email addresses by GeekFortyTwo on Friday January 27, 2023 @09:41PM (#34554556)
I do similar and never see that occur.

What I do get are a lot of misdirected messages for people at a school district(one letter, that sounds the same, off from mine) and a defunct tech school in India.

The amount of personal information that companies will send to an unverified email address is terrifying. Devs, please make sure you send a confirmation email before believing an address is good. If I was malicious I could really mess with a lot of travel plans for people, among many other things.

Re:Tell HN: GitHub now blocks aliased email addresses by hk1337 on Friday January 27, 2023 @02:55PM (#34550926)
yeah, I started using Fastmail's masked email to create emails for services that route to my inbox. Initially I did it with my email domain then figured because my email domain has my name in it that it seemed semi-pointless so I switched to just using Fastmail's domain.
Re:Tell HN: GitHub now blocks aliased email addresses by joshka on Saturday January 28, 2023 @01:21AM (#34555674)
I think there's a subtle extra step there. Create a new domain that just exists to handle masked emails and only masked emails. (I'm in the process of doing this).
Re:Tell HN: GitHub now blocks aliased email addresses by cgb223 on Friday January 27, 2023 @02:57PM (#34550956)
Do you have to set up a new email address for each website you sign up for or do you have software that automatically handles it?

Sounds tedious if it’s the former

Re:Tell HN: GitHub now blocks aliased email addresses by geoah on Friday January 27, 2023 @03:22PM (#34551303)
1password started doing this with fastmail, ux is not great as it's not easy to create one manually in 1p but only when you're autocompleting your email on a site, but I guess it will improve over time. https://1password.com/fastmail/
Re:Tell HN: GitHub now blocks aliased email addresses by pilif on Friday January 27, 2023 @03:04PM (#34551086)
I use a catch all alias that maps all local parts to one account (unless a specific account or alias already exists)

Requires zero user action to make up an address

Re:Tell HN: GitHub now blocks aliased email addresses by user3939382 on Friday January 27, 2023 @03:03PM (#34551057)
I do this but it requires 0 setup, it's a feature in Fastmail.
Re:Tell HN: GitHub now blocks aliased email addresses by ortusdux on Friday January 27, 2023 @03:03PM (#34551058)
A catch-all that forwards to one account works very well.
Re:Tell HN: GitHub now blocks aliased email addresses by slenk on Friday January 27, 2023 @02:59PM (#34550979)
Just a curl command with mailcow-dockerized
Re:Tell HN: GitHub now blocks aliased email addresses by nobody9999 on Friday January 27, 2023 @06:11PM (#34553092)
>Sounds tedious if it’s the former

Thankfully it isn't.

To set a catchall with sendmail, add a line to /etc/mail/virtusertable like so:

   @domain.tld <emailaddress>
And if I decide to block a particular address, which I've only had to do with addresses set up for specific sites (which I've then decided sends me too many emails -- I've yet to receive spam that's not from the site in question), add a line to /etc/mail/access like so:

   To:<specificsite>@domain.tld error:5.1.1:"550 User unknown"
And that can be temporarily (or permanently) reversed by commenting it out. I imagine it's something similar for postfix, qmail, exim, etc.

Edit: I'd add that I make extensive use of folders/filters to handle email as well, so unless I don't want to use a site/service any more, I'll usually create a filter unless I don't want any more contact with a specific entity -- then it's "user unknown" for that email address.

Re:Tell HN: GitHub now blocks aliased email addresses by yunruse on Friday January 27, 2023 @03:53PM (#34551707)
I do this too, but with the domain name instead (eg [email protected]). That way anything that doesn’t pass the simple glob (.) gets filtered off to the admin account for later checking-over.
Re:Tell HN: GitHub now blocks aliased email addresses by Mountain_Skies on Friday January 27, 2023 @04:03PM (#34551836)
It's interesting to see who sold your email address by looking at the left side of the address. The most annoying one for me is that the email address I created for registering my transit pass was somehow passed along to a state political party, at which point it ended up on lots of political fundraising lists. Doubt the transit agency sold it to the political party, it was probably someone who worked for them who thought it would be good leads for their particular preferred party. At the other end of the spectrum was the place I used to get my hair cut selling (or losing through poor security) their email addresses to low quality spammer selling "Male performance enhancement" pills.

Most of the time, the email addresses only end up coming from the company they were given to, but a few hacks like LinkedIn continue to produce scams and spam emails.

Re:Tell HN: GitHub now blocks aliased email addresses by nieve on Saturday January 28, 2023 @01:24AM (#34555688)
I did this and heartily endorsed it up until the day I got 1.4 million spams in under 24 hours.