From 0621a8991f2aa270d335fafe83e9dca263672d0c Mon Sep 17 00:00:00 2001 From: Jeremy Harris Date: Thu, 26 Oct 2017 18:34:48 +0100 Subject: [PATCH 1/1] Testsuite: add missing testcase files --- test/log/4012 | 5 +++++ test/rejectlog/4012 | 12 ++++++++++++ test/stdout/4012 | 35 +++++++++++++++++++++++++++++++++++ 3 files changed, 52 insertions(+) create mode 100644 test/log/4012 create mode 100644 test/rejectlog/4012 create mode 100644 test/stdout/4012 diff --git a/test/log/4012 b/test/log/4012 new file mode 100644 index 000000000..4d602c230 --- /dev/null +++ b/test/log/4012 @@ -0,0 +1,5 @@ +1999-03-02 09:44:33 10HmaY-0005vi-00 <= CALLER@myhost.test.ex U=CALLER P=local-esmtp S=sss +1999-03-02 09:44:33 10HmaY-0005vi-00 => :blackhole: R=r +1999-03-02 09:44:33 10HmaY-0005vi-00 Completed +1999-03-02 09:44:33 10HmaX-0005vi-00 [127.0.0.1]:1111 malware_name wibble +1999-03-02 09:44:33 10HmaX-0005vi-00 U=CALLER F= rejected after DATA diff --git a/test/rejectlog/4012 b/test/rejectlog/4012 new file mode 100644 index 000000000..bd26ac2a4 --- /dev/null +++ b/test/rejectlog/4012 @@ -0,0 +1,12 @@ +1999-03-02 09:44:33 10HmaX-0005vi-00 U=CALLER F= rejected after DATA +Envelope-from: +Envelope-to: +P Received: from CALLER (helo=test.ex) + by myhost.test.ex with local-esmtp (Exim x.yz) + (envelope-from ) + id 10HmaX-0005vi-00 + for userx@test.ex; Tue, 2 Mar 1999 09:44:33 +0000 + Date: Tue, 2 Mar 1999 09:44:33 +0000 + Subject: message should be rejected +I Message-Id: +F From: CALLER_NAME diff --git a/test/stdout/4012 b/test/stdout/4012 new file mode 100644 index 000000000..fa6770563 --- /dev/null +++ b/test/stdout/4012 @@ -0,0 +1,35 @@ +220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000 +250-myhost.test.ex Hello CALLER at test.ex +250-SIZE 52428800 +250-8BITMIME +250-PIPELINING +250 HELP +250 OK +250 Accepted +354 Enter message, ending with "." on a line by itself +250 OK id=10HmaY-0005vi-00 +221 myhost.test.ex closing connection +220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000 +250-myhost.test.ex Hello CALLER at test.ex +250-SIZE 52428800 +250-8BITMIME +250-PIPELINING +250 HELP +250 OK +250 Accepted +354 Enter message, ending with "." on a line by itself +550 Administrative prohibition +221 myhost.test.ex closing connection + +******** SERVER ******** +Listening on port 1224 ... +Connection request from [IP_LOOPBACK_ADDR] +TESTSUITE/spool/scan/10HmaY-0005vi-00/10HmaY-0005vi-00.eml +>LF>RESULT: OK +End of script +Listening on port 1224 ... +Connection request from [IP_LOOPBACK_ADDR] +TESTSUITE/spool/scan/10HmaX-0005vi-00/10HmaX-0005vi-00.eml +>LF>RESULT: BAD +>LF>NAME: wibble +End of script -- 2.30.2