Honest question: Is there any reason to not just blacklist all emails from TLDs that aren't the Big Four (.com, .net, .org, .gov) and country TLDs (eg: .co.uk, .jp, etc.)?
I can't recall ever needing, let alone wanting, email from the later TLDs like .biz or any of the bloody stupid new TLDs that comprise entire words.
> Honest question: Is there any reason to not just blacklist all emails from TLDs that aren't the Big Four (.com, .net, .org, .gov) and country TLDs (eg: .co.uk, .jp, etc.)?
I typically register both a new TLD and a .com, and I use the .com for the email campaigns and reply-to
if it gets flagged that doesnt affect my more official one-to-one emails from the actual domain
so I would say, maybe? because I’m not allergic to “bloody stupid” TLD’s and have already adapted to what you’re wondering about
And you left out dot-edu.
And I get a fair bit of ham from other weird TLDs. So I think a whitelist is a bad idea. But that's because I prefer to have some spam get through than have ham get blocked by mistake. Even with my very sloppy algorithm, the only time spam ends up in my inbox is if a spammer spoofs one of my contacts, and that is extremely rare.
This is useful so password resets, banking notices, etc don't get held up just because you recently flushed your whitelist, which is a good idea to do regularly. Likewise, it helps with senders (looking at you, American Express!) who redeliver from different origin addresses. Doesn't help for a sender with whom you don't regularly communicate, but I can't remember the last time I was on a phone call and had to awkwardly tell someone that their e-mail message will take at least 5+ minutes to get through.
Other than greylisting and RBLs, I don't have a sophisticated anti-spam setup. But I don't get much more unsolicited spam than any GMail account I've ever used (for work, etc). I do get more spam generally, but that's because I've had the same address for decades and use it for various paid services (past and present) which continually bombard me with notices, offers, and alerts; its a chore to maintain opt-out status, when that even works. Most malicious spam is blocked by greylisting or RBLs, with the caveat that GMail is one of the biggest senders of malicious spam and thus readily bypass greylisting and RBLs.
Anything that reaches addresses that you don't use gets marked as spam.
Common prefixes will work for cases where they're guessing your address, and hidden mailto links will cover situations where they're scraping your webpage.
'top','tv','biz','rocks','ru','science','bid','date','casa','buzz','work'
I have no idea how blocking TLDs of entire countries with hundreds of millions of citizens can be considered a valid anti-spam advice.
Just like the parent comment explained, you are actively pushing all of those people into the hands of Gmail (or Yandex in this case).
$35/year. That's not too bad. Compare to e.g. https://tld-list.com/tld/protection
So... my apologies to the 12,000 residents of Tuvalu. I'm sorry to have to block you all, but for some reason your country code attracts spammers like flies to honey.
It is very different if you offer it as a service to other people, or if you do it for yourself.
If you are doing it for yourself you know if you expect emails from country X or not. And if things change and suddenly you have a pen pal from there you can change your filters easily. So you can live with such simplifying assumptions.
If you are providing email services to masses of other people then you can’t make these assumptions of course. You have to use more sophisticated means then.
These things just get thrown in the large pot of heuristics.
Nowadays (irony of ironies!) most inbound spam is from gmail.
Do tell me more about this wonderful new method of spam filtering with absolutely no bigotry.
Just imagine the racket if Gmail would start de-prioritizing email from Alaska or Hawaii because, in their experience, that's a large source of spam. If might even be true, so what? That's the exact thing racists say, racism works: we found the guy suspicious because no black people live around these parts, so we knew he was up to no good.
you're making comparisons here that are so disjointed it's not even apples and oranges... it's more like apples and rocks...
this thread grew outta the spam filter setup of someone hosting their own email server. bringing gmail into this and talking about how they'd have a PR nightmare if they screw with hawaii doesn't work. yeah, they both send/receive email, that doesn't mean they're comparable in the way you're tryna say... i mean, apples and rocks are both round sometimes, but you wouldn't try comparing how they taste, right?
As someone who was on the receiving end of the "Romanian users have nothing to say to my users and postmastars there can't even RFC" blackholes, trying to get legitimate email delivered while respecting all the rules of the internet, I can only say that whomever thinks like that is an idiot and a bigot. Unfortunately, there are many such idiots on the internet at large, and the aggregate effect is that only large sites like Gmail can maintain good deliverability, which was the subject all along.
The poster you’re replying to is talking about their filtering method for their own email. Presumably they know if they expect to ever receive an email from a given country.
Otherwise, let's hypothetically say you have a friend named "jacob peter" who really likes his initials (and doesn't understand the topic of this discussion), so he registers somewhere in Japan that lets him have dot-JP as his TLD. The only hypothetical way he knows to contact you is via your email server (let's also assume he doesn't do stuff like social media, phones, etc., so he can't find any other way and you have no way to contact him). If you have hypothetically preemptively blacklisted all of Asia's TLDs, then you'd never talk to him again for as long as you live, right?
Since he’s not real I don’t know if that’s a good thing or a bad thing. Maybe he’s kind of a dick.
In many years of doing this at work I think we've had to manually whitelist three domains (our corporate travel provider started sending from a .travel domain instead of their .com without telling us they would make that change...). I don't have numbers handy but it significantly reduced our junkmail intake.
There's always some mail that gets blocked, of course, but it's a relatively rare occurrence.
Maybe in your case something that allows users to view and release their own quarantined mail [1] coupled with a healthy dose of training on spotting malicious emails and so on?
[1] e.g. this sort of thing https://community.spiceworks.com/topic/2474067-office-365-by... - not endorsing M365, just as an example.
What tools are you using to implement the controls you describe above?
I was planning to build a pretty sophisticated bayesian filter on top of that but it turned out to be unnecessary. The strategy I ended up with, which has served me well for many years now, is:
1. Block a small number of extremely spammy TLDs. There are about a dozen of these, including .biz, .casa, etc.
2. Anything received from someone I've sent mail to, or a sender I've previously marked as good, is assumed good.
3. Anything received from an address whose name contains an English word on a relatively short list of spammy words (discount, offer, etc.) is assumed spam.
4. Anything received from an address that I have received email from before and not marked as good is assumed spam.
That leaves emails from addresses that are sending me email for the first time. These are overwhelmingly spam, but after the four filters above there are few enough of these that I just scan them manually once a day or so.
The real key here is treating the first email from any given address as essentially a "contact request" with the default action being "deny in the future". That just turns out empirically to work incredibly well. More than 90% of my spam is from repeat offenders.