Hacker News new | ask | show | jobs
by kick 2501 days ago
Sending an email is absolutely a solved problem.

I can send a message to my address in 2020 using a 2003 Fedora Core 1 box without a domain using only what's part of the POSIX standard, and I'll receive it just fine.

I just did a few days ago, actually. It even got past my provider's spam filter.

I could probably have done it using earlier software than 2003-era mail/mailx, but that was the quickest way I could find to send an attachment given the software on hand.

4 comments

You can still do that.

However, I, as a receiver of email, get thousands of spam messages a day. So, I use services that block them before they even reach my view, or get sent directly to the spam folder.

If you want to send me an email, that's solved. If you want to send it to ten thousand people on your mailing list, and not have it end up in the spam folder, you may have more work.

This raises what's really the ultimate question, which is whether and how much individuals should be made to suffer so that advertisers can send spam. Certainly the recipients are not responsible for the advertisers' decisions to spam, or more charitably, to blur the lines. Yet it's individuals who pay, in this case literally, for the advertisers' privilege of spamming them. It's extremely fucked.
I think this is what happens in open systems. The alternative is walled gardens, like FB messages. Even those suffer from spam, although it's much less of the wild west.
The alternative is simple:

For stranger to stranger communication, both business and non-business set up a web form. With a challenge if needed.

For friend to friend communication, use email, friends' address in on a white list.

For business to consumer communication, white list is again used.

For spammer to anyone communication, including business lists that refuse to take you off, not on white list so doesn't get in. Bounce response with reason "non on white list"

It's a cultural change though: an email address won't get through unless you are unblocked, but technically easy.

What's the easy/low-friction way for Joe Random Consumer to manage their whitelists?

An email comes in from a sender address which isn't on the whitelist, but is (in fact) a friend. What's the handling?

An email comes in from a sender address which isn't on the whitelist, but is not (in fact) a friend. What's the handling?

Do I never hear from the first friend? Or do I get bombarded with "hey, read this email and see if the sender is a friend" a bunch of times?

I'm just shooting from the hip here, but I think it's:

Joe manages his whitelist through his mail provider's web UI. Many providers already use the address book as a whitelist; the only difference is they default to filtration instead of assuming spam.

