You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

proxy.conf 449B

1234567891011121314151617181920212223
  1. options = {
  2. filters = "spf"
  3. pidfile = "${TMPDIR}/rspamd.pid"
  4. dns {
  5. retransmits = 10;
  6. timeout = 2s;
  7. }
  8. }
  9. logging = {
  10. type = "file",
  11. level = "debug"
  12. filename = "${TMPDIR}/rspamd.log"
  13. }
  14. worker "rspamd_proxy" {
  15. bind_socket = "${LOCAL_ADDR}:${PORT_PROXY}";
  16. upstream {
  17. name = "${LOCAL_ADDR}";
  18. default = yes;
  19. hosts = "${LOCAL_ADDR}:${PORT_NORMAL}";
  20. }
  21. count = 1;
  22. }
  23. lua = "${TESTDIR}/lua/test_coverage.lua";