Block top level domains with Roundcube

If you run a self-hosted mail server or are using an email service with Roundcube, there an effective way to stop most of your spam. That is to block top level domains in your filter settings.

Some spammers use the new top level domains to send out their massive amounts of spam. Because they are cheap. They rotate the domain names but keep using only a few top level domains. I stopped probably more than 80% of my spam by block top level domains.

If you read my previous article about Roundcube spam filter you are already familiar with how to block top level domains with Roundcube. It is almost the same as blocking domains.

How to Block top level domains

Enter your settings by clicking the settings button in Roundcube. You will find that in the top right corner after you logged in to Roundcube. As before click Filters, then managesiev and then your filter rules (if you made some). Or you can create a new filter set just for top level domains. There are a few things to remember when creating a filter set. So if you haven’t already, go back to my previous article.

We use “from” as we want to block emails “from” top level domains. Then we select “contains” as we want to block emails containing a string found in the domain names. One of the worst top level domains spammers use is “win”. So in the last field, you enter “.win”. Notice the dot before win. If you don’t put in the dot Roudcube will block all email addresses containing win. In the example this one: mail@windowstips.com. If you keep the dot before the top level domain name, only emails from the .win will be blocked.

Block top level domains

Block top level domains short list

Here is my list of the 7 worst top domain names you should block to stop most of your spam.

1. Win

2. Top

3. Stream

4. Trade

5. Loan

6. Bid

7. Club

And remember the dot before the name 🙂

This is Spamhaus statistics on top 10 worst top level domains for spammers. Not the same I got on my list. So your spam might come from other top level domains than my spam. You should find them easy enough.

Save your new filter setting, sit back and enjoy a much cleaner inbox.

Enjoy!

About Author

Related Posts

php8 gd

PHP8 gd Activate after installation

PHP8 GD activate after installation. GD doesn’t get activated by default. Not even a reboot after installation will activate it. So how do we do it? In…

Debian 12: linux-image-6.1.0-10amd64

Troubleshooting dependency issues in Debian 12: Resolving linux-image-6.1.0-10amd64 package dependency problems. If you installed the Debian 12 from the live image the issue is the raspi-firmware. Even…

4 Best Free Nas Software That Is Open Source

Free NAS software or operating systems that are free to use and will turn a computer into a NAS more advanced than the dedicated boxes sold. What…

Raspbian default password

Raspbian default password

Looking for the Raspbian default password? It is the most essential username and password that you will need for your raspberry. At least if you are running…

OpenMediaVault default password

OpenMediaVault default password

OpenMediaVault default password is printed in the documentation. I did not see it the first time I installed it either. So I had to do some detective…

Debian change dns

Debian change DNS settings to a new DNS

Debian change DNS settings for speed improvement or privacy. It is really easy to do. So let us see how it’s done and get to it. The…

Leave a Reply