diff options
author | Andrew Lewis <nerf@judo.za.org> | 2016-10-06 11:19:11 +0200 |
---|---|---|
committer | Andrew Lewis <nerf@judo.za.org> | 2016-10-06 11:19:11 +0200 |
commit | 07ce6c516a1d0b8a6d81697f3a9f93ea81878786 (patch) | |
tree | a5197c0527012bf6d4fca24414c97e69f0e9ea0f /test | |
parent | dac58faa8449758b07b5f8c6705a1afa33ec3619 (diff) | |
download | rspamd-07ce6c516a1d0b8a6d81697f3a9f93ea81878786.tar.gz rspamd-07ce6c516a1d0b8a6d81697f3a9f93ea81878786.zip |
[Test] More testcases for SPF
Diffstat (limited to 'test')
-rw-r--r-- | test/functional/cases/115_dmarc.robot | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/functional/cases/115_dmarc.robot b/test/functional/cases/115_dmarc.robot index 04ba5823d..0bf680ebb 100644 --- a/test/functional/cases/115_dmarc.robot +++ b/test/functional/cases/115_dmarc.robot @@ -139,6 +139,11 @@ SPF PERMFAIL UNRESOLVEABLE REDIRECT ... -i 8.8.8.8 -F x@fail4.org.org.za Check Rspamc ${result} R_SPF_PERMFAIL +SPF REDIRECT NO USEABLE ELEMENTS + ${result} = Scan Message With Rspamc ${TESTDIR}/messages/dmarc/bad_dkim1.eml + ... -i 8.8.8.8 -F x@fail10.org.org.za + 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 @@ -179,6 +184,11 @@ SPF DNSFAIL FAILED RECORD ... -i 1.2.3.4 -F x@www.dnssec-failed.org Check Rspamc ${result} R_SPF_DNSFAIL +SPF PASS INCLUDE + ${result} = Scan Message With Rspamc ${TESTDIR}/messages/dmarc/bad_dkim1.eml + ... -i 8.8.8.8 -F x@pass1.org.org.za + Check Rspamc ${result} R_SPF_ALLOW + *** Keywords *** DMARC Setup ${PLUGIN_CONFIG} = Get File ${TESTDIR}/configs/dmarc.conf |