From 24f66b4d1c46e638edbd1af06d3705cf0767a3c7 Mon Sep 17 00:00:00 2001 From: Jeremy Harris Date: Mon, 7 May 2012 21:15:33 +0100 Subject: Add testcase for callout fallback from ESMTP to SMTP. --- test/scripts/5400-cutthrough/5400 | 32 +++++++++++++++++++++++++++++++- 1 file changed, 31 insertions(+), 1 deletion(-) (limited to 'test/scripts') diff --git a/test/scripts/5400-cutthrough/5400 b/test/scripts/5400-cutthrough/5400 index 843e24b30..ccf5e7429 100644 --- a/test/scripts/5400-cutthrough/5400 +++ b/test/scripts/5400-cutthrough/5400 @@ -22,6 +22,35 @@ MAIL FROM: RCPT TO: DATA +. +QUIT +**** +# cutthrough_delivery into HELO-only server +need_ipv4 +# +server PORT_S +220 SMTP only spoken here +EHLO +550 Not here, mate +HELO +250 OK +MAIL FROM: +250 Sender OK +RCPT TO: +250 Recipient OK +DATA +354 Send data +. +250 OK +QUIT +250 OK +**** +exim -d-all+acl+transport -bs +EHLO myhost.test.ex +MAIL FROM: +RCPT TO: +DATA + . QUIT **** @@ -56,9 +85,10 @@ exim -d-all+acl+transport -bs EHLO myhost.test.ex MAIL FROM: RCPT TO: -RCPT TO: +RCPT TO: DATA . QUIT **** +sleep 1 -- cgit v1.2.3