From 57cc27852af9019c0c423bcfde0165e698a0ce54 Mon Sep 17 00:00:00 2001 From: Jeremy Harris Date: Tue, 21 Mar 2017 16:16:38 +0000 Subject: Callouts: a "hold" option for receipient-verify, which keeps the connection open both for further recipients and for eventual delivery. --- test/scripts/2000-GnuTLS/2035 | 26 ++++++++++++++++ test/scripts/2000-GnuTLS/2036 | 70 +++++++++++++++++++++++++++++++++++++++++++ test/scripts/2000-GnuTLS/2037 | 31 +++++++++++++++++++ 3 files changed, 127 insertions(+) create mode 100644 test/scripts/2000-GnuTLS/2035 create mode 100644 test/scripts/2000-GnuTLS/2036 create mode 100644 test/scripts/2000-GnuTLS/2037 (limited to 'test/scripts/2000-GnuTLS') diff --git a/test/scripts/2000-GnuTLS/2035 b/test/scripts/2000-GnuTLS/2035 new file mode 100644 index 000000000..cb227868c --- /dev/null +++ b/test/scripts/2000-GnuTLS/2035 @@ -0,0 +1,26 @@ +# client: callout lazy-close, -bs send +gnutls +need_ipv4 +# +# a tls-capable target for the verify/delivery connection +exim -bd -DSERVER=server -oX PORT_D +**** +# +# a recipient verify and continued-delivery +# cmdline -bs send +exim -bs +mail from: +rcpt to: +data +Subject: test + +body +. +quit +**** +sleep 1 +killdaemon +# +# +no_stdout_check +no_msglog_check diff --git a/test/scripts/2000-GnuTLS/2036 b/test/scripts/2000-GnuTLS/2036 new file mode 100644 index 000000000..1891d2fe8 --- /dev/null +++ b/test/scripts/2000-GnuTLS/2036 @@ -0,0 +1,70 @@ +# client: callout lazy-close, smtp send +gnutls +need_ipv4 +# +# smtp send +# a tls-capable target for the verify/delivery connection on PORT_D +# plus a daemon under test on PORT_S +exim -bd -DSERVER=server -oX PORT_D:PORT_S +**** +# +client 127.0.0.1 PORT_S +??? 220 +EHLO test.ex +??? 250- +??? 250- +??? 250- +??? 250- +??? 250- +??? 250 +MAIL FROM: +??? 250 +RCPT TO: +??? 250 +DATA +??? 354 +Subject: test + +body +. +??? 250 +QUIT +??? 221 +**** +sleep 1 +killdaemon +# +# +# smtp send, deliver_drop_priv +exim -bd -DSERVER=server -DOPT=deliver_drop_privilege -oX PORT_D:PORT_S +**** +# +client 127.0.0.1 PORT_S +??? 220 +EHLO test.ex +??? 250- +??? 250- +??? 250- +??? 250- +??? 250- +??? 250 +MAIL FROM: +??? 250 +RCPT TO: +??? 250 +DATA +??? 354 +Subject: test + +body +. +??? 250 +QUIT +??? 221 +**** +sleep 1 +killdaemon +# +# +no_stdout_check +no_msglog_check diff --git a/test/scripts/2000-GnuTLS/2037 b/test/scripts/2000-GnuTLS/2037 new file mode 100644 index 000000000..8dca68114 --- /dev/null +++ b/test/scripts/2000-GnuTLS/2037 @@ -0,0 +1,31 @@ +# client: callout lazy-close, defers +gnutls +need_ipv4 +# +exim -bd -DSERVER=server -oX PORT_D +**** +# cmdline -bs send, rcpt-time defer +exim -bs +mail from: +rcpt to: +quit +**** +sleep 1 +# +# cmdline -bs send, data-time defer +exim -bs +mail from: +rcpt to: +data +Subject: test + +body +. +quit +**** +sleep 1 +killdaemon +# +# +no_stdout_check +no_msglog_check -- cgit v1.2.3