aboutsummaryrefslogtreecommitdiffstats
path: root/test/functional/configs/multimap.conf
diff options
context:
space:
mode:
authorAndrew Lewis <nerf@judo.za.org>2017-12-08 15:40:21 +0200
committerAndrew Lewis <nerf@judo.za.org>2017-12-08 15:40:21 +0200
commit03cf7aff97c45a3fdbae75da0d7596cef9578a81 (patch)
treec6e6c356b44b8b78e44692d18c46d2ed13ca19fa /test/functional/configs/multimap.conf
parent09f3015da643b82e24b054f1704aa6783bfc79e8 (diff)
downloadrspamd-03cf7aff97c45a3fdbae75da0d7596cef9578a81.tar.gz
rspamd-03cf7aff97c45a3fdbae75da0d7596cef9578a81.zip
[Test] Redis key expansion & antivirus ordered patterns
Diffstat (limited to 'test/functional/configs/multimap.conf')
-rw-r--r--test/functional/configs/multimap.conf16
1 files changed, 16 insertions, 0 deletions
diff --git a/test/functional/configs/multimap.conf b/test/functional/configs/multimap.conf
index 1c262a287..28d84f38e 100644
--- a/test/functional/configs/multimap.conf
+++ b/test/functional/configs/multimap.conf
@@ -2,6 +2,7 @@ asn {
}
redis {
servers = "${REDIS_ADDR}:${REDIS_PORT}";
+ expand_keys = true;
}
multimap {
DNSBL_MAP {
@@ -65,6 +66,10 @@ multimap {
type = "hostname";
map = "redis://hostname";
}
+ REDIS_HOSTNAME_EXPANSION {
+ type = "hostname";
+ map = "redis://\${ip}.\${principal_recipient_domain}";
+ }
REDIS_IPADDR {
type = "ip";
map = "redis://ipaddr";
@@ -136,4 +141,15 @@ multimap {
type = "received";
map = "redis://RCVD_TEST";
}
+ RCVD_AUTHED_ONE {
+ type = "received";
+ map = "${TESTDIR}/configs/maps/rcvd2.list";
+ flags = ["authenticated"];
+ nflags = ["ssl"];
+ }
+ RCVD_AUTHED_TWO {
+ type = "received";
+ map = "${TESTDIR}/configs/maps/rcvd2.list";
+ flags = ["authenticated", "ssl"];
+ }
}