X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/59eaad2b1af0dc58545dff6a7211948782811e1a..b88b6f6f3a29b70cd0b314da8ceab18b0b34eed6:/test/scripts/5400-cutthrough/5402 diff --git a/test/scripts/5400-cutthrough/5402 b/test/scripts/5400-cutthrough/5402 index 3e6f3189e..1113c6d32 100644 --- a/test/scripts/5400-cutthrough/5402 +++ b/test/scripts/5400-cutthrough/5402 @@ -1,42 +1,49 @@ -# cutthrough_delivery and -bhc +# cutthrough_delivery vs. recipient-verify cache entry need_ipv4 -munge loopback -no_msglog_check # -# Despite config for cutthrough should not make onward conn -server -t -2 PORT_S +# Set up callout cache +# +server PORT_S +220 ESMTP +EHLO +250 OK +MAIL FROM: +250 Sender OK +RCPT TO: +250 Recipient OK +QUIT +250 OK **** -exim -bhc 1.2.3.4 +exim -bs -odf EHLO myhost.test.ex MAIL FROM: -RCPT TO: -DATA - -. +RCPT TO: QUIT **** # -# Onward conn made for r-verify but cleared before DATA +# Send message with cutthrough +# server PORT_S -220 server ready +220 ESMTP EHLO 250 OK -MAIL -250 OK -RCPT +MAIL FROM: +250 Sender OK +RCPT TO: +250 Recipient OK +DATA +354 Send data +. 250 OK QUIT -220 OK -*eof +250 OK **** -exim -bhc 1.2.3.4 +exim -DOPT=CUTTHROUGH -bs -odf EHLO myhost.test.ex MAIL FROM: -RCPT TO: +RCPT TO: DATA . QUIT **** -# -# End