X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/cb9d95aeae369ae85cd13473cda0bb3ae415fcb9..exim-4_85_RC1:/test/scripts/5400-cutthrough/5400?ds=inline diff --git a/test/scripts/5400-cutthrough/5400 b/test/scripts/5400-cutthrough/5400 index 843e24b30..3e56b43b8 100644 --- a/test/scripts/5400-cutthrough/5400 +++ b/test/scripts/5400-cutthrough/5400 @@ -18,10 +18,37 @@ QUIT **** exim -d-all+acl+transport -bs EHLO myhost.test.ex -MAIL FROM: +MAIL FROM: RCPT TO: DATA +. +QUIT +**** +# cutthrough_delivery into HELO-only server +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 **** @@ -54,11 +81,45 @@ QUIT **** exim -d-all+acl+transport -bs EHLO myhost.test.ex -MAIL FROM: +MAIL FROM: RCPT TO: -RCPT TO: +RCPT TO: +DATA + +. +QUIT +**** +sleep 1 +# +# +# +# +# +# cutthrough_delivery basic operation, again +server PORT_S +220 ESMTP +EHLO +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 +X-hdr-rtr: qqq +X-hdr-tpt: zzz +body . QUIT ****