Debian Codegraph @

test/functional/configs/password.conf

raw
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 = 2;
7 }
8 }
9 logging = {
10 type = "file",
11 level = "debug"
12 filename = "{= env.TMPDIR =}/rspamd.log"
13 }
14 metric = {
15 name = "default",
16 actions = {
17 reject = 100500,
18 }
19 unknown_weight = 1
20 }
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";