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.

password.conf 927B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. options = {
  2. filters = ["spf", "dkim", "regexp"]
  3. url_tld = "{= env.TESTDIR =}/../lua/unit/test_tld.dat"
  4. pidfile = "{= env.TMPDIR =}/rspamd.pid"
  5. dns {
  6. retransmits = 10;
  7. timeout = 2s;
  8. }
  9. }
  10. logging = {
  11. type = "file",
  12. level = "debug"
  13. filename = "{= env.TMPDIR =}/rspamd.log"
  14. }
  15. metric = {
  16. name = "default",
  17. actions = {
  18. reject = 100500,
  19. }
  20. unknown_weight = 1
  21. }
  22. worker {
  23. type = normal
  24. bind_socket = "{= env.LOCAL_ADDR =}:{= env.PORT_NORMAL =}"
  25. count = 1
  26. keypair {
  27. pubkey = "{= env.KEY_PUB1 =}";
  28. privkey = "{= env.KEY_PVT1 =}";
  29. }
  30. task_timeout = 60s;
  31. }
  32. worker {
  33. type = controller
  34. bind_socket = "{= env.LOCAL_ADDR =}:{= env.PORT_CONTROLLER =}"
  35. count = 1
  36. keypair {
  37. pubkey = "{= env.KEY_PUB1 =}";
  38. privkey = "{= env.KEY_PVT1 =}";
  39. }
  40. password = {= env.PASSWORD =};
  41. enable_password = {= env.ENABLE_PASSWORD =};
  42. stats_path = "{= env.TMPDIR =}/stats.ucl";
  43. }
  44. lua = "{= env.TESTDIR =}/lua/test_coverage.lua";