aboutsummaryrefslogtreecommitdiffstats
path: root/test/functional/cases/115_dmarc.robot
diff options
context:
space:
mode:
Diffstat (limited to 'test/functional/cases/115_dmarc.robot')
-rw-r--r--test/functional/cases/115_dmarc.robot17
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