]> source.dussan.org Git - rspamd.git/commitdiff
[Test] SURBL resolve ip
authorkorgoth1 <vladislav.stakhov@gmail.com>
Fri, 10 Jan 2020 15:42:35 +0000 (18:42 +0300)
committerkorgoth1 <vladislav.stakhov@gmail.com>
Fri, 10 Jan 2020 15:42:35 +0000 (18:42 +0300)
1  2 
test/functional/cases/340_surbl.robot
test/functional/configs/dmarc.conf

index 71bd4285ac805992cfd058723d9dfdc5725ee058,71bd4285ac805992cfd058723d9dfdc5725ee058..962bd30f9729223074a4f204cc0f215cd52d0e85
@@@ -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
index dac106cc220624f7a1736eab45729876e4245c59,08a542c70c9a4ea8827e129531a1005524812ef0..644fff0d50a70a015f3281d2cbadf6fa50e98595
@@@ -1,2 -1,4 +1,4 @@@
  dmarc { }
- spf { }
+ spf {
 -      external_relay = 192.168.1.1;
++              external_relay = 192.168.1.1;
+ }