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.robot10
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