aboutsummaryrefslogtreecommitdiffstats
path: root/test/functional
diff options
context:
space:
mode:
authorAndrew Lewis <nerf@judo.za.org>2020-10-14 16:08:55 +0200
committerAndrew Lewis <nerf@judo.za.org>2020-10-14 16:08:55 +0200
commit1b473398a40b09d1ffc2a648b138081a4be06953 (patch)
treea378a0fe56e441dc760751e26923602845520d09 /test/functional
parentea6b7cea9d8909a7f161ae477b254dbe1a89b6d4 (diff)
downloadrspamd-1b473398a40b09d1ffc2a648b138081a4be06953.tar.gz
rspamd-1b473398a40b09d1ffc2a648b138081a4be06953.zip
[Fix] RBL: allow for multiple matches of the same label if types are different
- Also log full hostname in case of unknown result
Diffstat (limited to 'test/functional')
-rw-r--r--test/functional/cases/300_rbl.robot5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/functional/cases/300_rbl.robot b/test/functional/cases/300_rbl.robot
index 17fd4f19c..55f46e5fd 100644
--- a/test/functional/cases/300_rbl.robot
+++ b/test/functional/cases/300_rbl.robot
@@ -64,6 +64,11 @@ SELECTORS
Expect Symbol With Option RBL_SELECTOR_MULTIPLE example.com:sel_from
Expect Symbol With Option RBL_SELECTOR_MULTIPLE example.org:sel_helo
+SELECTORS COMBINED
+ Scan File ${TESTDIR}/messages/btc.eml From=user@example.org Helo=example.org
+ Expect Symbol With Option RBL_SELECTOR_MULTIPLE example.org:sel_from
+ Expect Symbol With Option RBL_SELECTOR_MULTIPLE example.org:sel_helo
+
*** Keywords ***
Rbl Setup
${PLUGIN_CONFIG} = Get File ${TESTDIR}/configs/rbl.conf