diff options
author | Andrew Lewis <nerf@judo.za.org> | 2016-09-27 15:28:25 +0200 |
---|---|---|
committer | Andrew Lewis <nerf@judo.za.org> | 2016-09-27 15:28:25 +0200 |
commit | 8f6dc30fef1f81d25f21342f08682653e8b16de2 (patch) | |
tree | 523fa4215f9d914c404ee23bed3f782a640e6fac /test/functional/cases | |
parent | 12c83b26cf7c382f3612102eb3d759d33a17c333 (diff) | |
download | rspamd-8f6dc30fef1f81d25f21342f08682653e8b16de2.tar.gz rspamd-8f6dc30fef1f81d25f21342f08682653e8b16de2.zip |
[Test] Extend SPF tests
Diffstat (limited to 'test/functional/cases')
-rw-r--r-- | test/functional/cases/115_dmarc.robot | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/test/functional/cases/115_dmarc.robot b/test/functional/cases/115_dmarc.robot index 289572992..583786e64 100644 --- a/test/functional/cases/115_dmarc.robot +++ b/test/functional/cases/115_dmarc.robot @@ -82,11 +82,21 @@ SPF DNSFAIL UNRESOLVEABLE INCLUDE ... -i 37.48.67.26 -F x@openarena.za.net Check Rspamc ${result} R_SPF_DNSFAIL +SPF DNSFAIL FAILED INCLUDE + ${result} = Scan Message With Rspamc ${TESTDIR}/messages/dmarc/bad_dkim1.eml + ... -i 8.8.8.8 -F x@fail2.org.org.za + Check Rspamc ${result} R_SPF_DNSFAIL + SPF ALLOW UNRESOLVEABLE INCLUDE ${result} = Scan Message With Rspamc ${TESTDIR}/messages/dmarc/bad_dkim1.eml ... -i 8.8.8.8 -F x@openarena.za.net Check Rspamc ${result} R_SPF_ALLOW +SPF ALLOW FAILED INCLUDE + ${result} = Scan Message With Rspamc ${TESTDIR}/messages/dmarc/bad_dkim1.eml + ... -i 8.8.4.4 -F x@fail2.org.org.za + Check Rspamc ${result} R_SPF_ALLOW + SPF NA NA ${result} = Scan Message With Rspamc ${TESTDIR}/messages/dmarc/bad_dkim1.eml ... -i 8.8.8.8 -F x@za @@ -107,6 +117,11 @@ SPF PERMFAIL UNRESOLVEABLE REDIRECT ... -i 8.8.8.8 -F x@cacophony.za.org Check Rspamc ${result} R_SPF_PERMFAIL +SPF DNSFAIL FAILED REDIRECT + ${result} = Scan Message With Rspamc ${TESTDIR}/messages/dmarc/bad_dkim1.eml + ... -i 8.8.8.8 -F x@fail1.org.org.za + Check Rspamc ${result} R_SPF_DNSFAIL + SPF PERMFAIL ${result} = Scan Message With Rspamc ${TESTDIR}/messages/dmarc/bad_dkim1.eml ... -i 8.8.8.8 -F x@xzghgh.za.org |