aboutsummaryrefslogtreecommitdiffstats
path: root/test/functional/configs
diff options
context:
space:
mode:
authorAndrew Lewis <nerf@judo.za.org>2024-07-30 14:37:13 +0200
committerAndrew Lewis <nerf@judo.za.org>2024-07-30 16:15:36 +0200
commit2adcd0a6f7318d62871727c866aad5640e552e70 (patch)
treec7d04d0d906dd6ec040199471c9205508eb769bd /test/functional/configs
parent0b547ff8e801979b2f1ea42b1b686476f10341cf (diff)
downloadrspamd-2adcd0a6f7318d62871727c866aad5640e552e70.tar.gz
rspamd-2adcd0a6f7318d62871727c866aad5640e552e70.zip
[Test] Add tests for milter_headers
Diffstat (limited to 'test/functional/configs')
-rw-r--r--test/functional/configs/milter_headers.conf15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/functional/configs/milter_headers.conf b/test/functional/configs/milter_headers.conf
new file mode 100644
index 000000000..0787e9463
--- /dev/null
+++ b/test/functional/configs/milter_headers.conf
@@ -0,0 +1,15 @@
+lua = "{= env.TESTDIR =}/lua/simple.lua"
+
+.include(duplicate=append,priority=0) "{= env.TESTDIR =}/configs/plugins.conf"
+
+milter_headers {
+
+ use = ["x-virus"];
+
+ routines {
+ x-virus {
+ symbols = ["SIMPLE_TEST"];
+ }
+ }
+
+}