aboutsummaryrefslogtreecommitdiffstats
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.robot16
1 files changed, 16 insertions, 0 deletions
diff --git a/test/functional/cases/340_surbl.robot b/test/functional/cases/340_surbl.robot
index 4e1558ecd..87d02dd29 100644
--- a/test/functional/cases/340_surbl.robot
+++ b/test/functional/cases/340_surbl.robot
@@ -98,6 +98,22 @@ WHITELIST
Should Not Contain ${result.stdout} DBL_SPAM (
Should Not Contain ${result.stdout} RSPAMD_URIBL_IMAGES (
+EMAILBL full adress & domain only
+ ${result} = Scan Message With Rspamc ${TESTDIR}/messages/emailbltext.eml
+ Should Contain ${result.stdout} RSPAMD_EMAILBL_FULL (
+ Should Contain ${result.stdout} RSPAMD_EMAILBL_DOMAINONLY (
+
+EMAILBL REPLY TO full adress
+ ${result} = Scan Message With Rspamc ${TESTDIR}/messages/replyto.eml
+ Should Contain ${result.stdout} RSPAMD_EMAILBL_FULL (
+ Should Not Contain ${result.stdout} RSPAMD_EMAILBL_DOMAINONLY (
+
+EMAILBL REPLY TO domain only
+ ${result} = Scan Message With Rspamc ${TESTDIR}/messages/replyto2.eml
+ Should Contain ${result.stdout} RSPAMD_EMAILBL_DOMAINONLY (
+ Should Not Contain ${result.stdout} RSPAMD_EMAILBL_FULL (
+
+
*** Keywords ***
Surbl Setup
${PLUGIN_CONFIG} = Get File ${TESTDIR}/configs/surbl.conf