Bobcares

Custom Spam Filter with Rspamd in DirectAdmin – Install quickly

by | Jun 22, 2021

Wondering how to install Custom Spam Filter with Rspamd? We can help you.

As part of our Server Management Services, we assist our customers with several DirectAdmin queries.

Today, let us see how we can install Custom Spam Filter with Rspamd in DirectAdmin.

 

What is Rspamd?

Along with faster performance, Rspamd can process hundreds of email messages per second simultaneously while featuring a spam filtering engine.

In addition, it has a simple yet powerful web management interface to set metric actions, spam scores, etc. from within the DirectAdmin control panel.

 

Install Custom Spam Filter with Rspamd

Moving ahead, let us see how our Support Techs proceed with the installation.

Generally, we can find the custom spam filtering rule files in the local.d folder inside the main rspamd folder.

In order to navigate to the local.d folder, we use the following command:

cd /etc/rspamd/local.d

Then we proceed to download the custom spam filtering rule files from Github into the local.d folder using the following command:

wget https://raw.githubusercontent.com/mailbaby/rspamd-rules/main/local.d/fuzzy_check.conf && wget
https://raw.githubusercontent.com/mailbaby/rspamd-rules/main/local.d/fuzzy_group.conf && wget
https://raw.githubusercontent.com/mailbaby/rspamd-rules/main/local.d/multimap.conf && wget
https://raw.githubusercontent.com/mailbaby/rspamd-rules/main/local.d/rbl.conf && wget
https://raw.githubusercontent.com/mailbaby/rspamd-rules/main/local.d/rbl_group.conf

Once done, we rebuild Rspamd and the Exim configuration file using the following commands:

cd /usr/local/directadmin/custombuild
./build rspamd
./build exim_conf

Then we log in to the DirectAdmin dashboard and select the Rspamd Spam Filtering System icon under Admin Tools.

Once the Rspamd dashboard loads, we can now see Mailbaby listed under the Fuzzy Hashes section.

We can also adjust the scores we apply to each custom spam filtering rule we have just installed. To do so, we need to select Symbols from the toolbar and search for Mailbaby under the Symbols and Rules.

In addition, we can adjust the score we apply to each Interserver RBL in the Symbols dashboard > Interserver > Symbols and Rules.

By performing these steps we successfully add custom spam filtering rules to Rspamd to enable better spam email filtering and/or reduce false-positive rates.

[Need help with the installation? We’d be happy to help]

 

Conclusion

In short, we saw how our Support Techs install customer spam filters with Rspamd.

PREVENT YOUR SERVER FROM CRASHING!

Never again lose customers to poor server speed! Let us help you.

Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.

GET STARTED

var google_conversion_label = "owonCMyG5nEQ0aD71QM";

2 Comments

  1. Tom

    I performed the steps but when i try to access the rspamd dashboard i get en errror:

    {“error”:”An error occurred!”}

    Reply
    • Hiba Razak

      Hi,
      Please contact our support through live chat(click on the icon at right-bottom).

      Reply

Submit a Comment

Your email address will not be published. Required fields are marked *

Never again lose customers to poor
server speed! Let us help you.