Debian Codegraph @

test/functional/configs/lua_test.conf

raw
1 options = {
2 filters = ["spf", "dkim", "regexp"]
3 url_tld = "{= env.URL_TLD =}"
4 pidfile = "{= env.TMPDIR =}/rspamd.pid"
5 map_watch_interval = {= env.MAP_WATCH_INTERVAL =};
6 dns {
7 retransmits = 2;
8 fake_records = [{
9 name = "example.com",
10 type = "a";
11 replies = ["93.184.216.34"];
12 }, {
13 name = "site.resolveme",
14 type = "a";
15 replies = ["127.0.0.1"];
16 }, {
17 name = "not-resolvable.com",
18 type = "a";
19 rcode = 'norec';
20 }]
21 }
22 }
23 logging = {
24 type = "file",
25 level = "debug"
26 filename = "{= env.TMPDIR =}/rspamd.log"
27 log_usec = true;
28 }
29 metric = {
30 name = "default",
31 actions = {
32 reject = 100500,
33 }
34 unknown_weight = 1
35 }
36
37 worker {
38 type = normal
39 bind_socket = "{= env.LOCAL_ADDR =}:{= env.PORT_NORMAL =}"
40 count = 1
41 task_timeout = 10s;
42 }
43 worker {
44 type = controller
45 bind_socket = "{= env.LOCAL_ADDR =}:{= env.PORT_CONTROLLER =}"
46 count = 1
47 secure_ip = ["127.0.0.1", "::1"];
48 stats_path = "{= env.TMPDIR =}/stats.ucl"
49 }
50 lua = "{= env.TESTDIR =}/lua/test_coverage.lua";
51 lua = "{= env.LUA_SCRIPT =}";