123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- options = {
- filters = ["spf", "dkim", "regexp"]
- url_tld = "${TESTDIR}/../lua/unit/test_tld.dat"
- pidfile = "${TMPDIR}/rspamd.pid"
- dns {
- retransmits = 10;
- timeout = 2s;
- }
- }
- logging = {
- type = "file",
- level = "debug"
- filename = "${TMPDIR}/rspamd.log"
- }
- metric = {
- name = "default",
- actions = {
- reject = 100500,
- }
- unknown_weight = 1
- }
-
- worker {
- type = normal
- bind_socket = ${LOCAL_ADDR}:${PORT_NORMAL}
- count = 1
- keypair {
- pubkey = "${KEY_PUB1}";
- privkey = "${KEY_PVT1}";
- }
- task_timeout = 60s;
- }
- worker {
- type = controller
- bind_socket = ${LOCAL_ADDR}:${PORT_CONTROLLER}
- count = 1
- keypair {
- pubkey = "${KEY_PUB1}";
- privkey = "${KEY_PVT1}";
- }
- password = ${PASSWORD};
- enable_password = ${ENABLE_PASSWORD};
- stats_path = "${TMPDIR}/stats.ucl";
- }
- lua = "${TESTDIR}/lua/test_coverage.lua";
|