summaryrefslogtreecommitdiff
path: root/test/stdout
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2012-05-07 21:15:33 +0100
committerJeremy Harris <jgh146exb@wizmail.org>2012-06-04 14:57:03 +0100
commit24f66b4d1c46e638edbd1af06d3705cf0767a3c7 (patch)
treeb5836c1dc9ddc1d5017481aa27bbb1366ff0a7a9 /test/stdout
parent2e5b33cdf3591080e44862951f7c2ac9eced16de (diff)
Add testcase for callout fallback from ESMTP to SMTP.
Diffstat (limited to 'test/stdout')
-rw-r--r--test/stdout/540046
1 files changed, 42 insertions, 4 deletions
diff --git a/test/stdout/5400 b/test/stdout/5400
index b8cd59af3..74c2d2358 100644
--- a/test/stdout/5400
+++ b/test/stdout/5400
@@ -17,10 +17,21 @@
250 HELP
250 OK
250 Accepted
-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 myhost.test.ex
+250-SIZE 52428800
+250-8BITMIME
+250-PIPELINING
+250 HELP
+250 OK
+250 Accepted
+250 Accepted
+354 Enter message, ending with "." on a line by itself
+250 OK id=10HmaZ-0005vi-00
+221 myhost.test.ex closing connection
******** SERVER ********
Listening on port 1224 ...
@@ -50,6 +61,33 @@ QUIT
End of script
Listening on port 1224 ...
Connection request from [ip4.ip4.ip4.ip4]
+220 SMTP only spoken here
+EHLO myhost.test.ex
+550 Not here, mate
+HELO myhost.test.ex
+250 OK
+MAIL FROM:<CALLER@myhost.test.ex>
+250 Sender OK
+RCPT TO:<userz@domain.com>
+250 Recipient OK
+DATA
+354 Send data
+Received: from CALLER (helo=myhost.test.ex)
+ by myhost.test.ex with local-esmtp (Exim x.yz)
+ (envelope-from <CALLER@myhost.test.ex>)
+ id 10HmaY-0005vi-00
+ for userz@domain.com; Tue, 2 Mar 1999 09:44:33 +0000
+Message-Id: <E10HmaY-0005vi-00@myhost.test.ex>
+From: CALLER_NAME <CALLER@myhost.test.ex>
+Date: Tue, 2 Mar 1999 09:44:33 +0000
+
+.
+250 OK
+QUIT
+250 OK
+End of script
+Listening on port 1224 ...
+Connection request from [ip4.ip4.ip4.ip4]
220 ESMTP
EHLO myhost.test.ex
250 OK
@@ -68,15 +106,15 @@ MAIL FROM:<CALLER@myhost.test.ex>
250 Sender OK
RCPT TO:<usery@domain.com>
250 Recipient OK
-RCPT TO:<userz@domain.com>
+RCPT TO:<userx@domain.com>
250 Recipient OK
DATA
354 Send data
Received: from CALLER (helo=myhost.test.ex)
by myhost.test.ex with local-esmtp (Exim x.yz)
(envelope-from <CALLER@myhost.test.ex>)
- id 10HmaY-0005vi-00; Tue, 2 Mar 1999 09:44:33 +0000
-Message-Id: <E10HmaY-0005vi-00@myhost.test.ex>
+ id 10HmaZ-0005vi-00; Tue, 2 Mar 1999 09:44:33 +0000
+Message-Id: <E10HmaZ-0005vi-00@myhost.test.ex>
From: CALLER_NAME <CALLER@myhost.test.ex>
Date: Tue, 2 Mar 1999 09:44:33 +0000