diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-10 21:30:40 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-10 21:30:40 +0000 |
commit | 133a45c109da5310add55824db21af5239951f93 (patch) | |
tree | ba6ac4c0a950a0dda56451944315d66409923918 /interface/README.md | |
parent | Initial commit. (diff) | |
download | rspamd-133a45c109da5310add55824db21af5239951f93.tar.xz rspamd-133a45c109da5310add55824db21af5239951f93.zip |
Adding upstream version 3.8.1.upstream/3.8.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | interface/README.md | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/interface/README.md b/interface/README.md new file mode 100644 index 0000000..a56aa66 --- /dev/null +++ b/interface/README.md @@ -0,0 +1,51 @@ +# Rspamd web interface + +## Overview + +This is a simple control interface for rspamd spam filtering system. +It provides basic functions for setting metric actions, scores, +viewing statistic and learning. + +<img src="https://rspamd.com/img/webui.png" class="img-responsive" alt="Webui screenshot"> +<img src="https://rspamd.com/img/webui_throughput.png" class="img-responsive" alt="Webui screenshot"> + +## Rspamd setup + +It is required to configure dynamic settings to store configured values. +Basically this can be done by providing the following line in options settings: + +~~~ucl +options { + dynamic_conf = "/var/lib/rspamd/rspamd_dynamic"; +} +~~~ + +Please note that this path must have write access for rspamd user. + +Then controller worker should be configured: + +~~~ucl +worker { + type = "controller"; + bind_socket = "localhost:11334"; + count = 1; + # Password for normal commands (use rspamadm pw) + password = "$2$anydoddx67ggcs74owybhcwqsq3z67q4$udympbo8pfcfqkeiiuj7gegabk5jpt8edmhseujhar9ooyuzig5b"; + # Password for privileged commands (use rspamadm pw) + enable_password = "$2$nx6sqkxtewx9c5s3hxjmabaxdcr46pk9$45qajkbyqx77abapiqugpjpsojj38zcqn7xnp3ekqyu674koux4b"; + # Path to webiu static files + static_dir = "${WWWDIR}"; +} +~~~ + +Password option should be changed for sure for your specific configuration. Encrypted password using is encouraged (`rspamadm pw --encrypt`). + +## Interface setup + +Interface itself is written in pure HTML5/js and, hence, it requires zero setup. +Just enter a password for webui access and you are ready. + +## Contact information + +Rspamd interface is distributed under the terms of [MIT license](http://opensource.org/licenses/MIT). For all questions related to this +product please see the [support page](https://rspamd.com/support.html) |