aboutsummaryrefslogtreecommitdiffstats
path: root/test/functional/configs/whitelist.conf
diff options
context:
space:
mode:
authorAndrew Lewis <nerf@judo.za.org>2021-05-04 13:48:37 +0200
committerAndrew Lewis <nerf@judo.za.org>2021-05-04 13:48:37 +0200
commitdb4da2c22d159d1a6450b9447ad90e1795e5c535 (patch)
treee2c05c4e4d0668e02a7a5e2b279c5d76d1403b90 /test/functional/configs/whitelist.conf
parent6244d64b43baa240d63528849a7a47b3f32eccc3 (diff)
downloadrspamd-db4da2c22d159d1a6450b9447ad90e1795e5c535.tar.gz
rspamd-db4da2c22d159d1a6450b9447ad90e1795e5c535.zip
[Test] Use lupa for templating rspamd configs
Diffstat (limited to 'test/functional/configs/whitelist.conf')
-rw-r--r--test/functional/configs/whitelist.conf16
1 files changed, 9 insertions, 7 deletions
diff --git a/test/functional/configs/whitelist.conf b/test/functional/configs/whitelist.conf
index d7592fc35..db264aa42 100644
--- a/test/functional/configs/whitelist.conf
+++ b/test/functional/configs/whitelist.conf
@@ -1,3 +1,5 @@
+.include(duplicate=append,priority=0) "{= env.TESTDIR =}/configs/plugins.conf"
+
dmarc {}
spf {}
whitelist {
@@ -9,7 +11,7 @@ whitelist {
valid_dmarc = true;
valid_spf = true;
domains = [
- "${TESTDIR}/configs/maps/domains.list",
+ "{= env.TESTDIR =}/configs/maps/domains.list",
];
score = -3.0;
inverse_symbol = "BLACKLIST_DDS";
@@ -18,7 +20,7 @@ whitelist {
"WHITELIST_DKIM" = {
valid_dkim = true;
domains = [
- "${TESTDIR}/configs/maps/domains.list",
+ "{= env.TESTDIR =}/configs/maps/domains.list",
];
description = "Mail comes from the whitelisted domain and has a valid DKIM signature";
score = -1.0;
@@ -28,7 +30,7 @@ whitelist {
"WHITELIST_SPF" = {
valid_spf = true;
domains = [
- "${TESTDIR}/configs/maps/domains.list",
+ "{= env.TESTDIR =}/configs/maps/domains.list",
];
score = -1.0
inverse_multiplier = 3.0
@@ -40,7 +42,7 @@ whitelist {
valid_spf = true;
valid_dkim = true;
domains = [
- "${TESTDIR}/configs/maps/domains.list"
+ "{= env.TESTDIR =}/configs/maps/domains.list"
];
score = -3.0;
description = "Mail comes from the whitelisted domain and has a valid SPF policy and valid DKIM signature";
@@ -51,7 +53,7 @@ whitelist {
valid_dmarc = true;
valid_dkim = true;
domains = [
- "${TESTDIR}/configs/maps/domains.list",
+ "{= env.TESTDIR =}/configs/maps/domains.list",
];
score = -2.0;
description = "Mail comes from the whitelisted domain and has valid DMARC and DKIM policies";
@@ -61,7 +63,7 @@ whitelist {
"WHITELIST_DMARC" = {
valid_dmarc = true;
domains = [
- "${TESTDIR}/configs/maps/domains.list",
+ "{= env.TESTDIR =}/configs/maps/domains.list",
];
score = -2.0;
description = "Mail comes from the whitelisted domain and has valid DMARC policy";
@@ -72,7 +74,7 @@ whitelist {
strict = true;
valid_dmarc = true;
domains = [
- "${TESTDIR}/configs/maps/domains.list",
+ "{= env.TESTDIR =}/configs/maps/domains.list",
];
score = -3.0;
}