Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

8 лет назад
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. #Rspamd web interface
  2. ##Overview.
  3. This is a simple control interface for rspamd spam filtering system.
  4. It provides basic functions for setting metric actions, scores,
  5. viewing statistic and learning.
  6. <img src="https://rspamd.com/img/webui.png" class="img-responsive" alt="Webui screenshot">
  7. ##Rspamd setup.
  8. It is required to configure dynamic settings to store configured values.
  9. Basically this can be done by providing the following line in options settings:
  10. ~~~nginx
  11. options {
  12. dynamic_conf = "/var/lib/rspamd/rspamd_dynamic";
  13. }
  14. ~~~
  15. Please note that this path must have write access for rspamd user.
  16. Then controller worker should be configured:
  17. ~~~nginx
  18. worker {
  19. type = "controller";
  20. bind_socket = "localhost:11334";
  21. count = 1;
  22. # Password for normal commands
  23. password = "q1";
  24. # Password for privilleged commands
  25. enable_password = "q2";
  26. # Path to webiu static files
  27. static_dir = "${WWWDIR}";
  28. }
  29. ~~~
  30. Password option should be changed for sure for your specific configuration. Encrypted password using is encouraged (`rspamadm pw --encrypt`).
  31. ##Interface setup.
  32. Interface itself is written in pure HTML5/js and, hence, it requires zero setup.
  33. Just enter a password for webui access and you are ready.
  34. ##Contact information.
  35. Rspamd interface is distributed under the terms of [MIT license](http://opensource.org/licenses/MIT). For all questions related to this
  36. product please see the [support page](https://rspamd.com/support.html)