]> source.dussan.org Git - rspamd.git/commitdiff
[Test] SPF for relay
authorkorgoth1 <vladislav.stakhov@gmail.com>
Fri, 6 Dec 2019 19:55:51 +0000 (22:55 +0300)
committerkorgoth1 <vladislav.stakhov@gmail.com>
Fri, 6 Dec 2019 19:55:51 +0000 (22:55 +0300)
1  2 
test/functional/cases/117_spf.robot

index 99e50075b11be3b696002cb19f1feac99685807f,bfb56065f5cd05a5c3770571d33dfda6addec931..7e1f80f2491a35bea34069222789da09f108bec5
@@@ -125,13 -125,8 +125,13 @@@ SPF PTR
  SPF PERMFAIL REDIRECT WITHOUT SPF
    ${result} =  Scan Message With Rspamc  ${TESTDIR}/messages/dmarc/bad_dkim4.eml
    ...  -i  192.0.2.1  -F  a@fail1.org.org.za
-   Check Rspamc  ${result}  R_SPF_PERMFAIL
+   Check Rspamc  ${result}  R_SPF_DNSFAIL
  
 +SPF EXTERNAL RELAY
 +  ${result} =  Scan Message With Rspamc  ${TESTDIR}/messages/external_relay.eml
 +  ...  -F  root@trusted.client
 +  Check Rspamc  ${result}  R_SPF_PERMFAIL
 +
  *** Keywords ***
  SPF Setup
    ${PLUGIN_CONFIG} =  Get File  ${TESTDIR}/configs/dmarc.conf