Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

password.conf 818B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. options = {
  2. filters = ["spf", "dkim", "regexp"]
  3. url_tld = "${TESTDIR}/../lua/unit/test_tld.dat"
  4. pidfile = "${TMPDIR}/rspamd.pid"
  5. dns {
  6. retransmits = 10;
  7. timeout = 2s;
  8. }
  9. }
  10. logging = {
  11. type = "file",
  12. level = "debug"
  13. filename = "${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 = ${LOCAL_ADDR}:${PORT_NORMAL}
  25. count = 1
  26. keypair {
  27. pubkey = "${KEY_PUB1}";
  28. privkey = "${KEY_PVT1}";
  29. }
  30. task_timeout = 60s;
  31. }
  32. worker {
  33. type = controller
  34. bind_socket = ${LOCAL_ADDR}:${PORT_CONTROLLER}
  35. count = 1
  36. keypair {
  37. pubkey = "${KEY_PUB1}";
  38. privkey = "${KEY_PVT1}";
  39. }
  40. password = ${PASSWORD};
  41. enable_password = ${ENABLE_PASSWORD};
  42. stats_path = "${TMPDIR}/stats.ucl";
  43. }
  44. lua = "${TESTDIR}/lua/test_coverage.lua";