From: korgoth1 Date: Fri, 10 Jan 2020 15:42:35 +0000 (+0300) Subject: [Test] SURBL resolve ip X-Git-Tag: 2.3~124^2~2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=31dec457f2c1eca1d364fb22f170f218cd72c8ba;p=rspamd.git [Test] SURBL resolve ip --- 31dec457f2c1eca1d364fb22f170f218cd72c8ba diff --cc test/functional/cases/340_surbl.robot index 71bd4285a,71bd4285a..962bd30f9 --- a/test/functional/cases/340_surbl.robot +++ b/test/functional/cases/340_surbl.robot @@@ -11,6 -11,6 +11,12 @@@ ${RSPAMD_SCOPE} Suit ${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 --cc test/functional/configs/dmarc.conf index dac106cc2,08a542c70..644fff0d5 --- a/test/functional/configs/dmarc.conf +++ b/test/functional/configs/dmarc.conf @@@ -1,2 -1,4 +1,4 @@@ dmarc { } - spf { } + spf { - external_relay = 192.168.1.1; ++ external_relay = 192.168.1.1; + }