rspamd UI password configurable via web interface now

Dieser Commit ist enthalten in:
Michael Kuron 2018-01-14 12:33:36 +01:00 committet von GitHub
Ursprung a2dfa70a29
Commit d3826ca15b
Es konnte kein GPG-SchlĂĽssel zu dieser Signatur gefunden werden
GPG-SchlĂĽssel-ID: 4AEE18F83AFDEB23

Datei anzeigen

@ -1,20 +1,3 @@
At first you may want to setup Rspamds web interface which provides some useful features and information. At first you may want to set up Rspamd's web interface, which provides some useful features and information.
In the Mailcow web admin interface, go to the Debug page and set the Rspamd UI password.
1\. Generate a Rspamd controller password hash: Then open https://${MAILCOW_HOSTNAME}/rspamd in a browser and log in!
```
docker-compose exec rspamd-mailcow rspamadm pw
```
2\. Save your newly-generated hash by adding the following line to `data/conf/rspamd/override.d/worker-controller.custom.inc`:
```
enable_password = "myhash";
```
You can use `password = "myhash";` instead of `enable_password` to disable write-access in the web UI.
3\. Restart rspamd:
```
docker-compose restart rspamd-mailcow
```
Open https://${MAILCOW_HOSTNAME}/rspamd in a browser and login!