LinuxCommandLibrary

rspamd

TLDR

Start Rspamd

$ rspamd
copy
Start with config file
$ rspamd -c [/etc/rspamd/rspamd.conf]
copy
Test mode
$ rspamd -t
copy
Foreground mode
$ rspamd -f
copy
Start via systemd
$ sudo systemctl start rspamd
copy

SYNOPSIS

rspamd [options]

DESCRIPTION

Rspamd is a fast, free spam filtering system written in C. It uses machine learning, neural networks, and various rules to identify spam with high accuracy and low resource usage.

PARAMETERS

-c, --config file

Configuration file.
-f, --no-fork
Run in foreground.
-t, --test-config
Test configuration.
-u, --user user
Run as user.
-g, --group group
Run as group.

EXAMPLES

$ # Start daemon
rspamd

# Test configuration
rspamd -t

# Via systemctl
sudo systemctl start rspamd
sudo systemctl enable rspamd

# Check message
rspamc < message.eml

# Check message with details
rspamc -v < message.eml

# Web interface (default)
# http://localhost:11334/
copy

CONFIGURATION

$ /etc/rspamd/rspamd.conf     - Main config
/etc/rspamd/local.d/        - Local overrides
/etc/rspamd/override.d/     - Full overrides
copy

PORTS

$ 11333 - Worker (milter)
11334 - Web interface
11335 - Controller
copy

CAVEATS

Configure milter integration with MTA. Train Bayes for best results. Web UI password in worker-controller.inc.

HISTORY

Rspamd was created by Vsevolod Stakhov starting in 2008 as a fast, extensible spam filtering system.

SEE ALSO

Copied to clipboard