commit 5058771: [Test] SPF uppercase elements
korgoth1
vladislav.stakhov at gmail.com
Mon Dec 30 12:14:06 UTC 2019
Author: korgoth1
Date: 2019-12-29 17:41:29 +0300
URL: https://github.com/rspamd/rspamd/commit/5058771790f18b38c19a8f20fcd54a431b816419 (refs/pull/3201/head)
[Test] SPF uppercase elements
---
test/functional/cases/117_spf.robot | 5 +++++
test/functional/configs/plugins.conf | 5 +++++
2 files changed, 10 insertions(+)
diff --git a/test/functional/cases/117_spf.robot b/test/functional/cases/117_spf.robot
index 59f2667cd..08733471b 100644
--- a/test/functional/cases/117_spf.robot
+++ b/test/functional/cases/117_spf.robot
@@ -131,6 +131,11 @@ SPF EXTERNAL RELAY
${result} = Scan Message With Rspamc ${TESTDIR}/messages/external_relay.eml
Should contain ${result.stdout} R_SPF_ALLOW (1.00)[+ip4:37.48.67.26]
+SPF UPPERCASE
+ ${result} = Scan Message With Rspamc ${TESTDIR}/messages/dmarc/bad_dkim1.eml
+ ... -i 8.8.8.8 -F x at fail11.org.org.za
+ Check Rspamc ${result} R_SPF_ALLOW
+
*** Keywords ***
SPF Setup
${PLUGIN_CONFIG} = Get File ${TESTDIR}/configs/dmarc.conf
diff --git a/test/functional/configs/plugins.conf b/test/functional/configs/plugins.conf
index b55f3a35c..025f6c55f 100644
--- a/test/functional/configs/plugins.conf
+++ b/test/functional/configs/plugins.conf
@@ -208,6 +208,11 @@ options = {
type = "txt";
replies = ["v=spf1 redirect=fail5.org.org.za"];
},
+ {
+ name = "fail11.org.org.za",
+ type = "txt";
+ replies = ["v=sPF1 ip4:8.8.8.8 -all"];
+ },
{
name = "fail5.org.org.za",
type = "txt";
More information about the Commits
mailing list