X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/528fde2aff25fbe284332ad2ec4b8cb5fc8c7859..9d6bb16d6af8c4d2c5e2f58d2a6983c03600c35a:/test/scripts/5400-cutthrough/5400 diff --git a/test/scripts/5400-cutthrough/5400 b/test/scripts/5400-cutthrough/5400 index 4aa332b86..56d6fec77 100644 --- a/test/scripts/5400-cutthrough/5400 +++ b/test/scripts/5400-cutthrough/5400 @@ -3,7 +3,7 @@ need_ipv4 # server PORT_S 220 ESMTP -HELO +EHLO 250 OK MAIL FROM: 250 Sender OK @@ -18,17 +18,46 @@ 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 +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 **** # cutthrough cancelled by multiple recipients server PORT_S 2 220 ESMTP -HELO +EHLO 250 OK MAIL FROM: 250 Sender OK @@ -54,11 +83,12 @@ QUIT **** exim -d-all+acl+transport -bs EHLO myhost.test.ex -MAIL FROM: -RCPT TO: +MAIL FROM: RCPT TO: +RCPT TO: DATA . QUIT **** +sleep 1