aboutsummaryrefslogtreecommitdiffstats
path: root/test/functional/cases/340_surbl.robot
diff options
context:
space:
mode:
authorkorgoth1 <vladislav.stakhov@gmail.com>2019-11-05 19:29:05 +0300
committerkorgoth1 <vladislav.stakhov@gmail.com>2019-11-05 19:29:05 +0300
commitbd1d6a278a614ea55d9439909acfefecce474b06 (patch)
tree2d96d6d26a8fbd0290418ff2f6fc93538cf33dbe /test/functional/cases/340_surbl.robot
parenta2af525bbd71f141eafadb78fa8ac8e76788bee6 (diff)
downloadrspamd-bd1d6a278a614ea55d9439909acfefecce474b06.tar.gz
rspamd-bd1d6a278a614ea55d9439909acfefecce474b06.zip
[Test] Surbl IDN + punycode
Diffstat (limited to 'test/functional/cases/340_surbl.robot')
-rw-r--r--test/functional/cases/340_surbl.robot16
1 files changed, 15 insertions, 1 deletions
diff --git a/test/functional/cases/340_surbl.robot b/test/functional/cases/340_surbl.robot
index 2531032b1..5137223bf 100644
--- a/test/functional/cases/340_surbl.robot
+++ b/test/functional/cases/340_surbl.robot
@@ -125,7 +125,21 @@ EMAILBL REPLY TO domain only
EMAILBL REPLY TO full subdomain adress
${result} = Scan Message With Rspamc ${TESTDIR}/messages/replytosubdomain.eml
Should Contain ${result.stdout} RSPAMD_EMAILBL_FULL (
- Should Not Contain ${result.stdout} RSPAMD_EMAILBL_DOMAINONLY (
+ Should Not Contain ${result.stdout} RSPAMD_EMAILBL_DOMAINONLY (
+
+SURBL IDN domain
+ ${result} = Scan Message With Rspamc ${TESTDIR}/messages/url8.eml
+ Should Contain ${result.stdout} RSPAMD_URIBL
+ Should Contain ${result.stdout} DBL_SPAM
+ Should Not Contain ${result.stdout} DBL_PHISH
+ Should Not Contain ${result.stdout} URIBL_BLACK
+
+SURBL IDN Punycode domain
+ ${result} = Scan Message With Rspamc ${TESTDIR}/messages/url9.eml
+ Should Contain ${result.stdout} RSPAMD_URIBL
+ Should Contain ${result.stdout} DBL_SPAM
+ Should Not Contain ${result.stdout} DBL_PHISH
+ Should Not Contain ${result.stdout} URIBL_BLACK
*** Keywords ***