aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/functional/cases/001_merged/117_spf.robot6
-rw-r--r--test/functional/configs/merged-local.conf5
2 files changed, 11 insertions, 0 deletions
diff --git a/test/functional/cases/001_merged/117_spf.robot b/test/functional/cases/001_merged/117_spf.robot
index dda35f671..a8b35a8c9 100644
--- a/test/functional/cases/001_merged/117_spf.robot
+++ b/test/functional/cases/001_merged/117_spf.robot
@@ -155,3 +155,9 @@ SPF UPPERCASE
... IP=8.8.8.8 From=x@fail11.org.org.za
... Settings=${SETTINGS_SPF}
Expect Symbol R_SPF_ALLOW
+
+SPF PLUSALL
+ Scan File ${RSPAMD_TESTDIR}/messages/dmarc/bad_dkim1.eml
+ ... IP=8.8.8.8 From=x@plusall.com
+ ... Settings=${SETTINGS_SPF}
+ Expect Symbol R_SPF_PLUSALL
diff --git a/test/functional/configs/merged-local.conf b/test/functional/configs/merged-local.conf
index 75b9f0554..2d914b075 100644
--- a/test/functional/configs/merged-local.conf
+++ b/test/functional/configs/merged-local.conf
@@ -229,6 +229,11 @@ options = {
replies = ["v=spf1 -all"];
},
{
+ name = "plusall.com",
+ type = "txt";
+ replies = ["v=spf1 +all"];
+ },
+ {
name = "fail4.org.org.za",
type = "txt";
replies = ["v=spf1 redirect=asdfsfewewrredfs"];