Joe's friend's mail gets routed to the spam box. Joe's friend gets a bounce notification that says "To be added to Joe's whitelist, click here (and optionally solve a captcha/enter Joe's dog's name/submit a blood sample/deposit $0.25 worth of bitcoin into Joe's wallet)." Joe's friend clicks here, and Joe's mail provider adds Joe's friend to the whitelist and promotes the email to the inbox.

Joe's spammer gets the same message and disregards it. Their email stays in spam forever.

Joe's spam box gets bombarded with "hey, read this email and see if the sender is a friend" a bunch of times. He can trawl through them for actual friends if he wishes.

Fair game. You got me, I have no nice answer other than phone your friend. I'll stop digging. I'm not going to do what this guy did: https://news.ycombinator.com/item?id=16862739
A system with more inherent friction -- whether cognitive or social expectations -- will be out-optimized by one with less.
Actually I think individuals suffer so that less SPAM gets through. The SPAM is flowing regardless.
Please explain the difference to me. Mailgun is sending tons and tons of spam email; what is so special about them that they aren't ending up in people's spam/junk folders?
Mail providers like Mailgun live or die based on their reputation. If they as a sender get marked as spam by "The Algorithms", then their product is useless. They almost certainly respond to abuse reports quickly and have enough reputation, and enough legitimate clients, that they have "leeway". But that leeway isn't unlimited.

There was a big fit thrown on this website a year or two ago when one transactional mail provider (MailChimp?) said they were banning crypto companies with ICOs from their service. They literally put "ICOs are not welcome" in their Terms of Service. Why? Because first off, ICOs are scams. And that means they buy email lists, and then spam the shit out of people with "buy into our ICO!" emails, which get immediately shitcanned into the spam folder by 99.99% of users -- they're no different than Nigerian Princes, as far as most people care. That behavior tanks the reputation of the sender, and you cannot reason with The Algorithm once it "recognizes" you as spam. That kind of problem is not a minor inconvenience to companies like Mailgun, it's an existential threat.

They really care with their reputation on the line. Here for example is their response to the only complaint I've had to send Mailgun: "Thanks for sending this over. I was able to tie this sender to a compromised account, which has been disabled in our system to prevent further messages."

Pity we'll have to move off them. It was good while it lasted.

They probably send much, much more valid emails, respond quickly to abuse reports, and since they're large/known enough, they won't get blacklisted because that would be disruptive to large, legit business.
That cuts both ways.

You might miss something valuable. Perhaps from a long-lost relative. Or a prospective client or employer.

And once you're actually looking through the spam folder, what good is it really?

Sending at scale is the problem. A provider like Mailgun (aka an ESP), is a huge target for abuse. Free and low priced tiers are tricky since they need to draw in customers, but then get heavily abused.

tl;dr: Abuse ruins it for everyone.

I work on the filtering side of the world so I see a lot of the challenges that even purportedly good actors face. Each provider does better or worse at controlling abuse. These things all have a cost:

* IPs -- You need to send from a variety of IPs. They have warmup time before they can be safely used. One bad guy can burn that IP and everyone who shares. Most ESPs aren't going to have dedicated IPs for each (or those are for high tiers).

* Dmarc/dkim/spf -- Passing validation can be hard since it requires your client to work with you.

* Abuse reports -- Likely huge volume

* Bounces -- They can count against the customer. How much is OK (e.g. AWS SES will cut you off if your bounce rate gets too high)?

* Throwaway account abuse -- Huge issue, this threshold is a simple hammer (so now bad guys need ~10x more throwaway accounts).

* Account takeover -- That good guy is now sending out crap. Now what?

* Post-abuse cleanup -- Good luck going around and working with major providers to get yourself unblocked. Its a huge time sink.

By using Mailgun, etc all of the above becomes their problem. On top of it they'll offer analytics, help crafting content that works in varying mail clients, etc.

A small business type sender doesn't need much of this (other than maybe the technical help). But at some point, the scales tip.

^ Couldn't agree more, especially "Abuse ruins it for everyone."
> IPs -- You need to send from a variety of IPs. They have warmup time before they can be safely used. One bad guy can burn that IP and everyone who shares. Most ESPs aren't going to have dedicated IPs for each (or those are for high tiers).

I'm curious, is that specific to IPv4 or you see the same phenomenon with IPv6 where providers allocate /64 or /48 to customers? Or there simply isn't enough sending volume from IPv6 at the moment to warrant specific filtering?

It’s mostly IPv4. The volume over v6 isn’t there.

Blocking via IP on V6 is tricky since it’s not clear what a safe/useful block range would be.

You are right, most VPS provider for instance, don't give just one IPv6, but a full range. One might be able to implement a spamming server with rotating IPv6.

Spamhaus has released a "blocking strategy" for IPv6 to exactly address this issue: https://www.spamhaus.org/news/article/668/spamhaus-releases-...

Most ISPs block SMTP traffic, which creates a pretty significant barrier to sending email. Even VPS services send through a secret gateways with all sorts of filters and controls on it.
You're both right, but you're solving different problems. Just because your message got past your spam filter doesn't mean it would get past all spam filters.
It is absolutely not. Even if you are not considering the whole spam thing.

They specified that it wasn't even if you could ignore the spam issue. I said that it was if you ignored the spam issue. The first post in this thread was "We've made sending electronic mail way too complicated under the guise of fighting spam."

I'm aware that it won't get past every spam filter, but it gets past both Gmail's and my own provider (a smaller, non-American one), which is good enough for my own use. My claim was that sending electronic mail is a solved problem, because it is.

Similarly, talking is a solved problem. Talking, so that people will listen, is not.

Communication is much more than just broadcasting, just as email is about more than sending emails.

> My claim was that sending electronic mail is a solved problem, because it is.

Agreed. I mean, I can _probably_ remember enough to be able to send mail using just telnet without even needing to look anything up. (And that mail, without any mime parts or urls - it very very likely to not fall into any of the spam filtering on my inbound email accounts...)

In the modern era, lots of mailservers run software that looks for weirdnesses in incoming email. I don't know, but I'd suspect that the typing delays of using telnet to send mail are likely to trigger their defenses.
SO I just tested. After working out that on macOS I now need to use nc -c instead of telnet... I _can_ send mail manually, but it _does_ end up in gmails's spam folder saying "Why is this message in spam? It is similar to messages that were identified as spam in the past."

  Iain-2:~ iain$ nc -c gmail-smtp-in.l.google.com 25
  220 mx.google.com ESMTP k5si5682618pls.209 - gsmtp
  EHLO elided.org
  250-mx.google.com at your service, [202.171.181.100]
  250-SIZE 157286400
  250-8BITMIME
  250-STARTTLS
  250-ENHANCEDSTATUSCODES
  250-PIPELINING
  250-CHUNKING
  250 SMTPUTF8
  MAIL FROM: <bigiain@elided.org>
  250 2.1.0 OK k5si5682618pls.209 - gsmtp
  RCPT TO: <bigiain@gmail.com>
  250 2.1.5 OK k5si5682618pls.209 - gsmtp
  DATA
  354  Go ahead k5si5682618pls.209 - gsmtp
  Subject: Test
  From: bigiain@elided.org
  To: bigiain@gmail.com
  Date: Fri, 31 Jan 2020 13:07:00 +1100
  
  Foo baz nah
  
  .
  
  250 2.0.0 OK  1580436443 k5si5682618pls.209 - gsmtp
  QUIT
  221 2.0.0 closing connection k5si5682618pls.209 - gsmtp
  Iain-2:~ iain$
I wonder why google treats this simple email as spam. It contains nothing that should trigger the spam filter aside from where it came from.
Some years ago I wrote my email in a forum, available to crawlers. I’ve been getting spam ever since.