]> source.dussan.org Git - rspamd.git/commitdiff
[Test] WHITELIST_SURBL 3032/head
authorkorgoth1 <vladislav.stakhov@gmail.com>
Mon, 9 Sep 2019 19:26:10 +0000 (22:26 +0300)
committerkorgoth1 <vladislav.stakhov@gmail.com>
Mon, 9 Sep 2019 19:26:10 +0000 (22:26 +0300)
1  2 
test/functional/cases/340_surbl.robot
test/functional/configs/plugins.conf

index ee80577cf219822fc5e263f921d927ef51b03f1f,a0cc4f9432ae68895293db112f271127be0ad2d9..4e1558ecd4d3b1bc6983975cd3666e762e320aa2
@@@ -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
index 839e142570bcbb499934b0fcfc19d25f351ee9ac,ac68ec5cbc3f477be0af760376c850fc0816f4a2..cb5d5060981cf5d3f289f67a09e7e376a9e2a5e1
@@@ -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;