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