From 743c4c9f5a8ecd10fb91fff283d949ca9d12e2fb Mon Sep 17 00:00:00 2001 From: Jeremy Harris Date: Tue, 2 Jan 2018 19:57:15 +0000 Subject: Testsuite: SPF testcases. Bug 1789 --- test/log/4600 | 12 ++++++++++++ test/log/4601 | 5 +++++ 2 files changed, 17 insertions(+) create mode 100644 test/log/4600 create mode 100644 test/log/4601 (limited to 'test/log') diff --git a/test/log/4600 b/test/log/4600 new file mode 100644 index 000000000..9c07c1791 --- /dev/null +++ b/test/log/4600 @@ -0,0 +1,12 @@ + +******** SERVER ******** +1999-03-02 09:44:33 exim x.yz daemon started: pid=pppp, no queue runs, listening for SMTP on port 1225 +1999-03-02 09:44:33 spf_result fail +1999-03-02 09:44:33 spf_header_comment myhost.test.ex: domain of example.com does not designate ip4.ip4.ip4.ip4 as permitted sender +1999-03-02 09:44:33 spf_smtp_comment Please see http://www.openspf.org/Why?id=a%40example.com&ip=ip4.ip4.ip4.ip4&receiver=myhost.test.ex : Reason: mechanism +1999-03-02 09:44:33 spf_received Received-SPF: fail (myhost.test.ex: domain of example.com does not designate ip4.ip4.ip4.ip4 as permitted sender) client-ip=ip4.ip4.ip4.ip4; envelope-from=a@example.com; helo=testclient; +1999-03-02 09:44:33 H=(testclient) [ip4.ip4.ip4.ip4] F= rejected RCPT +1999-03-02 09:44:33 spf_result pass +1999-03-02 09:44:33 spf_header_comment myhost.test.ex: localhost is always allowed. +1999-03-02 09:44:33 spf_smtp_comment +1999-03-02 09:44:33 spf_received Received-SPF: pass (myhost.test.ex: localhost is always allowed.) client-ip=127.0.0.1; envelope-from=b@example.com; helo=testclient; diff --git a/test/log/4601 b/test/log/4601 new file mode 100644 index 000000000..e874ff17e --- /dev/null +++ b/test/log/4601 @@ -0,0 +1,5 @@ + +******** SERVER ******** +1999-03-02 09:44:33 exim x.yz daemon started: pid=pppp, no queue runs, listening for SMTP on port 1225 +1999-03-02 09:44:33 a@example.com [ip4.ip4.ip4.ip4] lookup: 'fail' +1999-03-02 09:44:33 b@example.com [127.0.0.1] lookup: 'pass' -- cgit v1.2.3