diff options
author | Jeremy Harris <jgh146exb@wizmail.org> | 2017-03-21 16:16:38 +0000 |
---|---|---|
committer | Jeremy Harris <jgh146exb@wizmail.org> | 2017-03-21 17:23:30 +0000 |
commit | 57cc27852af9019c0c423bcfde0165e698a0ce54 (patch) | |
tree | cb3792034e90a7d8336e3493f1c931f349e39ebb /test/scripts/2100-OpenSSL | |
parent | 5013d912e961203f2ab2d5f64be90255cda81b80 (diff) |
Callouts: a "hold" option for receipient-verify, which keeps the connection open both for
further recipients and for eventual delivery.
Diffstat (limited to 'test/scripts/2100-OpenSSL')
-rw-r--r-- | test/scripts/2100-OpenSSL/2135 | 25 | ||||
-rw-r--r-- | test/scripts/2100-OpenSSL/2136 | 71 | ||||
-rw-r--r-- | test/scripts/2100-OpenSSL/2137 | 30 |
3 files changed, 126 insertions, 0 deletions
diff --git a/test/scripts/2100-OpenSSL/2135 b/test/scripts/2100-OpenSSL/2135 new file mode 100644 index 000000000..e521c45e3 --- /dev/null +++ b/test/scripts/2100-OpenSSL/2135 @@ -0,0 +1,25 @@ +# client: callout lazy-close, -bs send +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:<usera@ok.example> +rcpt to:<userb@test.ex> +data +Subject: test + +body +. +quit +**** +sleep 1 +killdaemon +# +# +no_stdout_check +no_msglog_check diff --git a/test/scripts/2100-OpenSSL/2136 b/test/scripts/2100-OpenSSL/2136 new file mode 100644 index 000000000..aa13114d5 --- /dev/null +++ b/test/scripts/2100-OpenSSL/2136 @@ -0,0 +1,71 @@ +# client: callout lazy-close, smtp send +need_ipv4 +# +# a recipient verify and continued-delivery +# 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:<userc@ok.example> +??? 250 +RCPT TO:<userd@test.ex> +??? 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:<usere@ok.example> +??? 250 +RCPT TO:<userf@test.ex> +??? 250 +DATA +??? 354 +Subject: test + +body +. +??? 250 +QUIT +??? 221 +**** +sleep 1 +killdaemon +# +# +# +no_stdout_check +no_msglog_check diff --git a/test/scripts/2100-OpenSSL/2137 b/test/scripts/2100-OpenSSL/2137 new file mode 100644 index 000000000..ec9a964a2 --- /dev/null +++ b/test/scripts/2100-OpenSSL/2137 @@ -0,0 +1,30 @@ +# client: callout lazy-close, defers +need_ipv4 +# +exim -bd -DSERVER=server -oX PORT_D +**** +# cmdline -bs send, rcpt-time defer +exim -bs +mail from:<> +rcpt to:<rcpt_defer@test.ex> +quit +**** +sleep 1 +# +# cmdline -bs send, data-time defer +exim -bs +mail from:<> +rcpt to:<data_defer@test.ex> +data +Subject: test + +body +. +quit +**** +sleep 1 +killdaemon +# +# +no_stdout_check +no_msglog_check |