diff options
author | Andrew Lewis <nerf@judo.za.org> | 2016-09-22 11:55:07 +0200 |
---|---|---|
committer | Andrew Lewis <nerf@judo.za.org> | 2016-09-23 15:03:41 +0200 |
commit | baf74ba8c1f6bff834d93aaee9e6afd6b5c97aef (patch) | |
tree | d676e4da1b741f699a826782841f6fb542cacaae /test/functional/cases/115_dmarc.robot | |
parent | f880b3e10995c19029a61ac61f63497b96913316 (diff) | |
download | rspamd-baf74ba8c1f6bff834d93aaee9e6afd6b5c97aef.tar.gz rspamd-baf74ba8c1f6bff834d93aaee9e6afd6b5c97aef.zip |
[Feature] Add R_SPF_PERMFAIL symbol
- Also yield R_SPF_DNSFAIL on bogus redirect
- Also grow SPF tests
Diffstat (limited to 'test/functional/cases/115_dmarc.robot')
-rw-r--r-- | test/functional/cases/115_dmarc.robot | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/test/functional/cases/115_dmarc.robot b/test/functional/cases/115_dmarc.robot index 2f2c51aa5..82616c8f9 100644 --- a/test/functional/cases/115_dmarc.robot +++ b/test/functional/cases/115_dmarc.robot @@ -92,11 +92,26 @@ SPF NA NA ... -i 8.8.8.8 -F x@za Check Rspamc ${result} R_SPF_NA -SPF NA NXDOMAIN +SPF NA NOREC ${result} = Scan Message With Rspamc ${TESTDIR}/messages/dmarc/bad_dkim1.eml ... -i 8.8.8.8 -F x@co.za Check Rspamc ${result} R_SPF_NA +SPF NA NXDOMAIN + ${result} = Scan Message With Rspamc ${TESTDIR}/messages/dmarc/bad_dkim1.eml + ... -i 8.8.8.8 -F x@zzzzaaaa + Check Rspamc ${result} R_SPF_NA + +SPF DNSFAIL UNRESOLVEABLE REDIRECT + ${result} = Scan Message With Rspamc ${TESTDIR}/messages/dmarc/bad_dkim1.eml + ... -i 8.8.8.8 -F x@cacophony.za.org + 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 + Check Rspamc ${result} R_SPF_PERMFAIL + SPF FAIL ${result} = Scan Message With Rspamc ${TESTDIR}/messages/dmarc/bad_dkim1.eml ... -i 8.8.8.8 -F x@example.net |