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 584B

1234567891011121314151617181920212223242526
  1. options = {
  2. filters = ["spf", "dkim", "regexp"]
  3. url_tld = "${URL_TLD}"
  4. pidfile = "${TMPDIR}/rspamd.pid"
  5. lua_path = "${INSTALLROOT}/share/rspamd/lib/?.lua"
  6. dns {
  7. nameserver = ["8.8.8.8", "8.8.4.4"];
  8. retransmits = 10;
  9. timeout = 2s;
  10. }
  11. }
  12. logging = {
  13. type = "file",
  14. level = "debug"
  15. filename = "${TMPDIR}/rspamd.log"
  16. }
  17. worker "rspamd_proxy" {
  18. bind_socket = "${LOCAL_ADDR}:${PORT_PROXY}";
  19. upstream {
  20. name = "${LOCAL_ADDR}";
  21. default = yes;
  22. hosts = "${LOCAL_ADDR}:${PORT_NORMAL}";
  23. }
  24. count = 1;
  25. }
  26. lua = "${TESTDIR}/lua/test_coverage.lua";