aboutsummaryrefslogtreecommitdiffstats
path: root/test/functional
diff options
context:
space:
mode:
authorkorgoth1 <vladislav.stakhov@gmail.com>2020-01-10 18:42:35 +0300
committerkorgoth1 <vladislav.stakhov@gmail.com>2020-01-10 18:42:35 +0300
commit31dec457f2c1eca1d364fb22f170f218cd72c8ba (patch)
treed8bed52f00ce7493856001ba3cd5340bd159ec69 /test/functional
parentf2021a1f5138742f70599fc0df54b3b0a1b088c1 (diff)
parent0c25142d4274dc19e3ce92a2375492a23a31811a (diff)
downloadrspamd-31dec457f2c1eca1d364fb22f170f218cd72c8ba.tar.gz
rspamd-31dec457f2c1eca1d364fb22f170f218cd72c8ba.zip
[Test] SURBL resolve ip
Diffstat (limited to 'test/functional')
-rw-r--r--test/functional/cases/340_surbl.robot6
-rw-r--r--test/functional/configs/dmarc.conf4
2 files changed, 9 insertions, 1 deletions
diff --git a/test/functional/cases/340_surbl.robot b/test/functional/cases/340_surbl.robot
index 71bd4285a..962bd30f9 100644
--- a/test/functional/cases/340_surbl.robot
+++ b/test/functional/cases/340_surbl.robot
@@ -11,6 +11,12 @@ ${RSPAMD_SCOPE} Suite
${URL_TLD} ${TESTDIR}/../lua/unit/test_tld.dat
*** Test Cases ***
+SURBL resolve ip
+ ${result} = Scan Message With Rspamc ${TESTDIR}/messages/url7.eml
+ Should Contain ${result.stdout} URIBL_SBL_CSS (1.00)[example.ru
+ Should Contain ${result.stdout} URIBL_XBL (1.00)[example.ru
+ Should Contain ${result.stdout} URIBL_PBL (1.00)[example.ru
+
SURBL Example.com domain
${result} = Scan Message With Rspamc ${TESTDIR}/messages/url4.eml
Should Contain ${result.stdout} RSPAMD_URIBL
diff --git a/test/functional/configs/dmarc.conf b/test/functional/configs/dmarc.conf
index dac106cc2..644fff0d5 100644
--- a/test/functional/configs/dmarc.conf
+++ b/test/functional/configs/dmarc.conf
@@ -1,2 +1,4 @@
dmarc { }
-spf { } \ No newline at end of file
+spf {
+ external_relay = 192.168.1.1;
+} \ No newline at end of file