aboutsummaryrefslogtreecommitdiffstats
path: root/test/functional/configs
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rspamd.com>2022-12-03 13:36:17 +0000
committerVsevolod Stakhov <vsevolod@rspamd.com>2022-12-03 13:36:17 +0000
commitaa2b1b4ef6ca76b816c451401f5b35bf830652f3 (patch)
treea82b79f864ccca764c806bc8eb77935585c2078f /test/functional/configs
parent9da50fb4607d7d8fc62a6ea2aeb8203f6714b001 (diff)
downloadrspamd-aa2b1b4ef6ca76b816c451401f5b35bf830652f3.tar.gz
rspamd-aa2b1b4ef6ca76b816c451401f5b35bf830652f3.zip
[Test] Add external map test for multimap
Diffstat (limited to 'test/functional/configs')
-rw-r--r--test/functional/configs/merged-override.conf10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/functional/configs/merged-override.conf b/test/functional/configs/merged-override.conf
index d25cce27b..b589e7da9 100644
--- a/test/functional/configs/merged-override.conf
+++ b/test/functional/configs/merged-override.conf
@@ -237,6 +237,16 @@ multimap {
}
expression = "from || ip"
}
+
+ EXTERNAL_MULTIMAP {
+ type = "hostname";
+ filter = "top";
+ map = {
+ external = true;
+ backend = "http://127.0.0.1:18080/map-query",
+ method = "query",
+ }
+ }
}
rbl {