fbpx
Black Friday limited time 25% of on our life-time plans using code: LMT25
  • 00Days
  • 00Hours
  • 00Minutes
  • 00Seconds
Search
Close this search box.

How to Access RSPAMD GUI on CyberPanel

Table of Contents

Get up to 50% off now

Become a partner with CyberPanel and gain access to an incredible offer of up to 50% off on CyberPanel add-ons. Plus, as a partner, you’ll also benefit from comprehensive marketing support and a whole lot more. Join us on this journey today!

RSPAMD is a powerful open source spam filtering system written in C++. You can easily install and configure RSPAMD using CyberPanel, in this guide we will set up RSPAMD GUI.

What is RSPAMD and how it works?

Rspamd is an advanced spam filtering system that offers many different ways to filter messages, including regular expressions and statistical analysis. Each message is analyzed by rspamd and given a spam score.

The MTA then takes this information into account when deciding what action to take on the message-for example, to pass or reject. Rspamd is designed to process thousands of messages per second simultaneously. You can watch the following introduction video from FOSDEM-2016 where I describe the main features of rspamd and explain why it runs so fast.

Step 1: Install RSPAMD on your server

In order to access the RSPAMD GUI in your CyberPanel, you first have to install RSPAMD.

Check RSPAMD Status

You can check if RSPAMD GUI is accessible after installing RSPAMD using the commands below.

Tech Delivered to Your Inbox!

Get exclusive access to all things tech-savvy, and be the first to receive 

the latest updates directly in your inbox.

Run systemctl status rspamd or use netstat -tulpn | grep 11 on command line, you should see something like this

127.0.0.1:11332         0.0.0.0:*               LISTEN      138428/rspamd: main

127.0.0.1:11333         0.0.0.0:*               LISTEN      138428/rspamd: main

127.0.0.1:11334           0.0.0.0:*               LISTEN      138428/rspamd: main

The last line with port 11334 is RSPAMD GUI port.

Step 2: Configure RSPAMD GUI on Public IP. 

By default, RSPAM is only accessible on localhost. We will bind it to server public IP so that it can be accessed from anywhere.

  • Open the SSH terminal
  • Use “nano /etc/rspamd/rspamd.conf” command to alter

    (change local host ip “127.0.0.1:11334” to “0.0.0.0:11334” in “worker controller” block)
  •  or (You can also change this through SFTP by editing in rspamd.conf)

Once file is edited again run systemctl restart rspamd so that changes are applied.

Now again use “systemctl status rspamd” command, and you will see that RSPAMD is now available on public IP.


It shows RSPAMD is now accessible through any IP.

Step 3: Configure Web Proxy in OpenLiteSpeed

We need to set up proxy in OpenLiteSpeed webadmin so that we can create a proxy and then direct traffic to this proxy.

To access webadmin you can follow webadmin guide

Go to ->Server Configuration->External App-add new External Application

Enhance Your CyerPanel Experience Today!
Discover a world of enhanced features and show your support for our ongoing development with CyberPanel add-ons. Elevate your experience today!

Fill the required fields.

  • Name->  “rspamd”
  • Address->  “<yourserverip>:11334” (rspamd is listen on 11334 port)
  • Max connection
  • Initial Request timeout
  • Retry Timeout
  • Response Buffering
rspamd gui

Once done, save and restart.

Step 4: Redirect traffic of website to RSPAMD GUI using Rewrite Rules

Now Open the Site at which you want to access RSPAMD. Go to List Websites -> Manage ->Rewrite Rules


Use following Rewrite rules

RewriteEngine On
REWRITERULE ^rspamd(.*)$ HTTP://rspamd/$1 [P]

Access Rspamd

Finally you can access RSPAMD at <example.com>/rspamd/.

Shoaib Khan
Unlock Benefits

Become a Community Member

SIMPLIFY SETUP, MAXIMIZE EFFICIENCY!
Setting up CyberPanel is a breeze. We’ll handle the installation so you can concentrate on your website. Start now for a secure, stable, and blazing-fast performance!