commit 0fd10b7: [Test] SPF PERMFAIL REDIRECT WITHOUT SPF
korgoth1
vladislav.stakhov at gmail.com
Thu Dec 5 19:56:07 UTC 2019
Author: korgoth1
Date: 2019-12-05 21:52:33 +0300
URL: https://github.com/rspamd/rspamd/commit/0fd10b75e3343a5b7ee0c6bb7845710363808dfa (refs/pull/3177/head)
[Test] SPF PERMFAIL REDIRECT WITHOUT SPF
---
test/functional/cases/117_spf.robot | 5 +++++
test/functional/messages/dmarc/{bad_dkim1.eml => bad_dkim4.eml} | 2 +-
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/test/functional/cases/117_spf.robot b/test/functional/cases/117_spf.robot
index 2ac6997b6..309a0aaef 100644
--- a/test/functional/cases/117_spf.robot
+++ b/test/functional/cases/117_spf.robot
@@ -122,6 +122,11 @@ SPF PTRS
#... -i 98.138.91.168 -F foo at crazyspf.cacophony.za.org
#Check Rspamc ${result} R_SPF_ALLOW
+SPF PERMFAIL REDIRECT WITHOUT SPF
+ ${result} = Scan Message With Rspamc ${TESTDIR}/messages/dmarc/bad_dkim4.eml
+ ... -i 192.0.2.1 -F a at fail1.org.org.za
+ Check Rspamc ${result} R_SPF_PERMFAIL
+
*** Keywords ***
SPF Setup
${PLUGIN_CONFIG} = Get File ${TESTDIR}/configs/dmarc.conf
diff --git a/test/functional/messages/dmarc/bad_dkim1.eml b/test/functional/messages/dmarc/bad_dkim4.eml
similarity index 94%
copy from test/functional/messages/dmarc/bad_dkim1.eml
copy to test/functional/messages/dmarc/bad_dkim4.eml
index 418368655..6d57aaf5b 100644
--- a/test/functional/messages/dmarc/bad_dkim1.eml
+++ b/test/functional/messages/dmarc/bad_dkim4.eml
@@ -1,6 +1,6 @@
Date: Tue, 09 Aug 2016 10:01:27 +0200
Message-ID: <20160809100127 at rspamd.tk>
-From: Rspamd <foo at cacophony.za.org>
+From: Rspamd <a at fail1.org.org.za>
To: foo at rspamd.tk
Subject: hello
Content-Type: text/plain; charset=utf-8; format=flowed; DelSp=Yes
More information about the Commits
mailing list