summaryrefslogtreecommitdiffstats
path: root/test/functional/configs
diff options
context:
space:
mode:
authorAndrew Lewis <nerf@judo.za.org>2016-07-10 13:39:33 +0200
committerAndrew Lewis <nerf@judo.za.org>2016-07-10 13:39:33 +0200
commitf0349d47ad137f8d965377e2e037bff25e009f8b (patch)
treea99478f62bac7c0e5ffe6a9a847b47b7edc8d359 /test/functional/configs
parent14803e9faeefeee69e97902573f3e367ceaf9744 (diff)
downloadrspamd-f0349d47ad137f8d965377e2e037bff25e009f8b.tar.gz
rspamd-f0349d47ad137f8d965377e2e037bff25e009f8b.zip
[Test] Some basic functional tests for mime_types module & archives
- Also some new features for Check Rspamc function - Run rspamd/rspamc with LD_LIBRARY_PATH
Diffstat (limited to 'test/functional/configs')
-rw-r--r--test/functional/configs/plugins.conf38
1 files changed, 38 insertions, 0 deletions
diff --git a/test/functional/configs/plugins.conf b/test/functional/configs/plugins.conf
new file mode 100644
index 000000000..6eded737a
--- /dev/null
+++ b/test/functional/configs/plugins.conf
@@ -0,0 +1,38 @@
+options = {
+ 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
+}
+mime_types {
+ file = "${TESTDIR}/../../../conf/mime_types.inc";
+ extension_map {
+ html = "text/html";
+ txt [
+ "message/disposition-notification",
+ "text/plain",
+ "text/rfc822-headers",
+ ]
+ pdf [
+ "application/octet-stream",
+ "application/pdf",
+ ]
+ }
+}
+modules {
+ path = "${TESTDIR}/../../src/plugins/lua/"
+}