From: korgoth1 Date: Mon, 9 Sep 2019 19:26:10 +0000 (+0300) Subject: [Test] WHITELIST_SURBL X-Git-Tag: 2.0~231^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=805b573ad13ace5ca7b9b57ad1ad5047fc269825;p=rspamd.git [Test] WHITELIST_SURBL --- 805b573ad13ace5ca7b9b57ad1ad5047fc269825 diff --cc test/functional/cases/340_surbl.robot index ee80577cf,a0cc4f943..4e1558ecd --- a/test/functional/cases/340_surbl.robot +++ b/test/functional/cases/340_surbl.robot @@@ -92,11 -92,6 +92,12 @@@ SURBL example.com encoded url in subjec Should Not Contain ${result.stdout} DBL_PHISH ( Should Not Contain ${result.stdout} URIBL_BLACK ( +WHITELIST + ${result} = Scan Message With Rspamc ${TESTDIR}/messages/whitelist.eml + Should Not Contain ${result.stdout} RSPAMD_URIBL ( + Should Not Contain ${result.stdout} DBL_SPAM ( ++ Should Not Contain ${result.stdout} RSPAMD_URIBL_IMAGES ( + *** Keywords *** Surbl Setup ${PLUGIN_CONFIG} = Get File ${TESTDIR}/configs/surbl.conf diff --cc test/functional/configs/plugins.conf index 839e14257,ac68ec5cb..cb5d50609 --- a/test/functional/configs/plugins.conf +++ b/test/functional/configs/plugins.conf @@@ -579,16 -579,6 +579,16 @@@ options = type = a; replies = ["127.0.0.4", "127.0.0.11"]; }, + { - name = "rspamd-test.com.test.uribl"; ++ name = "uppht14nj4fsoycu3huctg9d5psx9je4.test.uribl"; + type = a; + replies = ["127.0.0.2"]; + }, + { + name = "rspamd-test.com.test2.uribl"; + type = a; + replies = ["127.0.1.2"]; + }, { name = "9.8.8.8.test4.uribl"; type = a;