aboutsummaryrefslogtreecommitdiffstats
path: root/test/functional/cases
diff options
context:
space:
mode:
authorkorgoth1 <vladislav.stakhov@gmail.com>2019-08-30 21:13:50 +0300
committerkorgoth1 <vladislav.stakhov@gmail.com>2019-08-30 21:13:50 +0300
commitb8f697f622858510630a086ca243f8c375ef3075 (patch)
tree44ede3a99a3956d875079c876eb5bb94b7473c00 /test/functional/cases
parent03677971af95908e7b6a7f961d310acd6688a70d (diff)
downloadrspamd-b8f697f622858510630a086ca243f8c375ef3075.tar.gz
rspamd-b8f697f622858510630a086ca243f8c375ef3075.zip
[Test] uribl in mail address html+txt
Diffstat (limited to 'test/functional/cases')
-rw-r--r--test/functional/cases/340_surbl.robot11
1 files changed, 10 insertions, 1 deletions
diff --git a/test/functional/cases/340_surbl.robot b/test/functional/cases/340_surbl.robot
index 58be332f8..d4bbc2848 100644
--- a/test/functional/cases/340_surbl.robot
+++ b/test/functional/cases/340_surbl.robot
@@ -60,7 +60,7 @@ SURBL Example.com domain image false
Should Not Contain ${result.stdout} DBL_PHISH (
Should Not Contain ${result.stdout} URIBL_BLACK (
-SURBL @example.com mail
+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
@@ -69,6 +69,15 @@ SURBL @example.com mail
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