diff options
Diffstat (limited to 'test/functional/configs/password.conf')
-rw-r--r-- | test/functional/configs/password.conf | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/test/functional/configs/password.conf b/test/functional/configs/password.conf new file mode 100644 index 000000000..96688e996 --- /dev/null +++ b/test/functional/configs/password.conf @@ -0,0 +1,38 @@ +options = { + filters = ["spf", "dkim", "regexp"] + url_tld = "${TESTDIR}/../lua/unit/test_tld.dat" + pidfile = "${TMPDIR}/rspamd.pid" +} +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}"; + } +} +worker { + type = controller + bind_socket = ${LOCAL_ADDR}:${PORT_CONTROLLER} + count = 1 + keypair { + pubkey = "${KEY_PUB1}"; + privkey = "${KEY_PVT1}"; + } + password = ${PASSWORD}; + enable_password = ${ENABLE_PASSWORD}; +}
\ No newline at end of file |