diff options
author | Andrew Lewis <nerf@judo.za.org> | 2024-07-30 14:37:13 +0200 |
---|---|---|
committer | Andrew Lewis <nerf@judo.za.org> | 2024-07-30 16:15:36 +0200 |
commit | 2adcd0a6f7318d62871727c866aad5640e552e70 (patch) | |
tree | c7d04d0d906dd6ec040199471c9205508eb769bd /test/functional/configs | |
parent | 0b547ff8e801979b2f1ea42b1b686476f10341cf (diff) | |
download | rspamd-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.conf | 15 |
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"]; + } + } + +} |