aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Lewis <nerf@judo.za.org>2017-09-08 20:51:25 +0200
committerAndrew Lewis <nerf@judo.za.org>2017-09-08 20:57:07 +0200
commitaaadc566eaa9b3dab24906200f8f730ff55185d4 (patch)
tree99f01ba5777c24a26f5a7cd97aa36f86f4eb7119
parent04aa4140dbaeee8c925d65d45419a2cd5023db87 (diff)
downloadrspamd-aaadc566eaa9b3dab24906200f8f730ff55185d4.tar.gz
rspamd-aaadc566eaa9b3dab24906200f8f730ff55185d4.zip
[Test] SPF PTR macro
-rw-r--r--test/functional/cases/115_dmarc.robot20
1 files changed, 20 insertions, 0 deletions
diff --git a/test/functional/cases/115_dmarc.robot b/test/functional/cases/115_dmarc.robot
index 4e504ebd0..222260717 100644
--- a/test/functional/cases/115_dmarc.robot
+++ b/test/functional/cases/115_dmarc.robot
@@ -189,6 +189,26 @@ SPF PASS INCLUDE
... -i 8.8.8.8 -F x@pass1.org.org.za
Check Rspamc ${result} R_SPF_ALLOW
+SPF PTRS
+ ${result} = Scan Message With Rspamc /dev/null
+ ... -i 88.99.142.95 -F foo@crazyspf.cacophony.za.org
+ Check Rspamc ${result} R_SPF_ALLOW
+ ${result} = Scan Message With Rspamc /dev/null
+ ... -i 128.66.0.1 -F foo@crazyspf.cacophony.za.org
+ Check Rspamc ${result} R_SPF_PERMFAIL
+ ${result} = Scan Message With Rspamc /dev/null
+ ... -i 209.85.216.182 -F foo@crazyspf.cacophony.za.org
+ Check Rspamc ${result} R_SPF_FAIL
+ ${result} = Scan Message With Rspamc /dev/null
+ ... -i 98.138.91.166 -F foo@crazyspf.cacophony.za.org
+ Check Rspamc ${result} R_SPF_ALLOW
+ ${result} = Scan Message With Rspamc /dev/null
+ ... -i 98.138.91.167 -F foo@crazyspf.cacophony.za.org
+ Check Rspamc ${result} R_SPF_ALLOW
+ ${result} = Scan Message With Rspamc /dev/null
+ ... -i 98.138.91.168 -F foo@crazyspf.cacophony.za.org
+ Check Rspamc ${result} R_SPF_ALLOW
+
*** Keywords ***
DMARC Setup
${PLUGIN_CONFIG} = Get File ${TESTDIR}/configs/dmarc.conf