summaryrefslogtreecommitdiffstats
path: root/test/functional/cases/340_surbl.robot
diff options
context:
space:
mode:
Diffstat (limited to 'test/functional/cases/340_surbl.robot')
-rw-r--r--test/functional/cases/340_surbl.robot18
1 files changed, 18 insertions, 0 deletions
diff --git a/test/functional/cases/340_surbl.robot b/test/functional/cases/340_surbl.robot
index a533afdf5..d4bbc2848 100644
--- a/test/functional/cases/340_surbl.robot
+++ b/test/functional/cases/340_surbl.robot
@@ -60,6 +60,24 @@ SURBL Example.com domain image false
Should Not Contain ${result.stdout} DBL_PHISH (
Should Not Contain ${result.stdout} URIBL_BLACK (
+SURBL @example.com mail html
+ ${result} = Scan Message With Rspamc ${TESTDIR}/messages/mailadr.eml
+ Should Contain ${result.stdout} URIBL_IN_MAIL (
+ Should Not Contain ${result.stdout} RSPAMD_URIBL
+ Should Not Contain ${result.stdout} DBL_SPAM (
+ Should Not Contain ${result.stdout} RSPAMD_URIBL (
+ Should Not Contain ${result.stdout} DBL_PHISH (
+ Should Not Contain ${result.stdout} URIBL_BLACK (
+
+SURBL @example.com mail text
+ ${result} = Scan Message With Rspamc ${TESTDIR}/messages/mailadr2.eml
+ Should Contain ${result.stdout} URIBL_IN_MAIL (
+ Should Not Contain ${result.stdout} RSPAMD_URIBL
+ Should Not Contain ${result.stdout} DBL_SPAM (
+ Should Not Contain ${result.stdout} RSPAMD_URIBL (
+ Should Not Contain ${result.stdout} DBL_PHISH (
+ Should Not Contain ${result.stdout} URIBL_BLACK (
+
*** Keywords ***
Surbl Setup
${PLUGIN_CONFIG} = Get File ${TESTDIR}/configs/surbl.conf