aboutsummaryrefslogtreecommitdiffstats
path: root/test/functional/configs/plugins.conf
diff options
context:
space:
mode:
Diffstat (limited to 'test/functional/configs/plugins.conf')
-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/"
+}