diff options
author | Jeremy Harris <jgh146exb@wizmail.org> | 2012-05-07 21:15:33 +0100 |
---|---|---|
committer | Jeremy Harris <jgh146exb@wizmail.org> | 2012-06-04 14:57:03 +0100 |
commit | 24f66b4d1c46e638edbd1af06d3705cf0767a3c7 (patch) | |
tree | b5836c1dc9ddc1d5017481aa27bbb1366ff0a7a9 /test/scripts | |
parent | 2e5b33cdf3591080e44862951f7c2ac9eced16de (diff) |
Add testcase for callout fallback from ESMTP to SMTP.
Diffstat (limited to 'test/scripts')
-rw-r--r-- | test/scripts/5400-cutthrough/5400 | 32 |
1 files changed, 31 insertions, 1 deletions
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 @@ -25,6 +25,35 @@ 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:<eximtest@myhost.test.ex> +RCPT TO:<userz@domain.com> +DATA + +. +QUIT +**** # cutthrough cancelled by multiple recipients server PORT_S 2 220 ESMTP @@ -56,9 +85,10 @@ exim -d-all+acl+transport -bs EHLO myhost.test.ex MAIL FROM:<eximtest@myhost.test.ex> RCPT TO:<usery@domain.com> -RCPT TO:<userz@domain.com> +RCPT TO:<userx@domain.com> DATA . QUIT **** +sleep 1 |