diff options
author | Jeremy Harris <jgh146exb@wizmail.org> | 2021-03-14 20:39:03 +0000 |
---|---|---|
committer | Jeremy Harris <jgh146exb@wizmail.org> | 2021-03-16 16:43:49 +0000 |
commit | 001bf8f58763581d117edaa391aa13ac139eb39b (patch) | |
tree | 6af8ef88382cba84e148612ccced6841b4a89264 /test | |
parent | 843edb3830b89e01fd2b956d2a0d23d13e29b55e (diff) |
Pipeline QUIT after data
Diffstat (limited to 'test')
42 files changed, 1425 insertions, 208 deletions
diff --git a/test/confs/0623 b/test/confs/0623 new file mode 100644 index 000000000..3805c517b --- /dev/null +++ b/test/confs/0623 @@ -0,0 +1,43 @@ +# Exim test configuration 0623 + +SERVER= + +.include DIR/aux-var/std_conf_prefix + +primary_hostname = myhost.test.ex +log_selector = +pipelining +received_recipients +smtp_connection + + +# ----- Main settings ----- + +acl_smtp_rcpt = accept + +# ----- Routers ----- + +begin routers + +client: + driver = accept + transport = send_to_server + errors_to = "" + + +# ----- Transports ----- + +begin transports + +send_to_server: + driver = smtp + allow_localhost + hosts = 127.0.0.1 + port = PORT_D + +# ----- Retry ----- + + +begin retry + +* * F,5d,10s + + +# End diff --git a/test/confs/0900 b/test/confs/0900 index ffce9e886..2409f395e 100644 --- a/test/confs/0900 +++ b/test/confs/0900 @@ -6,6 +6,7 @@ ALLOW= exim_path = EXIM_PATH keep_environment = +add_environment = SSLKEYLOGFILE=DIR/spool/sslkeys host_lookup_order = bydns spool_directory = DIR/spool log_file_path = DIR/spool/log/SERVER%slog @@ -37,9 +38,9 @@ queue_only smtp_receive_timeout = 2s .ifdef _HAVE_DKIM -log_selector = +received_recipients +dkim_verbose +log_selector = +received_recipients +millisec +dkim_verbose .else -log_selector = +received_recipients +log_selector = +received_recipients +millisec .endif .ifdef _OPT_MAIN_TLS_CERTIFICATE diff --git a/test/confs/0911 b/test/confs/0911 new file mode 100644 index 000000000..4c9444c14 --- /dev/null +++ b/test/confs/0911 @@ -0,0 +1,43 @@ +# Exim test configuration 0623 + +SERVER= + +.include DIR/aux-var/std_conf_prefix + +primary_hostname = myhost.test.ex +log_selector = +pipelining +received_recipients +smtp_connection +millisec + + +# ----- Main settings ----- + +acl_smtp_rcpt = accept + +# ----- Routers ----- + +begin routers + +client: + driver = accept + transport = send_to_server + errors_to = "" + + +# ----- Transports ----- + +begin transports + +send_to_server: + driver = smtp + allow_localhost + hosts = 127.0.0.1 + port = PORT_D + +# ----- Retry ----- + + +begin retry + +* * F,5d,10s + + +# End diff --git a/test/log/0623 b/test/log/0623 new file mode 100644 index 000000000..8c54aeecb --- /dev/null +++ b/test/log/0623 @@ -0,0 +1,20 @@ +1999-03-02 09:44:33 10HmaX-0005vi-00 <= CALLER@myhost.test.ex U=CALLER P=local S=sss for good@test.ex +1999-03-02 09:44:33 10HmaX-0005vi-00 => good@test.ex R=client T=send_to_server H=127.0.0.1 [127.0.0.1] L C="250 OK message data" +1999-03-02 09:44:33 10HmaX-0005vi-00 Completed +1999-03-02 09:44:33 10HmaY-0005vi-00 <= CALLER@myhost.test.ex U=CALLER P=local S=sss for nopipe@test.ex +1999-03-02 09:44:33 10HmaY-0005vi-00 => nopipe@test.ex R=client T=send_to_server H=127.0.0.1 [127.0.0.1] C="250 OK message data" +1999-03-02 09:44:33 10HmaY-0005vi-00 Completed +1999-03-02 09:44:33 10HmaZ-0005vi-00 <= CALLER@myhost.test.ex U=CALLER P=local S=sss for tempreject@test.ex +1999-03-02 09:44:33 10HmaZ-0005vi-00 H=127.0.0.1 [127.0.0.1]: SMTP error from remote mail server after end of data: 451 Service not available +1999-03-02 09:44:33 10HmaZ-0005vi-00 == tempreject@test.ex R=client T=send_to_server defer (-46) H=127.0.0.1 [127.0.0.1]: SMTP error from remote mail server after end of data: 451 Service not available +1999-03-02 09:44:33 10HmaZ-0005vi-00 removed by CALLER +1999-03-02 09:44:33 10HmaZ-0005vi-00 Completed +1999-03-02 09:44:33 10HmbA-0005vi-00 <= CALLER@myhost.test.ex U=CALLER P=local S=sss for permreject@test.ex +1999-03-02 09:44:33 10HmbA-0005vi-00 ** permreject@test.ex R=client T=send_to_server H=127.0.0.1 [127.0.0.1]: SMTP error from remote mail server after end of data: 550 content rejected +1999-03-02 09:44:33 10HmbA-0005vi-00 permreject@test.ex: error ignored +1999-03-02 09:44:33 10HmbA-0005vi-00 Completed +1999-03-02 09:44:33 10HmbB-0005vi-00 <= CALLER@myhost.test.ex U=CALLER P=local S=sss for permreject@test.ex +1999-03-02 09:44:33 10HmbB-0005vi-00 H=127.0.0.1 [127.0.0.1]: Remote host closed connection in response to end of data +1999-03-02 09:44:33 10HmbB-0005vi-00 == permreject@test.ex R=client T=send_to_server defer (-18) H=127.0.0.1 [127.0.0.1]: Remote host closed connection in response to end of data +1999-03-02 09:44:33 10HmbB-0005vi-00 removed by CALLER +1999-03-02 09:44:33 10HmbB-0005vi-00 Completed diff --git a/test/log/0900 b/test/log/0900 index 305aa94e0..a6e106367 100644 --- a/test/log/0900 +++ b/test/log/0900 @@ -1,12 +1,12 @@ ******** SERVER ******** -1999-03-02 09:44:33 exim x.yz daemon started: pid=pppp, no queue runs, listening for SMTP on port PORT_D -1999-03-02 09:44:33 10HmaX-0005vi-00 <= someone@some.domain H=(tester) [127.0.0.1] P=esmtp K S=sss for CALLER@test.ex -1999-03-02 09:44:33 10HmaY-0005vi-00 <= someone@some.domain H=(tester) [127.0.0.1] P=esmtp K S=sss for CALLER@test.ex -1999-03-02 09:44:33 10HmaZ-0005vi-00 <= someone@some.domain H=(tester) [127.0.0.1] P=esmtp K S=sss for CALLER@test.ex -1999-03-02 09:44:33 10HmbA-0005vi-00 SMTP data timeout (message abandoned) on connection from (tester) [127.0.0.1] F=<someone@some.domain> -1999-03-02 09:44:33 SMTP connection from (tester) [127.0.0.1] lost while reading message data -1999-03-02 09:44:33 SMTP connection from (tester) [127.0.0.1] lost while reading message data -1999-03-02 09:44:33 10HmbB-0005vi-00 <= someone@some.domain H=(tester) [127.0.0.1] P=esmtp K S=sss for CALLER@test.ex -1999-03-02 09:44:33 H=(tester) [127.0.0.1] F=<someone@some.domain> rejected RCPT <dummy@reject.ex>: relay not permitted -1999-03-02 09:44:33 rejected from <someone@some.domain> H=(tester) [127.0.0.1]: Non-CRLF-terminated header, under CHUNKING: message abandoned +2017-07-30 18:51:05.712 exim x.yz daemon started: pid=pppp, no queue runs, listening for SMTP on port PORT_D +2017-07-30 18:51:05.712 10HmaX-0005vi-00 <= someone@some.domain H=(tester) [127.0.0.1] P=esmtp K S=sss for CALLER@test.ex +2017-07-30 18:51:05.712 10HmaY-0005vi-00 <= someone@some.domain H=(tester) [127.0.0.1] P=esmtp K S=sss for CALLER@test.ex +2017-07-30 18:51:05.712 10HmaZ-0005vi-00 <= someone@some.domain H=(tester) [127.0.0.1] P=esmtp K S=sss for CALLER@test.ex +2017-07-30 18:51:05.712 10HmbA-0005vi-00 SMTP data timeout (message abandoned) on connection from (tester) [127.0.0.1] F=<someone@some.domain> +2017-07-30 18:51:05.712 SMTP connection from (tester) [127.0.0.1] lost while reading message data +2017-07-30 18:51:05.712 SMTP connection from (tester) [127.0.0.1] lost while reading message data +2017-07-30 18:51:05.712 10HmbB-0005vi-00 <= someone@some.domain H=(tester) [127.0.0.1] P=esmtp K S=sss for CALLER@test.ex +2017-07-30 18:51:05.712 H=(tester) [127.0.0.1] F=<someone@some.domain> rejected RCPT <dummy@reject.ex>: relay not permitted +2017-07-30 18:51:05.712 rejected from <someone@some.domain> H=(tester) [127.0.0.1]: Non-CRLF-terminated header, under CHUNKING: message abandoned diff --git a/test/log/0904 b/test/log/0904 index 0ca872075..55f85d39d 100644 --- a/test/log/0904 +++ b/test/log/0904 @@ -1,47 +1,44 @@ -1999-03-02 09:44:33 10HmaX-0005vi-00 <= sender@source.dom U=root P=local-bsmtp S=sss for a@test.ex -1999-03-02 09:44:33 10HmaX-0005vi-00 => a@test.ex R=to_server T=remote_smtp H=127.0.0.1 [127.0.0.1] K C="250 OK" -1999-03-02 09:44:33 10HmaX-0005vi-00 Completed -1999-03-02 09:44:33 10HmaY-0005vi-00 <= sender@source.dom U=root P=local-bsmtp S=sss for b@test.ex -1999-03-02 09:44:33 10HmaY-0005vi-00 H=127.0.0.1 [127.0.0.1]: SMTP timeout after end of data (ddd bytes written): Connection timed out -1999-03-02 09:44:33 10HmaY-0005vi-00 == b@test.ex R=to_server T=remote_smtp defer (dd): Connection timed out H=127.0.0.1 [127.0.0.1]: SMTP timeout after end of data (ddd bytes written) -1999-03-02 09:44:33 10HmaZ-0005vi-00 <= sender@source.dom U=root P=local-bsmtp S=sss for c@test.ex -1999-03-02 09:44:33 10HmaZ-0005vi-00 => c@test.ex R=to_server T=remote_smtp H=127.0.0.1 [127.0.0.1] K C="250 OK" -1999-03-02 09:44:33 10HmaZ-0005vi-00 Completed -1999-03-02 09:44:33 10HmbA-0005vi-00 <= sender@source.dom U=root P=local-bsmtp S=sss for d@test.ex -1999-03-02 09:44:33 10HmbA-0005vi-00 ** d@test.ex R=to_server T=remote_smtp H=127.0.0.1 [127.0.0.1]: SMTP error from remote mail server after end of data: 500 oops -1999-03-02 09:44:33 10HmbA-0005vi-00 d@test.ex: error ignored -1999-03-02 09:44:33 10HmbA-0005vi-00 Completed -1999-03-02 09:44:33 10HmbB-0005vi-00 <= sender@source.dom U=root P=local-bsmtp S=sss for e@test.ex -1999-03-02 09:44:33 10HmbB-0005vi-00 H=127.0.0.1 [127.0.0.1]: SMTP error from remote mail server after end of data: 400 not right now -1999-03-02 09:44:33 10HmbB-0005vi-00 == e@test.ex R=to_server T=remote_smtp defer (-46) H=127.0.0.1 [127.0.0.1]: SMTP error from remote mail server after end of data: 400 not right now -1999-03-02 09:44:33 10HmbC-0005vi-00 <= sender@source.dom U=root P=local-bsmtp S=sss for ebad@test.ex -1999-03-02 09:44:33 10HmbC-0005vi-00 ** ebad@test.ex R=to_server T=remote_smtp H=127.0.0.1 [127.0.0.1]: SMTP error from remote mail server after RCPT TO:<ebad@test.ex>: 550 sorry, no -1999-03-02 09:44:33 10HmbC-0005vi-00 ebad@test.ex: error ignored -1999-03-02 09:44:33 10HmbC-0005vi-00 Completed -1999-03-02 09:44:33 10HmbD-0005vi-00 <= sender@source.dom U=root P=local-bsmtp S=sss for p@test.ex -1999-03-02 09:44:33 10HmbD-0005vi-00 => p@test.ex R=to_server T=remote_smtp H=127.0.0.1 [127.0.0.1] K C="250 OK bdat" -1999-03-02 09:44:33 10HmbD-0005vi-00 Completed -1999-03-02 09:44:33 10HmbE-0005vi-00 <= sender@source.dom U=root P=local-bsmtp S=sss for q@test.ex -1999-03-02 09:44:33 10HmbE-0005vi-00 H=127.0.0.1 [127.0.0.1]: SMTP timeout after pipelined end of data (ddd bytes written): Connection timed out -1999-03-02 09:44:33 10HmbE-0005vi-00 == q@test.ex R=to_server T=remote_smtp defer (dd): Connection timed out H=127.0.0.1 [127.0.0.1]: SMTP timeout after pipelined end of data (ddd bytes written) -1999-03-02 09:44:33 10HmbF-0005vi-00 <= sender@source.dom U=root P=local-bsmtp S=sss for r@test.ex -1999-03-02 09:44:33 10HmbF-0005vi-00 => r@test.ex R=to_server T=remote_smtp H=127.0.0.1 [127.0.0.1] K C="250 OK bdat" -1999-03-02 09:44:33 10HmbF-0005vi-00 Completed -1999-03-02 09:44:33 10HmbG-0005vi-00 <= sender@source.dom U=root P=local-bsmtp S=sss for s@test.ex -1999-03-02 09:44:33 10HmbG-0005vi-00 ** s@test.ex R=to_server T=remote_smtp H=127.0.0.1 [127.0.0.1]: SMTP error from remote mail server after pipelined end of data: 550 unacceptable mail-from -1999-03-02 09:44:33 10HmbG-0005vi-00 s@test.ex: error ignored -1999-03-02 09:44:33 10HmbG-0005vi-00 Completed -1999-03-02 09:44:33 10HmbH-0005vi-00 <= sender@source.dom U=root P=local-bsmtp S=sss for s1@test.ex -1999-03-02 09:44:33 10HmbH-0005vi-00 H=127.0.0.1 [127.0.0.1]: SMTP error from remote mail server after pipelined end of data: 450 greylisted mail-from -1999-03-02 09:44:33 10HmbH-0005vi-00 == s1@test.ex R=to_server T=remote_smtp defer (-45) H=127.0.0.1 [127.0.0.1]: SMTP error from remote mail server after pipelined end of data: 450 greylisted mail-from -1999-03-02 09:44:33 10HmbI-0005vi-00 <= sender@source.dom U=root P=local-bsmtp S=sss for t@test.ex -1999-03-02 09:44:33 10HmbI-0005vi-00 ** t@test.ex R=to_server T=remote_smtp H=127.0.0.1 [127.0.0.1]: SMTP error from remote mail server after RCPT TO:<t@test.ex>: 550 no such recipient -1999-03-02 09:44:33 10HmbI-0005vi-00 t@test.ex: error ignored -1999-03-02 09:44:33 10HmbI-0005vi-00 Completed -1999-03-02 09:44:33 10HmbJ-0005vi-00 <= sender@source.dom U=root P=local-bsmtp S=sss for u@test.ex -1999-03-02 09:44:33 10HmbJ-0005vi-00 ** u@test.ex R=to_server T=remote_smtp H=127.0.0.1 [127.0.0.1]: SMTP error from remote mail server after pipelined end of data: 500 oops bdat -1999-03-02 09:44:33 10HmbJ-0005vi-00 u@test.ex: error ignored -1999-03-02 09:44:33 10HmbJ-0005vi-00 Completed -1999-03-02 09:44:33 10HmbK-0005vi-00 <= sender@source.dom U=root P=local-bsmtp S=sss for v@test.ex -1999-03-02 09:44:33 10HmbK-0005vi-00 H=127.0.0.1 [127.0.0.1]: SMTP error from remote mail server after pipelined end of data: 400 not right now bdat -1999-03-02 09:44:33 10HmbK-0005vi-00 == v@test.ex R=to_server T=remote_smtp defer (-46) H=127.0.0.1 [127.0.0.1]: SMTP error from remote mail server after pipelined end of data: 400 not right now bdat +2017-07-30 18:51:05.712 10HmaX-0005vi-00 <= sender@source.dom U=root P=local-bsmtp S=sss for a@test.ex +2017-07-30 18:51:05.712 10HmaX-0005vi-00 => a@test.ex R=to_server T=remote_smtp H=127.0.0.1 [127.0.0.1] K C="250 OK" +2017-07-30 18:51:05.712 10HmaX-0005vi-00 Completed +2017-07-30 18:51:05.712 10HmaY-0005vi-00 <= sender@source.dom U=root P=local-bsmtp S=sss for b@test.ex +2017-07-30 18:51:05.712 10HmaY-0005vi-00 H=127.0.0.1 [127.0.0.1]: SMTP timeout after end of data (ddd bytes written): Connection timed out +2017-07-30 18:51:05.712 10HmaY-0005vi-00 == b@test.ex R=to_server T=remote_smtp defer (dd): Connection timed out H=127.0.0.1 [127.0.0.1]: SMTP timeout after end of data (ddd bytes written) +2017-07-30 18:51:05.712 10HmaZ-0005vi-00 <= sender@source.dom U=root P=local-bsmtp S=sss for c@test.ex +2017-07-30 18:51:05.712 10HmaZ-0005vi-00 => c@test.ex R=to_server T=remote_smtp H=127.0.0.1 [127.0.0.1] K C="250 OK" +2017-07-30 18:51:05.712 10HmaZ-0005vi-00 Completed +2017-07-30 18:51:05.712 10HmbA-0005vi-00 <= sender@source.dom U=root P=local-bsmtp S=sss for d@test.ex +2017-07-30 18:51:05.712 10HmbA-0005vi-00 ** d@test.ex R=to_server T=remote_smtp H=127.0.0.1 [127.0.0.1]: SMTP error from remote mail server after end of data: 500 oops +2017-07-30 18:51:05.712 10HmbA-0005vi-00 d@test.ex: error ignored +2017-07-30 18:51:05.712 10HmbA-0005vi-00 Completed +2017-07-30 18:51:05.712 10HmbB-0005vi-00 <= sender@source.dom U=root P=local-bsmtp S=sss for e@test.ex +2017-07-30 18:51:05.712 10HmbB-0005vi-00 H=127.0.0.1 [127.0.0.1]: SMTP error from remote mail server after end of data: 400 not right now +2017-07-30 18:51:05.712 10HmbB-0005vi-00 == e@test.ex R=to_server T=remote_smtp defer (-46) H=127.0.0.1 [127.0.0.1]: SMTP error from remote mail server after end of data: 400 not right now +2017-07-30 18:51:05.712 10HmbC-0005vi-00 <= sender@source.dom U=root P=local-bsmtp S=sss for ebad@test.ex +2017-07-30 18:51:05.712 10HmbC-0005vi-00 ** ebad@test.ex R=to_server T=remote_smtp H=127.0.0.1 [127.0.0.1]: SMTP error from remote mail server after RCPT TO:<ebad@test.ex>: 550 sorry, no +2017-07-30 18:51:05.712 10HmbC-0005vi-00 ebad@test.ex: error ignored +2017-07-30 18:51:05.712 10HmbC-0005vi-00 Completed +2017-07-30 18:51:05.712 10HmbD-0005vi-00 <= sender@source.dom U=root P=local-bsmtp S=sss for p@test.ex +2017-07-30 18:51:05.712 10HmbD-0005vi-00 => p@test.ex R=to_server T=remote_smtp H=127.0.0.1 [127.0.0.1] K C="250 OK bdat" +2017-07-30 18:51:05.712 10HmbD-0005vi-00 Completed +2017-07-30 18:51:05.712 10HmbE-0005vi-00 <= sender@source.dom U=root P=local-bsmtp S=sss for r@test.ex +2017-07-30 18:51:05.712 10HmbE-0005vi-00 => r@test.ex R=to_server T=remote_smtp H=127.0.0.1 [127.0.0.1] K C="250 OK bdat" +2017-07-30 18:51:05.712 10HmbE-0005vi-00 Completed +2017-07-30 18:51:05.712 10HmbF-0005vi-00 <= sender@source.dom U=root P=local-bsmtp S=sss for s@test.ex +2017-07-30 18:51:05.712 10HmbF-0005vi-00 ** s@test.ex R=to_server T=remote_smtp H=127.0.0.1 [127.0.0.1]: SMTP error from remote mail server after pipelined end of data: 550 unacceptable mail-from +2017-07-30 18:51:05.712 10HmbF-0005vi-00 s@test.ex: error ignored +2017-07-30 18:51:05.712 10HmbF-0005vi-00 Completed +2017-07-30 18:51:05.712 10HmbG-0005vi-00 <= sender@source.dom U=root P=local-bsmtp S=sss for s1@test.ex +2017-07-30 18:51:05.712 10HmbG-0005vi-00 H=127.0.0.1 [127.0.0.1]: SMTP error from remote mail server after pipelined end of data: 450 greylisted mail-from +2017-07-30 18:51:05.712 10HmbG-0005vi-00 == s1@test.ex R=to_server T=remote_smtp defer (-45) H=127.0.0.1 [127.0.0.1]: SMTP error from remote mail server after pipelined end of data: 450 greylisted mail-from +2017-07-30 18:51:05.712 10HmbH-0005vi-00 <= sender@source.dom U=root P=local-bsmtp S=sss for t@test.ex +2017-07-30 18:51:05.712 10HmbH-0005vi-00 ** t@test.ex R=to_server T=remote_smtp H=127.0.0.1 [127.0.0.1]: SMTP error from remote mail server after RCPT TO:<t@test.ex>: 550 no such recipient +2017-07-30 18:51:05.712 10HmbH-0005vi-00 t@test.ex: error ignored +2017-07-30 18:51:05.712 10HmbH-0005vi-00 Completed +2017-07-30 18:51:05.712 10HmbI-0005vi-00 <= sender@source.dom U=root P=local-bsmtp S=sss for u@test.ex +2017-07-30 18:51:05.712 10HmbI-0005vi-00 ** u@test.ex R=to_server T=remote_smtp H=127.0.0.1 [127.0.0.1]: SMTP error from remote mail server after pipelined end of data: 500 oops bdat +2017-07-30 18:51:05.712 10HmbI-0005vi-00 u@test.ex: error ignored +2017-07-30 18:51:05.712 10HmbI-0005vi-00 Completed +2017-07-30 18:51:05.712 10HmbJ-0005vi-00 <= sender@source.dom U=root P=local-bsmtp S=sss for v@test.ex +2017-07-30 18:51:05.712 10HmbJ-0005vi-00 H=127.0.0.1 [127.0.0.1]: SMTP error from remote mail server after pipelined end of data: 400 not right now bdat +2017-07-30 18:51:05.712 10HmbJ-0005vi-00 == v@test.ex R=to_server T=remote_smtp defer (-46) H=127.0.0.1 [127.0.0.1]: SMTP error from remote mail server after pipelined end of data: 400 not right now bdat diff --git a/test/log/0905 b/test/log/0905 index 626b00b1c..245c71a6b 100644 --- a/test/log/0905 +++ b/test/log/0905 @@ -1,37 +1,37 @@ -1999-03-02 09:44:33 10HmaX-0005vi-00 <= sender@dom U=root P=local-bsmtp S=sss for a@test.ex -1999-03-02 09:44:33 10HmaX-0005vi-00 => a@test.ex R=to_server T=remote_smtp H=127.0.0.1 [127.0.0.1] K C="250 OK bdat" -1999-03-02 09:44:33 10HmaX-0005vi-00 Completed -1999-03-02 09:44:33 10HmaY-0005vi-00 <= sender@dom U=root P=local-bsmtp S=sss for d@test.ex -1999-03-02 09:44:33 10HmaY-0005vi-00 ** d@test.ex R=to_server T=remote_smtp H=127.0.0.1 [127.0.0.1]: SMTP error from remote mail server after sending data block: 500 oops bdat-nonlast -1999-03-02 09:44:33 10HmaY-0005vi-00 d@test.ex: error ignored -1999-03-02 09:44:33 10HmaY-0005vi-00 Completed -1999-03-02 09:44:33 10HmaZ-0005vi-00 <= sender@dom U=root P=local-bsmtp S=sss for p@test.ex -1999-03-02 09:44:33 10HmaZ-0005vi-00 => p@test.ex R=to_server T=remote_smtp H=127.0.0.1 [127.0.0.1] K C="250 OK bdat" -1999-03-02 09:44:33 10HmaZ-0005vi-00 Completed -1999-03-02 09:44:33 10HmbA-0005vi-00 <= sender@dom U=root P=local-bsmtp S=sss for s@test.ex -1999-03-02 09:44:33 10HmbA-0005vi-00 ** s@test.ex R=to_server T=remote_smtp H=127.0.0.1 [127.0.0.1]: SMTP error from remote mail server after pipelined sending data block: 550 unacceptable mail-from -1999-03-02 09:44:33 10HmbA-0005vi-00 s@test.ex: error ignored -1999-03-02 09:44:33 10HmbA-0005vi-00 Completed -1999-03-02 09:44:33 10HmbB-0005vi-00 <= sender@dom U=root P=local-bsmtp S=sss for t@test.ex -1999-03-02 09:44:33 10HmbB-0005vi-00 ** t@test.ex R=to_server T=remote_smtp H=127.0.0.1 [127.0.0.1]: SMTP error from remote mail server after RCPT TO:<t@test.ex>: 550 no such recipient -1999-03-02 09:44:33 10HmbB-0005vi-00 t@test.ex: error ignored -1999-03-02 09:44:33 10HmbB-0005vi-00 Completed -1999-03-02 09:44:33 10HmbC-0005vi-00 <= sender@dom U=root P=local-bsmtp S=sss for t1@test.ex t2@test.ex -1999-03-02 09:44:33 10HmbC-0005vi-00 ** t1@test.ex R=to_server T=remote_smtp H=127.0.0.1 [127.0.0.1]: SMTP error from remote mail server after RCPT TO:<t1@test.ex>: 550 no such recipient -1999-03-02 09:44:33 10HmbC-0005vi-00 => t2@test.ex R=to_server T=remote_smtp H=127.0.0.1 [127.0.0.1] K C="250 OK bdat" -1999-03-02 09:44:33 10HmbC-0005vi-00 t1@test.ex: error ignored -1999-03-02 09:44:33 10HmbC-0005vi-00 Completed -1999-03-02 09:44:33 10HmbD-0005vi-00 <= sender@dom U=root P=local-bsmtp S=sss for u@test.ex -1999-03-02 09:44:33 10HmbD-0005vi-00 ** u@test.ex R=to_server T=remote_smtp H=127.0.0.1 [127.0.0.1]: SMTP error from remote mail server after pipelined sending data block: 500 oops nonlast bdat -1999-03-02 09:44:33 10HmbD-0005vi-00 u@test.ex: error ignored -1999-03-02 09:44:33 10HmbD-0005vi-00 Completed -1999-03-02 09:44:33 10HmbE-0005vi-00 <= sender@dom U=root P=local-bsmtp S=sss for v@test.ex -1999-03-02 09:44:33 10HmbE-0005vi-00 ** v@test.ex R=to_server T=remote_smtp H=127.0.0.1 [127.0.0.1]: SMTP error from remote mail server after end of data: 500 oops bdat -1999-03-02 09:44:33 10HmbE-0005vi-00 v@test.ex: error ignored -1999-03-02 09:44:33 10HmbE-0005vi-00 Completed -1999-03-02 09:44:33 10HmbF-0005vi-00 <= sender@dom U=root P=local-bsmtp S=sss for u@test.ex -1999-03-02 09:44:33 10HmbF-0005vi-00 H=127.0.0.1 [127.0.0.1]: SMTP error from remote mail server after pipelined sending data block: 400 oops nonlast bdat -1999-03-02 09:44:33 10HmbF-0005vi-00 == u@test.ex R=to_server T=remote_smtp defer (-46) H=127.0.0.1 [127.0.0.1]: SMTP error from remote mail server after pipelined sending data block: 400 oops nonlast bdat -1999-03-02 09:44:33 10HmbG-0005vi-00 <= sender@dom U=root P=local-bsmtp S=sss for p@test.ex -1999-03-02 09:44:33 10HmbG-0005vi-00 => p@test.ex R=to_server T=remote_smtp H=127.0.0.1 [127.0.0.1] K C="250 OK bdat" -1999-03-02 09:44:33 10HmbG-0005vi-00 Completed +2017-07-30 18:51:05.712 10HmaX-0005vi-00 <= sender@dom U=root P=local-bsmtp S=sss for a@test.ex +2017-07-30 18:51:05.712 10HmaX-0005vi-00 => a@test.ex R=to_server T=remote_smtp H=127.0.0.1 [127.0.0.1] K C="250 OK bdat" +2017-07-30 18:51:05.712 10HmaX-0005vi-00 Completed +2017-07-30 18:51:05.712 10HmaY-0005vi-00 <= sender@dom U=root P=local-bsmtp S=sss for d@test.ex +2017-07-30 18:51:05.712 10HmaY-0005vi-00 ** d@test.ex R=to_server T=remote_smtp H=127.0.0.1 [127.0.0.1]: SMTP error from remote mail server after sending data block: 500 oops bdat-nonlast +2017-07-30 18:51:05.712 10HmaY-0005vi-00 d@test.ex: error ignored +2017-07-30 18:51:05.712 10HmaY-0005vi-00 Completed +2017-07-30 18:51:05.712 10HmaZ-0005vi-00 <= sender@dom U=root P=local-bsmtp S=sss for p@test.ex +2017-07-30 18:51:05.712 10HmaZ-0005vi-00 => p@test.ex R=to_server T=remote_smtp H=127.0.0.1 [127.0.0.1] K C="250 OK bdat" +2017-07-30 18:51:05.712 10HmaZ-0005vi-00 Completed +2017-07-30 18:51:05.712 10HmbA-0005vi-00 <= sender@dom U=root P=local-bsmtp S=sss for s@test.ex +2017-07-30 18:51:05.712 10HmbA-0005vi-00 ** s@test.ex R=to_server T=remote_smtp H=127.0.0.1 [127.0.0.1]: SMTP error from remote mail server after pipelined sending data block: 550 unacceptable mail-from +2017-07-30 18:51:05.712 10HmbA-0005vi-00 s@test.ex: error ignored +2017-07-30 18:51:05.712 10HmbA-0005vi-00 Completed +2017-07-30 18:51:05.712 10HmbB-0005vi-00 <= sender@dom U=root P=local-bsmtp S=sss for t@test.ex +2017-07-30 18:51:05.712 10HmbB-0005vi-00 ** t@test.ex R=to_server T=remote_smtp H=127.0.0.1 [127.0.0.1]: SMTP error from remote mail server after RCPT TO:<t@test.ex>: 550 no such recipient +2017-07-30 18:51:05.712 10HmbB-0005vi-00 t@test.ex: error ignored +2017-07-30 18:51:05.712 10HmbB-0005vi-00 Completed +2017-07-30 18:51:05.712 10HmbC-0005vi-00 <= sender@dom U=root P=local-bsmtp S=sss for t1@test.ex t2@test.ex +2017-07-30 18:51:05.712 10HmbC-0005vi-00 ** t1@test.ex R=to_server T=remote_smtp H=127.0.0.1 [127.0.0.1]: SMTP error from remote mail server after RCPT TO:<t1@test.ex>: 550 no such recipient +2017-07-30 18:51:05.712 10HmbC-0005vi-00 => t2@test.ex R=to_server T=remote_smtp H=127.0.0.1 [127.0.0.1] K C="250 OK bdat" +2017-07-30 18:51:05.712 10HmbC-0005vi-00 t1@test.ex: error ignored +2017-07-30 18:51:05.712 10HmbC-0005vi-00 Completed +2017-07-30 18:51:05.712 10HmbD-0005vi-00 <= sender@dom U=root P=local-bsmtp S=sss for u@test.ex +2017-07-30 18:51:05.712 10HmbD-0005vi-00 ** u@test.ex R=to_server T=remote_smtp H=127.0.0.1 [127.0.0.1]: SMTP error from remote mail server after pipelined sending data block: 500 oops nonlast bdat +2017-07-30 18:51:05.712 10HmbD-0005vi-00 u@test.ex: error ignored +2017-07-30 18:51:05.712 10HmbD-0005vi-00 Completed +2017-07-30 18:51:05.712 10HmbE-0005vi-00 <= sender@dom U=root P=local-bsmtp S=sss for v@test.ex +2017-07-30 18:51:05.712 10HmbE-0005vi-00 ** v@test.ex R=to_server T=remote_smtp H=127.0.0.1 [127.0.0.1]: SMTP error from remote mail server after end of data: 500 oops bdat +2017-07-30 18:51:05.712 10HmbE-0005vi-00 v@test.ex: error ignored +2017-07-30 18:51:05.712 10HmbE-0005vi-00 Completed +2017-07-30 18:51:05.712 10HmbF-0005vi-00 <= sender@dom U=root P=local-bsmtp S=sss for u@test.ex +2017-07-30 18:51:05.712 10HmbF-0005vi-00 H=127.0.0.1 [127.0.0.1]: SMTP error from remote mail server after pipelined sending data block: 400 oops nonlast bdat +2017-07-30 18:51:05.712 10HmbF-0005vi-00 == u@test.ex R=to_server T=remote_smtp defer (-46) H=127.0.0.1 [127.0.0.1]: SMTP error from remote mail server after pipelined sending data block: 400 oops nonlast bdat +2017-07-30 18:51:05.712 10HmbG-0005vi-00 <= sender@dom U=root P=local-bsmtp S=sss for p@test.ex +2017-07-30 18:51:05.712 10HmbG-0005vi-00 => p@test.ex R=to_server T=remote_smtp H=127.0.0.1 [127.0.0.1] K C="250 OK bdat" +2017-07-30 18:51:05.712 10HmbG-0005vi-00 Completed diff --git a/test/log/0911 b/test/log/0911 new file mode 100644 index 000000000..e4bb5a079 --- /dev/null +++ b/test/log/0911 @@ -0,0 +1,30 @@ +2017-07-30 18:51:05.712 SMTP connection from root +2017-07-30 18:51:05.712 10HmaX-0005vi-00 <= fred@myhost.test.ex U=root P=local-smtp S=sss for good@test.ex +2017-07-30 18:51:05.712 10HmaX-0005vi-00 => good@test.ex R=client T=send_to_server H=127.0.0.1 [127.0.0.1] L K C="250 OK chunked message data" +2017-07-30 18:51:05.712 10HmaX-0005vi-00 Completed +2017-07-30 18:51:05.712 SMTP connection from root closed by QUIT +2017-07-30 18:51:05.712 SMTP connection from root +2017-07-30 18:51:05.712 10HmaY-0005vi-00 <= fred@myhost.test.ex U=root P=local-smtp S=sss for nopipe@test.ex +2017-07-30 18:51:05.712 10HmaY-0005vi-00 => nopipe@test.ex R=client T=send_to_server H=127.0.0.1 [127.0.0.1] K C="250 OK chunked message data" +2017-07-30 18:51:05.712 10HmaY-0005vi-00 Completed +2017-07-30 18:51:05.712 SMTP connection from root closed by QUIT +2017-07-30 18:51:05.712 SMTP connection from root +2017-07-30 18:51:05.712 10HmaZ-0005vi-00 <= fred@myhost.test.ex U=root P=local-smtp S=sss for tempreject@test.ex +2017-07-30 18:51:05.712 10HmaZ-0005vi-00 H=127.0.0.1 [127.0.0.1]: SMTP error from remote mail server after pipelined end of data: 451 Service not available +2017-07-30 18:51:05.712 10HmaZ-0005vi-00 == tempreject@test.ex R=client T=send_to_server defer (-46) H=127.0.0.1 [127.0.0.1]: SMTP error from remote mail server after pipelined end of data: 451 Service not available +2017-07-30 18:51:05.712 SMTP connection from root closed by QUIT +2017-07-30 18:51:05.712 10HmaZ-0005vi-00 removed by CALLER +2017-07-30 18:51:05.712 10HmaZ-0005vi-00 Completed +2017-07-30 18:51:05.712 SMTP connection from root +2017-07-30 18:51:05.712 10HmbA-0005vi-00 <= fred@myhost.test.ex U=root P=local-smtp S=sss for permreject@test.ex +2017-07-30 18:51:05.712 10HmbA-0005vi-00 ** permreject@test.ex R=client T=send_to_server H=127.0.0.1 [127.0.0.1]: SMTP error from remote mail server after pipelined end of data: 550 content rejected +2017-07-30 18:51:05.712 10HmbA-0005vi-00 permreject@test.ex: error ignored +2017-07-30 18:51:05.712 10HmbA-0005vi-00 Completed +2017-07-30 18:51:05.712 SMTP connection from root closed by QUIT +2017-07-30 18:51:05.712 SMTP connection from root +2017-07-30 18:51:05.712 10HmbB-0005vi-00 <= fred@myhost.test.ex U=root P=local-smtp S=sss for dataloss@test.ex +2017-07-30 18:51:05.712 10HmbB-0005vi-00 H=127.0.0.1 [127.0.0.1]: Remote host closed connection in response to pipelined end of data +2017-07-30 18:51:05.712 10HmbB-0005vi-00 == dataloss@test.ex R=client T=send_to_server defer (-18) H=127.0.0.1 [127.0.0.1]: Remote host closed connection in response to pipelined end of data +2017-07-30 18:51:05.712 SMTP connection from root closed by QUIT +2017-07-30 18:51:05.712 10HmbB-0005vi-00 removed by CALLER +2017-07-30 18:51:05.712 10HmbB-0005vi-00 Completed diff --git a/test/log/1114 b/test/log/1114 index f3e5e78ab..649e2e9cf 100644 --- a/test/log/1114 +++ b/test/log/1114 @@ -1,5 +1,5 @@ ******** SERVER ******** -1999-03-02 09:44:33 exim x.yz daemon started: pid=pppp, no queue runs, listening for SMTP on port PORT_D -1999-03-02 09:44:33 10HmaX-0005vi-00 <= someone@some.domain H=(rhu.barb) [127.0.0.1] P=esmtps X=TLS1.x:ke-RSA-AES256-SHAnnn:xxx CV=no K S=sss for CALLER@test.ex -1999-03-02 09:44:33 10HmaY-0005vi-00 <= someone@some.domain H=(rhu.barb) [127.0.0.1] P=esmtps X=TLS1.x:ke-RSA-AES256-SHAnnn:xxx CV=no K S=sss for CALLER@test.ex +2017-07-30 18:51:05.712 exim x.yz daemon started: pid=pppp, no queue runs, listening for SMTP on port PORT_D +2017-07-30 18:51:05.712 10HmaX-0005vi-00 <= someone@some.domain H=(rhu.barb) [127.0.0.1] P=esmtps X=TLS1.x:ke-RSA-AES256-SHAnnn:xxx CV=no K S=sss for CALLER@test.ex +2017-07-30 18:51:05.712 10HmaY-0005vi-00 <= someone@some.domain H=(rhu.barb) [127.0.0.1] P=esmtps X=TLS1.x:ke-RSA-AES256-SHAnnn:xxx CV=no K S=sss for CALLER@test.ex diff --git a/test/log/1157 b/test/log/1157 index 7c8e6e80f..065ea8961 100644 --- a/test/log/1157 +++ b/test/log/1157 @@ -20,15 +20,15 @@ 1999-03-02 09:44:33 10HmbE-0005vi-00 => userb@test.ex R=cl_override T=send_to_server H=127.0.0.1 [127.0.0.1]* X=TLS1.x:ke-RSA-AES256-SHAnnn:xxx CV=no C="250 OK id=10HmbI-0005vi-00" 1999-03-02 09:44:33 10HmbE-0005vi-00 Completed 1999-03-02 09:44:33 End queue run: pid=pppp -qqf -1999-03-02 09:44:33 10HmbJ-0005vi-00 <= CALLER@myhost.test.ex U=CALLER P=local S=sss for userx@test.ex -1999-03-02 09:44:33 10HmbK-0005vi-00 <= CALLER@myhost.test.ex U=CALLER P=local S=sss for usery@test.ex -1999-03-02 09:44:33 10HmbL-0005vi-00 <= CALLER@myhost.test.ex U=CALLER P=local S=sss for userz@test.ex +1999-03-02 09:44:33 10HmbJ-0005vi-00 <= CALLER@myhost.test.ex U=CALLER P=local S=sss for user_p@test.ex +1999-03-02 09:44:33 10HmbK-0005vi-00 <= CALLER@myhost.test.ex U=CALLER P=local S=sss for user_q@test.ex +1999-03-02 09:44:33 10HmbL-0005vi-00 <= CALLER@myhost.test.ex U=CALLER P=local S=sss for user_r@test.ex 1999-03-02 09:44:33 Start queue run: pid=pppp -qqf -1999-03-02 09:44:33 10HmbJ-0005vi-00 => userx@test.ex R=client T=send_to_server H=127.0.0.1 [127.0.0.1] X=TLS1.x:ke-RSA-AES256-SHAnnn:xxx CV=yes C="250 OK id=10HmbM-0005vi-00" +1999-03-02 09:44:33 10HmbJ-0005vi-00 => user_p@test.ex R=client T=send_to_server H=127.0.0.1 [127.0.0.1] X=TLS1.x:ke-RSA-AES256-SHAnnn:xxx CV=yes C="250 OK id=10HmbM-0005vi-00" 1999-03-02 09:44:33 10HmbJ-0005vi-00 Completed -1999-03-02 09:44:33 10HmbL-0005vi-00 => userz@test.ex R=client T=send_to_server H=127.0.0.1 [127.0.0.1]* X=TLS1.x:ke-RSA-AES256-SHAnnn:xxx CV=yes C="250 OK id=10HmbN-0005vi-00" +1999-03-02 09:44:33 10HmbL-0005vi-00 => user_r@test.ex R=client T=send_to_server H=127.0.0.1 [127.0.0.1]* X=TLS1.x:ke-RSA-AES256-SHAnnn:xxx CV=yes C="250 OK id=10HmbN-0005vi-00" 1999-03-02 09:44:33 10HmbL-0005vi-00 Completed -1999-03-02 09:44:33 10HmbK-0005vi-00 => usery@test.ex R=client T=send_to_server H=127.0.0.1 [127.0.0.1]* X=TLS1.x:ke-RSA-AES256-SHAnnn:xxx CV=yes C="250 OK id=10HmbO-0005vi-00" +1999-03-02 09:44:33 10HmbK-0005vi-00 => user_q@test.ex R=client T=send_to_server H=127.0.0.1 [127.0.0.1]* X=TLS1.x:ke-RSA-AES256-SHAnnn:xxx CV=yes C="250 OK id=10HmbO-0005vi-00" 1999-03-02 09:44:33 10HmbK-0005vi-00 Completed 1999-03-02 09:44:33 End queue run: pid=pppp -qqf @@ -63,7 +63,7 @@ 1999-03-02 09:44:33 End queue run: pid=pppp -qf 1999-03-02 09:44:33 exim x.yz daemon started: pid=pppp, no queue runs, listening for SMTP on port PORT_D 1999-03-02 09:44:33 SMTP connection from [127.0.0.1]:1113 (TCP/IP connection count = 1) -1999-03-02 09:44:33 10HmbM-0005vi-00 <= CALLER@myhost.test.ex H=localhost (myhost.test.ex) [127.0.0.1]:1113 P=esmtps X=TLS1.x:ke-RSA-AES256-SHAnnn:xxx CV=no S=sss id=E10HmbJ-0005vi-00@myhost.test.ex for userx@test.ex -1999-03-02 09:44:33 10HmbN-0005vi-00 <= CALLER@myhost.test.ex H=localhost (myhost.test.ex) [127.0.0.1]:1113 P=esmtps X=TLS1.x:ke-RSA-AES256-SHAnnn:xxx CV=no S=sss id=E10HmbL-0005vi-00@myhost.test.ex for userz@test.ex -1999-03-02 09:44:33 10HmbO-0005vi-00 <= CALLER@myhost.test.ex H=localhost (myhost.test.ex) [127.0.0.1]:1113 P=esmtps X=TLS1.x:ke-RSA-AES256-SHAnnn:xxx CV=no S=sss id=E10HmbK-0005vi-00@myhost.test.ex for usery@test.ex +1999-03-02 09:44:33 10HmbM-0005vi-00 <= CALLER@myhost.test.ex H=localhost (myhost.test.ex) [127.0.0.1]:1113 P=esmtps X=TLS1.x:ke-RSA-AES256-SHAnnn:xxx CV=no S=sss id=E10HmbJ-0005vi-00@myhost.test.ex for user_p@test.ex +1999-03-02 09:44:33 10HmbN-0005vi-00 <= CALLER@myhost.test.ex H=localhost (myhost.test.ex) [127.0.0.1]:1113 P=esmtps X=TLS1.x:ke-RSA-AES256-SHAnnn:xxx CV=no S=sss id=E10HmbL-0005vi-00@myhost.test.ex for user_r@test.ex +1999-03-02 09:44:33 10HmbO-0005vi-00 <= CALLER@myhost.test.ex H=localhost (myhost.test.ex) [127.0.0.1]:1113 P=esmtps X=TLS1.x:ke-RSA-AES256-SHAnnn:xxx CV=no S=sss id=E10HmbK-0005vi-00@myhost.test.ex for user_q@test.ex 1999-03-02 09:44:33 SMTP connection from localhost (myhost.test.ex) [127.0.0.1]:1113 closed by QUIT diff --git a/test/log/1165 b/test/log/1165 index e35fd544f..54193cd06 100644 --- a/test/log/1165 +++ b/test/log/1165 @@ -1,7 +1,7 @@ -1999-03-02 09:44:33 10HmaX-0005vi-00 <= this-user@testhost.test.ex U=this-user P=local S=sss for other-user@test.ex -1999-03-02 09:44:33 10HmaX-0005vi-00 => other-user@test.ex R=to_server T=remote_smtp H=127.0.0.1 [127.0.0.1] X=TLS1.x:ke-RSA-AES256-SHAnnn:xxx CV=yes K C="250- 3nn byte chunk, total 3nn\\n250 OK id=10HmaY-0005vi-00" -1999-03-02 09:44:33 10HmaX-0005vi-00 Completed +2017-07-30 18:51:05.712 10HmaX-0005vi-00 <= this-user@testhost.test.ex U=this-user P=local S=sss for other-user@test.ex +2017-07-30 18:51:05.712 10HmaX-0005vi-00 => other-user@test.ex R=to_server T=remote_smtp H=127.0.0.1 [127.0.0.1] X=TLS1.x:ke-RSA-AES256-SHAnnn:xxx CV=yes K C="250- 3nn byte chunk, total 3nn\\n250 OK id=10HmaY-0005vi-00" +2017-07-30 18:51:05.712 10HmaX-0005vi-00 Completed ******** SERVER ******** -1999-03-02 09:44:33 exim x.yz daemon started: pid=pppp, no queue runs, listening for SMTP on port PORT_S -1999-03-02 09:44:33 10HmaY-0005vi-00 <= <> H=localhost (testhost.test.ex) [127.0.0.1] P=esmtps X=TLS1.x:ke-RSA-AES256-SHAnnn:xxx CV=no K S=sss id=E10HmaX-0005vi-00@testhost.test.ex for other-user@test.ex +2017-07-30 18:51:05.712 exim x.yz daemon started: pid=pppp, no queue runs, listening for SMTP on port PORT_S +2017-07-30 18:51:05.712 10HmaY-0005vi-00 <= <> H=localhost (testhost.test.ex) [127.0.0.1] P=esmtps X=TLS1.x:ke-RSA-AES256-SHAnnn:xxx CV=no K S=sss id=E10HmaX-0005vi-00@testhost.test.ex for other-user@test.ex diff --git a/test/log/4521 b/test/log/4521 index 61c5bdbd1..884906850 100644 --- a/test/log/4521 +++ b/test/log/4521 @@ -1,13 +1,13 @@ -1999-03-02 09:44:33 10HmaX-0005vi-00 <= sender@testhost.test.ex U=sender P=local S=sss for a@test.ex -1999-03-02 09:44:33 10HmaX-0005vi-00 => a@test.ex R=to_server T=remote_smtp_dkim H=127.0.0.1 [127.0.0.1] K C="250- 6nn byte chunk, total 6nn\\n250 OK id=10HmaY-0005vi-00" -1999-03-02 09:44:33 10HmaX-0005vi-00 Completed -1999-03-02 09:44:33 10HmaZ-0005vi-00 <= sender@testhost.test.ex U=sender P=local S=sss for b@test.ex -1999-03-02 09:44:33 10HmaZ-0005vi-00 => b@test.ex R=to_server T=remote_smtp_dkim H=127.0.0.1 [127.0.0.1] K C="250- 8nn byte chunk, total 8nn\\n250 OK id=10HmbA-0005vi-00" -1999-03-02 09:44:33 10HmaZ-0005vi-00 Completed +2017-07-30 18:51:05.712 10HmaX-0005vi-00 <= sender@testhost.test.ex U=sender P=local S=sss for a@test.ex +2017-07-30 18:51:05.712 10HmaX-0005vi-00 => a@test.ex R=to_server T=remote_smtp_dkim H=127.0.0.1 [127.0.0.1] K C="250- 6nn byte chunk, total 6nn\\n250 OK id=10HmaY-0005vi-00" +2017-07-30 18:51:05.712 10HmaX-0005vi-00 Completed +2017-07-30 18:51:05.712 10HmaZ-0005vi-00 <= sender@testhost.test.ex U=sender P=local S=sss for b@test.ex +2017-07-30 18:51:05.712 10HmaZ-0005vi-00 => b@test.ex R=to_server T=remote_smtp_dkim H=127.0.0.1 [127.0.0.1] K C="250- 8nn byte chunk, total 8nn\\n250 OK id=10HmbA-0005vi-00" +2017-07-30 18:51:05.712 10HmaZ-0005vi-00 Completed ******** SERVER ******** -1999-03-02 09:44:33 exim x.yz daemon started: pid=pppp, no queue runs, listening for SMTP on port PORT_S -1999-03-02 09:44:33 10HmaY-0005vi-00 DKIM: d=test.ex s=sel c=relaxed/relaxed a=rsa-sha256 b=1024 [verification succeeded] -1999-03-02 09:44:33 10HmaY-0005vi-00 <= <> H=localhost (testhost.test.ex) [127.0.0.1] P=esmtp K S=sss DKIM=test.ex id=E10HmaX-0005vi-00@testhost.test.ex for a@test.ex -1999-03-02 09:44:33 10HmbA-0005vi-00 DKIM: d=test.ex s=sel c=relaxed/relaxed a=rsa-sha256 b=1024 [verification succeeded] -1999-03-02 09:44:33 10HmbA-0005vi-00 <= <> H=localhost (testhost.test.ex) [127.0.0.1] P=esmtp K S=sss DKIM=test.ex id=E10HmaZ-0005vi-00@testhost.test.ex for b@test.ex +2017-07-30 18:51:05.712 exim x.yz daemon started: pid=pppp, no queue runs, listening for SMTP on port PORT_S +2017-07-30 18:51:05.712 10HmaY-0005vi-00 DKIM: d=test.ex s=sel c=relaxed/relaxed a=rsa-sha256 b=1024 [verification succeeded] +2017-07-30 18:51:05.712 10HmaY-0005vi-00 <= <> H=localhost (testhost.test.ex) [127.0.0.1] P=esmtp K S=sss DKIM=test.ex id=E10HmaX-0005vi-00@testhost.test.ex for a@test.ex +2017-07-30 18:51:05.712 10HmbA-0005vi-00 DKIM: d=test.ex s=sel c=relaxed/relaxed a=rsa-sha256 b=1024 [verification succeeded] +2017-07-30 18:51:05.712 10HmbA-0005vi-00 <= <> H=localhost (testhost.test.ex) [127.0.0.1] P=esmtp K S=sss DKIM=test.ex id=E10HmaZ-0005vi-00@testhost.test.ex for b@test.ex diff --git a/test/log/4522 b/test/log/4522 index 25a874941..7abd59e3e 100644 --- a/test/log/4522 +++ b/test/log/4522 @@ -1,7 +1,7 @@ ******** SERVER ******** -1999-03-02 09:44:33 exim x.yz daemon started: pid=pppp, no queue runs, listening for SMTP on port PORT_S -1999-03-02 09:44:33 10HmaX-0005vi-00 DKIM: d=test.ex s=sel c=simple/simple a=rsa-sha256 b=1024 [verification succeeded] -1999-03-02 09:44:33 10HmaX-0005vi-00 <= CALLER@bloggs.com H=(xxx) [127.0.0.1] P=esmtp K S=sss DKIM=test.ex id=qwerty1234@disco-zombie.net for a@test.ex -1999-03-02 09:44:33 10HmaY-0005vi-00 DKIM: d=test.ex s=sel c=simple/simple a=rsa-sha256 b=1024 [verification succeeded] -1999-03-02 09:44:33 10HmaY-0005vi-00 <= CALLER@bloggs.com H=(xxx) [127.0.0.1] P=esmtp K S=sss DKIM=test.ex id=qwerty1234@disco-zombie.net for a@test.ex +2017-07-30 18:51:05.712 exim x.yz daemon started: pid=pppp, no queue runs, listening for SMTP on port PORT_S +2017-07-30 18:51:05.712 10HmaX-0005vi-00 DKIM: d=test.ex s=sel c=simple/simple a=rsa-sha256 b=1024 [verification succeeded] +2017-07-30 18:51:05.712 10HmaX-0005vi-00 <= CALLER@bloggs.com H=(xxx) [127.0.0.1] P=esmtp K S=sss DKIM=test.ex id=qwerty1234@disco-zombie.net for a@test.ex +2017-07-30 18:51:05.712 10HmaY-0005vi-00 DKIM: d=test.ex s=sel c=simple/simple a=rsa-sha256 b=1024 [verification succeeded] +2017-07-30 18:51:05.712 10HmaY-0005vi-00 <= CALLER@bloggs.com H=(xxx) [127.0.0.1] P=esmtp K S=sss DKIM=test.ex id=qwerty1234@disco-zombie.net for a@test.ex diff --git a/test/log/5590 b/test/log/5590 index f872b82ce..def35fb66 100644 --- a/test/log/5590 +++ b/test/log/5590 @@ -1,7 +1,7 @@ ******** SERVER ******** -1999-03-02 09:44:33 exim x.yz daemon started: pid=pppp, no queue runs, listening for SMTP on port PORT_D -1999-03-02 09:44:33 10HmaX-0005vi-00 PRDR R=<bad1@test.ex> refusal -1999-03-02 09:44:33 10HmaX-0005vi-00 PRDR R=<good@test.ex> acceptance -1999-03-02 09:44:33 10HmaX-0005vi-00 PRDR R=<bad2@test.ex> refusal -1999-03-02 09:44:33 10HmaX-0005vi-00 <= someone@some.domain H=(tester) [127.0.0.1] P=esmtp PRDR K S=sss for bad1@test.ex good@test.ex bad2@test.ex +2017-07-30 18:51:05.712 exim x.yz daemon started: pid=pppp, no queue runs, listening for SMTP on port PORT_D +2017-07-30 18:51:05.712 10HmaX-0005vi-00 PRDR R=<bad1@test.ex> refusal +2017-07-30 18:51:05.712 10HmaX-0005vi-00 PRDR R=<good@test.ex> acceptance +2017-07-30 18:51:05.712 10HmaX-0005vi-00 PRDR R=<bad2@test.ex> refusal +2017-07-30 18:51:05.712 10HmaX-0005vi-00 <= someone@some.domain H=(tester) [127.0.0.1] P=esmtp PRDR K S=sss for bad1@test.ex good@test.ex bad2@test.ex diff --git a/test/log/5591 b/test/log/5591 index f5dd6534b..6585a5e3e 100644 --- a/test/log/5591 +++ b/test/log/5591 @@ -1,4 +1,4 @@ -1999-03-02 09:44:33 10HmaX-0005vi-00 <= sender@dom U=root P=local-bsmtp S=sss for usery@testhost.test.ex userz@testhost.test.ex -1999-03-02 09:44:33 10HmaX-0005vi-00 => usery@testhost.test.ex R=to_server T=remote_smtp H=127.0.0.1 [127.0.0.1] PRDR K C="250 first rcpt was good\\n250 OK, overall" -1999-03-02 09:44:33 10HmaX-0005vi-00 -> userz@testhost.test.ex R=to_server T=remote_smtp H=127.0.0.1 [127.0.0.1] PRDR K C="250 second rcpt was good\\n250 OK, overall" -1999-03-02 09:44:33 10HmaX-0005vi-00 Completed +2017-07-30 18:51:05.712 10HmaX-0005vi-00 <= sender@dom U=root P=local-bsmtp S=sss for usery@testhost.test.ex userz@testhost.test.ex +2017-07-30 18:51:05.712 10HmaX-0005vi-00 => usery@testhost.test.ex R=to_server T=remote_smtp H=127.0.0.1 [127.0.0.1] PRDR K C="250 first rcpt was good\\n250 OK, overall" +2017-07-30 18:51:05.712 10HmaX-0005vi-00 -> userz@testhost.test.ex R=to_server T=remote_smtp H=127.0.0.1 [127.0.0.1] PRDR K C="250 second rcpt was good\\n250 OK, overall" +2017-07-30 18:51:05.712 10HmaX-0005vi-00 Completed diff --git a/test/rejectlog/0900 b/test/rejectlog/0900 index e5eb296d5..5e1c0372c 100644 --- a/test/rejectlog/0900 +++ b/test/rejectlog/0900 @@ -1,7 +1,7 @@ ******** SERVER ******** -1999-03-02 09:44:33 H=(tester) [127.0.0.1] F=<someone@some.domain> rejected RCPT <dummy@reject.ex>: relay not permitted -1999-03-02 09:44:33 rejected from <someone@some.domain> H=(tester) [127.0.0.1]: Non-CRLF-terminated header, under CHUNKING: message abandoned +2017-07-30 18:51:05.712 H=(tester) [127.0.0.1] F=<someone@some.domain> rejected RCPT <dummy@reject.ex>: relay not permitted +2017-07-30 18:51:05.712 rejected from <someone@some.domain> H=(tester) [127.0.0.1]: Non-CRLF-terminated header, under CHUNKING: message abandoned Envelope-from: <someone@some.domain> Envelope-to: <CALLER@test.ex> To: Susan@random.com diff --git a/test/runtest b/test/runtest index ed01ba7c0..229581005 100755 --- a/test/runtest +++ b/test/runtest @@ -1152,6 +1152,8 @@ RESET_AFTER_EXTRA_LINE_READ: # drop pdkim debugging header next if /^DKIM( <<<<<<<<<<<<<<<<<<<<<<<<<<<<<+|: no signatures)$/; + # Some platforms have TIOCOUTome do not + next if /\d+ bytes remain in socket output buffer$/; # Various other IPv6 lines must be omitted too next if /using host_fake_gethostbyname for \S+ \(IPv6\)/; diff --git a/test/scripts/0000-Basic/0623 b/test/scripts/0000-Basic/0623 new file mode 100644 index 000000000..315bc4914 --- /dev/null +++ b/test/scripts/0000-Basic/0623 @@ -0,0 +1,114 @@ +# PIPELINING of QUIT +need_ipv4 +# +# Baseline: no error. Check the QUIT arrived befre we ack message-data +server PORT_D +220 Server ready +EHLO +250-hi there +250-PIPELINING +250 OK +MAIL FROM +250 OK mail +RCPT TO +250 OK rcpt +DATA +300 go ahead +. +QUIT +250 OK message data +221 Closing connection +**** +exim -odi good@test.ex +**** +# +# QUIT-pipeliining should not be done when PIPELINING not advertised +server PORT_D +220 Server ready +EHLO +250-hi there +250 OK +MAIL FROM +250 OK mail +RCPT TO +250 OK rcpt +DATA +300 go ahead +. +250 OK message data +*sleep 1 +<< +QUIT +221 Closing connection +**** +exim -odi nopipe@test.ex +**** +# +# Temp-error response to message-data +# Check specifically for a close, and no repeated command +# Also check Exim's list of commands sent +server PORT_D +220 Server ready +EHLO +250-hi there +250-PIPELINING +250 OK +MAIL FROM +250 OK mail +RCPT TO +250 OK rcpt +DATA +300 go ahead +. +QUIT +451 Service not available +221 Closing connection +*eof +**** +exim -d-all+transport -odi tempreject@test.ex +**** +exim -Mrm $msg1 +**** +# +# Perm-error response to message-data +server PORT_D +220 Server ready +EHLO +250-hi there +250-PIPELINING +250 OK +MAIL FROM +250 OK mail +RCPT TO +250 OK rcpt +DATA +300 go ahead +. +QUIT +550 content rejected +221 Closing connection +*eof +**** +exim -d-all+transport -odi permreject@test.ex +**** +# +# Channel-close response to message-data +server PORT_D +220 Server ready +EHLO +250-hi there +250-PIPELINING +250 OK +MAIL FROM +250 OK mail +RCPT TO +250 OK rcpt +DATA +300 go ahead +. +>*eof +**** +exim -d-all+transport -odi permreject@test.ex +**** +exim -Mrm $msg1 +**** diff --git a/test/scripts/0000-Basic/0904 b/test/scripts/0000-Basic/0904 index fa72256c0..9f09a84ef 100644 --- a/test/scripts/0000-Basic/0904 +++ b/test/scripts/0000-Basic/0904 @@ -206,29 +206,34 @@ QUIT **** # # Error case: server wrongly expected more data, client gets timeout for data-ack -server PORT_S -220 Greetings -EHLO -250-Hello there -250-PIPELINING -250 CHUNKING -MAIL FROM -RCPT TO -BDAT 329 LAST -*data 330 -250 good mail cmd -**** -sudo exim -odf -bS -EHLO test -MAIL FROM:<sender@source.dom> -RCPT TO:<q@test.ex> -DATA -Subject: foo - -data -. -QUIT -**** +# XXX This is a problem with data/quit pipelining. The succeeding SMTP command cannot +# be distinguished from the data, by the errroneous server. +# Of course, we could avoid such pipelining on the client side, when BDAT is used. +# But - is this any worse than a server failing to spot the data-dot under DATA? +# I think not; both are culpable, and there is only so much the client can do. +#server PORT_S +#220 Greetings +#EHLO +#250-Hello there +#250-PIPELINING +#250 CHUNKING +#MAIL FROM +#RCPT TO +#BDAT 329 LAST +#*data 330 +#250 good mail cmd +#**** +#sudo exim -odf -bS +#EHLO test +#MAIL FROM:<sender@source.dom> +#RCPT TO:<q@test.ex> +#DATA +#Subject: foo +# +#data +#. +#QUIT +#**** # # Error case: server wrongly expected less data # client get the data-ack, sends quit - but server diff --git a/test/scripts/0000-Basic/0911 b/test/scripts/0000-Basic/0911 new file mode 100644 index 000000000..c6979899b --- /dev/null +++ b/test/scripts/0000-Basic/0911 @@ -0,0 +1,142 @@ +# CHUNKING and PIPELINING of QUIT +need_ipv4 +# +# Chunking Baseline: no error. Check the QUIT arrived befre we ack message-data +server PORT_D +220 Server ready +EHLO +250-hi there +250-PIPELINING +250-CHUNKING +250 OK +MAIL FROM +RCPT TO +BDAT 313 LAST +250 OK mail +250 OK rcpt +*data 313 +QUIT +250 OK chunked message data +221 Closing connection +**** +sudo exim -d-all+transport -odi -bs +helo tester +mail from:<fred@myhost.test.ex> +rcpt to:<good@test.ex> +data +. +quit +**** +# +# QUIT-pipeliining should not be done when PIPELINING not advertised +server PORT_D +220 Server ready +EHLO +250-hi there +250-CHUNKING +250 OK +MAIL FROM +250 OK mail +RCPT TO +250 OK rcpt +BDAT 315 LAST +*data 315 +250 OK chunked message data +QUIT +221 Closing connection +**** +sudo exim -d-all+transport -odi -bs +helo tester +mail from:<fred@myhost.test.ex> +rcpt to:<nopipe@test.ex> +data +. +quit +**** +# +# Temp-error response to message-data +# Check specifically for a close, and no repeated command +# Also check Exim's list of commands sent +server PORT_D +220 Server ready +EHLO +250-hi there +250-PIPELINING +250-CHUNKING +250 OK +MAIL FROM +250 OK mail +RCPT TO +250 OK rcpt +BDAT 319 LAST +*data 319 +QUIT +451 Service not available +221 Closing connection +*eof +**** +sudo exim -d-all+transport -odi -bs +helo tester +mail from:<fred@myhost.test.ex> +rcpt to:<tempreject@test.ex> +data +. +quit +**** +exim -Mrm $msg1 +**** +# +# Perm-error response to message-data +server PORT_D +220 Server ready +EHLO +250-hi there +250-PIPELINING +250-CHUNKING +250 OK +MAIL FROM +250 OK mail +RCPT TO +250 OK rcpt +BDAT 319 LAST +*data 319 +QUIT +550 content rejected +221 Closing connection +*eof +**** +sudo exim -d-all+transport -odi -bs +helo tester +mail from:<fred@myhost.test.ex> +rcpt to:<permreject@test.ex> +data +. +quit +**** +# +# Channel-close response to message-data +server PORT_D +220 Server ready +EHLO +250-hi there +250-PIPELINING +250-CHUNKING +250 OK +MAIL FROM +250 OK mail +RCPT TO +250 OK rcpt +BDAT 317 LAST +*data 317 +>*eof +**** +sudo exim -d-all+transport -odi -bs +helo tester +mail from:<fred@myhost.test.ex> +rcpt to:<dataloss@test.ex> +data +. +quit +**** +exim -Mrm $msg1 +**** diff --git a/test/scripts/1100-Basic-TLS/1157 b/test/scripts/1100-Basic-TLS/1157 index afbc9a6b7..1a271e2a2 100644 --- a/test/scripts/1100-Basic-TLS/1157 +++ b/test/scripts/1100-Basic-TLS/1157 @@ -38,13 +38,13 @@ exim -DSERVER=server -DNOTDAEMON -qf # no tls proxy (default for test was permitting proxy) exim -DSERVER=server -bd -oX PORT_D **** -exim userx@test.ex +exim user_p@test.ex Test message 1 **** -exim usery@test.ex +exim user_q@test.ex Test message 2 **** -exim userz@test.ex +exim user_r@test.ex Test message 3 **** exim -d-all+acl '-DPEX=*' -qqf diff --git a/test/stderr/0143 b/test/stderr/0143 index 943af0453..02e23a8ac 100644 --- a/test/stderr/0143 +++ b/test/stderr/0143 @@ -51,6 +51,8 @@ transport_check_waiting entered transport_check_waiting: FALSE SMTP+> QUIT cmd buf flush ddd bytes (more expected) + SMTP(shutdown)>> + SMTP<< 250 OK SMTP(close)>> Leaving my_smtp transport LOG: MAIN diff --git a/test/stderr/0217 b/test/stderr/0217 index 827baa5ed..a1efa5cdd 100644 --- a/test/stderr/0217 +++ b/test/stderr/0217 @@ -415,6 +415,8 @@ Connecting to 127.0.0.1 [127.0.0.1]:1224 ... connected LOG: MAIN H=127.0.0.1 [127.0.0.1]: SMTP error from remote mail server after pipelined DATA: 403 Sorry temp data error SMTP+> QUIT + SMTP(shutdown)>> + SMTP<< 250 OK SMTP(close)>> LOG: MAIN == yes@test.ex R=client T=send_to_server defer (-46) H=127.0.0.1 [127.0.0.1]: SMTP error from remote mail server after pipelined DATA: 403 Sorry temp data error @@ -850,6 +852,8 @@ Connecting to 127.0.0.1 [127.0.0.1]:1224 ... connected SMTP>> writing message and terminating "." SMTP<< 250 OK SMTP+> QUIT + SMTP(shutdown)>> + SMTP(closed)<< SMTP(close)>> LOG: MAIN => w@test.ex R=client T=send_to_server H=127.0.0.1 [127.0.0.1] C="250 OK" diff --git a/test/stderr/0218 b/test/stderr/0218 index 2ff9c985f..c07bd2a46 100644 --- a/test/stderr/0218 +++ b/test/stderr/0218 @@ -54,8 +54,10 @@ T: send_to_server (ACL) SMTP<< 250 OK SMTP<< 351 Send more SMTP>> writing message and terminating "." - SMTP<< 250 OK SMTP+> QUIT + SMTP(shutdown)>> + SMTP<< 250 OK + SMTP<< 250 OK SMTP(close)>> LOG: MAIN => b@test.ex F=<CALLER@test.ex> R=client T=send_to_server H=127.0.0.1 [127.0.0.1]* L C="250 OK" @@ -99,6 +101,8 @@ Connecting to 127.0.0.1 [127.0.0.1]:1224 ... connected SMTP<< 503 Unexpected RCPT SMTP<< 503 Unexpected DATA SMTP+> QUIT + SMTP(shutdown)>> + SMTP<< 250 OK SMTP(close)>> LOG: MAIN ** a@test.ex F=<CALLER@test.ex> R=client T=send_to_server H=127.0.0.1 [127.0.0.1]: SMTP error from remote mail server after pipelined MAIL FROM:<CALLER@test.ex>: 550 NO @@ -191,8 +195,10 @@ T: send_to_server (ACL) SMTP<< 250 OK SMTP<< 351 OK SMTP>> writing message and terminating "." - SMTP<< 250 OK SMTP+> QUIT + SMTP(shutdown)>> + SMTP<< 250 OK + SMTP<< 250 OK SMTP(close)>> LOG: MAIN => c@test.ex F=<CALLER@test.ex> R=client T=send_to_server H=127.0.0.1 [127.0.0.1]* L C="250 OK" diff --git a/test/stderr/0276 b/test/stderr/0276 index 5894d75d0..3519ecf16 100644 --- a/test/stderr/0276 +++ b/test/stderr/0276 @@ -14,6 +14,8 @@ Connecting to 127.0.0.1 [127.0.0.1]:1224 ... connected SMTP<< 250 OK SMTP<< 500 NO SMTP+> QUIT + SMTP(shutdown)>> + SMTP<< 200 OK SMTP(close)>> LOG: MAIN ** userx@test.ex R=r1 T=t1 H=127.0.0.1 [127.0.0.1]: SMTP error from remote mail server after pipelined DATA: 500 NO @@ -48,6 +50,8 @@ Connecting to 127.0.0.1 [127.0.0.1]:1224 ... connected SMTP>> DATA SMTP<< 500 NO SMTP+> QUIT + SMTP(shutdown)>> + SMTP<< 200 OK SMTP(close)>> LOG: MAIN ** usery@test.ex R=r1 T=t1 H=127.0.0.1 [127.0.0.1]: SMTP error from remote mail server after DATA: 500 NO diff --git a/test/stderr/0388 b/test/stderr/0388 index 453635893..939aba184 100644 --- a/test/stderr/0388 +++ b/test/stderr/0388 @@ -100,12 +100,13 @@ LOG: MAIN added retry item for R:x@y: errno=-44 more_errno=dd,A flags=0 SMTP+> QUIT cmd buf flush ddd bytes (more expected) + SMTP(shutdown)>> + SMTP<< 250 OK SMTP(close)>> set_process_info: pppp delivering 10HmaX-0005vi-00: just tried 127.0.0.1 [127.0.0.1]:PORT_S for x@y: result OK address match test: subject=*@127.0.0.1 pattern=* 127.0.0.1 in "*"? yes (matched "*") *@127.0.0.1 in "*"? yes (matched "*") -set_process_info: pppp delivering 10HmaX-0005vi-00: waiting for a remote delivery subprocess to finish checking status of V4NET.0.0.0 locking TESTSUITE/spool/db/retry.lockfile locked TESTSUITE/spool/db/retry.lockfile @@ -120,6 +121,7 @@ LOG: MAIN H=V4NET.0.0.0 [V4NET.0.0.0] Network Error set_process_info: pppp delivering 10HmaX-0005vi-00: just tried V4NET.0.0.0 [V4NET.0.0.0]:PORT_S for x@y: result DEFER added retry item for T:V4NET.0.0.0:V4NET.0.0.0:1224: errno=dd more_errno=dd,A flags=2 +set_process_info: pppp delivering 10HmaX-0005vi-00: waiting for a remote delivery subprocess to finish set_process_info: pppp delivering 10HmaX-0005vi-00 (just run smtp for x@y in subprocess) search_tidyup called reading retry information for T:V4NET.0.0.0:V4NET.0.0.0:1224 from subprocess diff --git a/test/stderr/0450 b/test/stderr/0450 index 9552e3830..b665681b0 100644 --- a/test/stderr/0450 +++ b/test/stderr/0450 @@ -24,7 +24,7 @@ LOG: MAIN added retry item for T:127.0.0.1:127.0.0.1:1225: errno=dd more_errno=dd,A flags=2 all IP addresses skipped or deferred at least one address updating wait-t1 database -added to list for 127.0.0.1 +added 10HmaX-0005vi-00 to queue for 127.0.0.1 Leaving t1 transport LOG: MAIN == userx@test.ex R=r1 T=t1 defer (dd): Connection refused diff --git a/test/stderr/0467 b/test/stderr/0467 index 5cc2f0a58..54d1e8bc1 100644 --- a/test/stderr/0467 +++ b/test/stderr/0467 @@ -30,6 +30,8 @@ Connecting to localhost.test.ex [127.0.0.1]:1224 ... connected SMTP>> writing message and terminating "." SMTP<< 250 OK SMTP+> QUIT + SMTP(shutdown)>> + SMTP<< 250 OK SMTP(close)>> LOG: MAIN => x@srv27.test.ex R=r1 T=t1 H=localhost.test.ex [127.0.0.1]:1224 C="250 OK" diff --git a/test/stderr/0476 b/test/stderr/0476 index 152bfd850..98baf5120 100644 --- a/test/stderr/0476 +++ b/test/stderr/0476 @@ -91,7 +91,7 @@ set_process_info: pppp delivering 10HmaZ-0005vi-00: just tried 127.0.0.1 [127.0. added retry item for T:127.0.0.1:127.0.0.1:1224: errno=dd more_errno=dd,A flags=2 all IP addresses skipped or deferred at least one address updating wait-t1 database -added to list for 127.0.0.1 +added 10HmaZ-0005vi-00 to queue for 127.0.0.1 Leaving t1 transport set_process_info: pppp delivering 10HmaZ-0005vi-00 (just run t1 for CALLER@the.local.host.name in subprocess) set_process_info: pppp delivering 10HmaZ-0005vi-00: waiting for a remote delivery subprocess to finish @@ -120,7 +120,7 @@ no message retry record 127.0.0.1 [127.0.0.1]:1111 retry-status = unusable all IP addresses skipped or deferred at least one address updating wait-t1 database -added to list for 127.0.0.1 +added 10HmaY-0005vi-00 to queue for 127.0.0.1 Leaving t1 transport set_process_info: pppp delivering 10HmaY-0005vi-00 (just run t1 for usery@test.ex in subprocess) set_process_info: pppp running queue: waiting for 10HmaY-0005vi-00 (pppp) diff --git a/test/stderr/0623 b/test/stderr/0623 new file mode 100644 index 000000000..8abd7b075 --- /dev/null +++ b/test/stderr/0623 @@ -0,0 +1,190 @@ +Exim version x.yz .... +configuration file is TESTSUITE/test-config +admin user +LOG: MAIN + <= CALLER@myhost.test.ex U=CALLER P=local S=sss +Exim version x.yz .... +configuration file is TESTSUITE/test-config +trusted user +admin user +dropping to exim gid; retaining priv uid +>>>>>>>>>>>>>>>> Remote deliveries >>>>>>>>>>>>>>>> +--------> tempreject@test.ex <-------- +send_to_server transport entered + tempreject@test.ex +using the transport's hosts: 127.0.0.1 +getting address for 127.0.0.1 +checking status of 127.0.0.1 +127.0.0.1 [127.0.0.1]:1111 retry-status = usable +delivering 10HmaZ-0005vi-00 to 127.0.0.1 [127.0.0.1] (tempreject@test.ex) +Connecting to 127.0.0.1 [127.0.0.1]:1225 ... connected + SMTP<< 220 Server ready + SMTP>> EHLO myhost.test.ex +cmd buf flush ddd bytes + SMTP<< 250-hi there + 250-PIPELINING + 250 OK +using PIPELINING +not using DSN + SMTP|> MAIL FROM:<> + SMTP|> RCPT TO:<tempreject@test.ex> + SMTP>> DATA +cmd buf flush ddd bytes +sync_responses expect mail + SMTP<< 250 OK mail +sync_responses expect rcpt for tempreject@test.ex + SMTP<< 250 OK rcpt +sync_responses expect data + SMTP<< 300 go ahead + SMTP>> writing message and terminating "." +transport_check_waiting entered + sequence=1 local_max=500 global_max=-1 + no messages waiting for 127.0.0.1 +transport_check_waiting: FALSE +will pipeline QUIT +cannot use sendfile for body: spoolfile not wireformat +writing data block fd=dddd size=sss timeout=300 (more expected) + SMTP+> QUIT +cmd buf flush ddd bytes (more expected) + SMTP(shutdown)>> + SMTP<< 451 Service not available +LOG: MAIN + H=127.0.0.1 [127.0.0.1]: SMTP error from remote mail server after end of data: 451 Service not available +ok=0 send_quit=0 send_rset=1 continue_more=0 yield=0 first_address is NULL + SMTP<< 221 Closing connection + SMTP(close)>> +added retry item for T:127.0.0.1:127.0.0.1:1225:10HmaZ-0005vi-00: errno=-46 more_errno=dd,A flags=6 +all IP addresses skipped or deferred at least one address +Leaving send_to_server transport +LOG: MAIN + == tempreject@test.ex R=client T=send_to_server defer (-46) H=127.0.0.1 [127.0.0.1]: SMTP error from remote mail server after end of data: 451 Service not available +>>>>>>>>>>>>>>>> Exim pid=pppp (local-accept-delivery) terminating with rc=0 >>>>>>>>>>>>>>>> +>>>>>>>>>>>>>>>> Exim pid=pppp (fresh-exec) terminating with rc=0 >>>>>>>>>>>>>>>> +Exim version x.yz .... +configuration file is TESTSUITE/test-config +admin user +LOG: MAIN + <= CALLER@myhost.test.ex U=CALLER P=local S=sss +Exim version x.yz .... +configuration file is TESTSUITE/test-config +trusted user +admin user +dropping to exim gid; retaining priv uid +>>>>>>>>>>>>>>>> Remote deliveries >>>>>>>>>>>>>>>> +--------> permreject@test.ex <-------- +send_to_server transport entered + permreject@test.ex +using the transport's hosts: 127.0.0.1 +getting address for 127.0.0.1 +checking status of 127.0.0.1 +no host retry record +no message retry record +127.0.0.1 [127.0.0.1]:1111 retry-status = usable +delivering 10HmbA-0005vi-00 to 127.0.0.1 [127.0.0.1] (permreject@test.ex) +Connecting to 127.0.0.1 [127.0.0.1]:1225 ... connected + SMTP<< 220 Server ready + SMTP>> EHLO myhost.test.ex +cmd buf flush ddd bytes + SMTP<< 250-hi there + 250-PIPELINING + 250 OK +using PIPELINING +not using DSN + SMTP|> MAIL FROM:<> + SMTP|> RCPT TO:<permreject@test.ex> + SMTP>> DATA +cmd buf flush ddd bytes +sync_responses expect mail + SMTP<< 250 OK mail +sync_responses expect rcpt for permreject@test.ex + SMTP<< 250 OK rcpt +sync_responses expect data + SMTP<< 300 go ahead + SMTP>> writing message and terminating "." +transport_check_waiting entered + sequence=1 local_max=500 global_max=-1 + no messages waiting for 127.0.0.1 +transport_check_waiting: FALSE +will pipeline QUIT +cannot use sendfile for body: spoolfile not wireformat +writing data block fd=dddd size=sss timeout=300 (more expected) + SMTP+> QUIT +cmd buf flush ddd bytes (more expected) + SMTP(shutdown)>> + SMTP<< 550 content rejected +ok=0 send_quit=0 send_rset=1 continue_more=0 yield=0 first_address is NULL + SMTP<< 221 Closing connection + SMTP(close)>> +Leaving send_to_server transport +LOG: MAIN + ** permreject@test.ex R=client T=send_to_server H=127.0.0.1 [127.0.0.1]: SMTP error from remote mail server after end of data: 550 content rejected +LOG: MAIN + permreject@test.ex: error ignored +LOG: MAIN + Completed +>>>>>>>>>>>>>>>> Exim pid=pppp (local-accept-delivery) terminating with rc=0 >>>>>>>>>>>>>>>> +>>>>>>>>>>>>>>>> Exim pid=pppp (fresh-exec) terminating with rc=0 >>>>>>>>>>>>>>>> +Exim version x.yz .... +configuration file is TESTSUITE/test-config +admin user +LOG: MAIN + <= CALLER@myhost.test.ex U=CALLER P=local S=sss +Exim version x.yz .... +configuration file is TESTSUITE/test-config +trusted user +admin user +dropping to exim gid; retaining priv uid +>>>>>>>>>>>>>>>> Remote deliveries >>>>>>>>>>>>>>>> +--------> permreject@test.ex <-------- +send_to_server transport entered + permreject@test.ex +using the transport's hosts: 127.0.0.1 +getting address for 127.0.0.1 +checking status of 127.0.0.1 +no host retry record +no message retry record +127.0.0.1 [127.0.0.1]:1111 retry-status = usable +delivering 10HmbB-0005vi-00 to 127.0.0.1 [127.0.0.1] (permreject@test.ex) +Connecting to 127.0.0.1 [127.0.0.1]:1225 ... connected + SMTP<< 220 Server ready + SMTP>> EHLO myhost.test.ex +cmd buf flush ddd bytes + SMTP<< 250-hi there + 250-PIPELINING + 250 OK +using PIPELINING +not using DSN + SMTP|> MAIL FROM:<> + SMTP|> RCPT TO:<permreject@test.ex> + SMTP>> DATA +cmd buf flush ddd bytes +sync_responses expect mail + SMTP<< 250 OK mail +sync_responses expect rcpt for permreject@test.ex + SMTP<< 250 OK rcpt +sync_responses expect data + SMTP<< 300 go ahead + SMTP>> writing message and terminating "." +transport_check_waiting entered + sequence=1 local_max=500 global_max=-1 + no messages waiting for 127.0.0.1 +transport_check_waiting: FALSE +will pipeline QUIT +cannot use sendfile for body: spoolfile not wireformat +writing data block fd=dddd size=sss timeout=300 (more expected) + SMTP+> QUIT +cmd buf flush ddd bytes (more expected) + SMTP(shutdown)>> + SMTP(closed)<< +LOG: MAIN + H=127.0.0.1 [127.0.0.1]: Remote host closed connection in response to end of data +ok=0 send_quit=0 send_rset=1 continue_more=0 yield=0 first_address is NULL + SMTP(closed)<< + SMTP(close)>> +added retry item for T:127.0.0.1:127.0.0.1:1225:10HmbB-0005vi-00: errno=-18 more_errno=dd,A flags=6 +all IP addresses skipped or deferred at least one address +Leaving send_to_server transport +LOG: MAIN + == permreject@test.ex R=client T=send_to_server defer (-18) H=127.0.0.1 [127.0.0.1]: Remote host closed connection in response to end of data +>>>>>>>>>>>>>>>> Exim pid=pppp (local-accept-delivery) terminating with rc=0 >>>>>>>>>>>>>>>> +>>>>>>>>>>>>>>>> Exim pid=pppp (fresh-exec) terminating with rc=0 >>>>>>>>>>>>>>>> diff --git a/test/stderr/0911 b/test/stderr/0911 new file mode 100644 index 000000000..6a6645ded --- /dev/null +++ b/test/stderr/0911 @@ -0,0 +1,335 @@ +Exim version x.yz .... +configuration file is TESTSUITE/test-config +trusted user +admin user +LOG: smtp_connection MAIN + SMTP connection from root +created log directory TESTSUITE/spool/log +LOG: MAIN + <= fred@myhost.test.ex U=root P=local-smtp S=sss +Exim version x.yz .... +configuration file is TESTSUITE/test-config +trusted user +admin user +dropping to exim gid; retaining priv uid +>>>>>>>>>>>>>>>> Remote deliveries >>>>>>>>>>>>>>>> +--------> good@test.ex <-------- +send_to_server transport entered + good@test.ex +using the transport's hosts: 127.0.0.1 +getting address for 127.0.0.1 +checking status of 127.0.0.1 +127.0.0.1 [127.0.0.1]:1111 retry-status = usable +delivering 10HmaX-0005vi-00 to 127.0.0.1 [127.0.0.1] (good@test.ex) +Connecting to 127.0.0.1 [127.0.0.1]:1225 ... connected + SMTP<< 220 Server ready + SMTP>> EHLO myhost.test.ex +cmd buf flush ddd bytes + SMTP<< 250-hi there + 250-PIPELINING + 250-CHUNKING + 250 OK +using PIPELINING +CHUNKING usable +not using DSN + SMTP|> MAIL FROM:<> + SMTP|> RCPT TO:<good@test.ex> + will write message using CHUNKING +transport_check_waiting entered + sequence=1 local_max=500 global_max=-1 + no messages waiting for 127.0.0.1 +transport_check_waiting: FALSE +will pipeline QUIT + SMTP+> BDAT 313 LAST +cmd buf flush ddd bytes (more expected) +cannot use sendfile for body: spoolfile not wireformat +writing data block fd=dddd size=sss timeout=300 (more expected) + SMTP+> QUIT +cmd buf flush ddd bytes (more expected) + SMTP(shutdown)>> +sync_responses expect mail + SMTP<< 250 OK mail +sync_responses expect rcpt for good@test.ex + SMTP<< 250 OK rcpt + SMTP<< 250 OK chunked message data +ok=1 send_quit=0 send_rset=0 continue_more=0 yield=0 first_address is NULL + SMTP<< 221 Closing connection + SMTP(close)>> +Leaving send_to_server transport +LOG: MAIN + => good@test.ex R=client T=send_to_server H=127.0.0.1 [127.0.0.1] L K C="250 OK chunked message data" +LOG: MAIN + Completed +>>>>>>>>>>>>>>>> Exim pid=pppp (local-accept-delivery) terminating with rc=0 >>>>>>>>>>>>>>>> +LOG: smtp_connection MAIN + SMTP connection from root closed by QUIT +>>>>>>>>>>>>>>>> Exim pid=pppp (fresh-exec) terminating with rc=0 >>>>>>>>>>>>>>>> +Exim version x.yz .... +configuration file is TESTSUITE/test-config +trusted user +admin user +LOG: smtp_connection MAIN + SMTP connection from root +LOG: MAIN + <= fred@myhost.test.ex U=root P=local-smtp S=sss +Exim version x.yz .... +configuration file is TESTSUITE/test-config +trusted user +admin user +dropping to exim gid; retaining priv uid +>>>>>>>>>>>>>>>> Remote deliveries >>>>>>>>>>>>>>>> +--------> nopipe@test.ex <-------- +send_to_server transport entered + nopipe@test.ex +using the transport's hosts: 127.0.0.1 +getting address for 127.0.0.1 +checking status of 127.0.0.1 +127.0.0.1 [127.0.0.1]:1111 retry-status = usable +delivering 10HmaY-0005vi-00 to 127.0.0.1 [127.0.0.1] (nopipe@test.ex) +Connecting to 127.0.0.1 [127.0.0.1]:1225 ... connected + SMTP<< 220 Server ready + SMTP>> EHLO myhost.test.ex +cmd buf flush ddd bytes + SMTP<< 250-hi there + 250-CHUNKING + 250 OK +not using PIPELINING +CHUNKING usable +not using DSN + SMTP>> MAIL FROM:<> +cmd buf flush ddd bytes + SMTP<< 250 OK mail + SMTP>> RCPT TO:<nopipe@test.ex> +cmd buf flush ddd bytes +sync_responses expect rcpt for nopipe@test.ex + SMTP<< 250 OK rcpt + will write message using CHUNKING + SMTP+> BDAT 315 LAST +cmd buf flush ddd bytes (more expected) +cannot use sendfile for body: spoolfile not wireformat +writing data block fd=dddd size=sss timeout=300 + SMTP<< 250 OK chunked message data +ok=1 send_quit=1 send_rset=0 continue_more=0 yield=0 first_address is NULL +transport_check_waiting entered + sequence=1 local_max=500 global_max=-1 + no messages waiting for 127.0.0.1 +transport_check_waiting: FALSE + SMTP+> QUIT +cmd buf flush ddd bytes (more expected) + SMTP(shutdown)>> + SMTP<< 221 Closing connection + SMTP(close)>> +Leaving send_to_server transport +LOG: MAIN + => nopipe@test.ex R=client T=send_to_server H=127.0.0.1 [127.0.0.1] K C="250 OK chunked message data" +LOG: MAIN + Completed +>>>>>>>>>>>>>>>> Exim pid=pppp (local-accept-delivery) terminating with rc=0 >>>>>>>>>>>>>>>> +LOG: smtp_connection MAIN + SMTP connection from root closed by QUIT +>>>>>>>>>>>>>>>> Exim pid=pppp (fresh-exec) terminating with rc=0 >>>>>>>>>>>>>>>> +Exim version x.yz .... +configuration file is TESTSUITE/test-config +trusted user +admin user +LOG: smtp_connection MAIN + SMTP connection from root +LOG: MAIN + <= fred@myhost.test.ex U=root P=local-smtp S=sss +Exim version x.yz .... +configuration file is TESTSUITE/test-config +trusted user +admin user +dropping to exim gid; retaining priv uid +>>>>>>>>>>>>>>>> Remote deliveries >>>>>>>>>>>>>>>> +--------> tempreject@test.ex <-------- +send_to_server transport entered + tempreject@test.ex +using the transport's hosts: 127.0.0.1 +getting address for 127.0.0.1 +checking status of 127.0.0.1 +127.0.0.1 [127.0.0.1]:1111 retry-status = usable +delivering 10HmaZ-0005vi-00 to 127.0.0.1 [127.0.0.1] (tempreject@test.ex) +Connecting to 127.0.0.1 [127.0.0.1]:1225 ... connected + SMTP<< 220 Server ready + SMTP>> EHLO myhost.test.ex +cmd buf flush ddd bytes + SMTP<< 250-hi there + 250-PIPELINING + 250-CHUNKING + 250 OK +using PIPELINING +CHUNKING usable +not using DSN + SMTP|> MAIL FROM:<> + SMTP|> RCPT TO:<tempreject@test.ex> + will write message using CHUNKING +transport_check_waiting entered + sequence=1 local_max=500 global_max=-1 + no messages waiting for 127.0.0.1 +transport_check_waiting: FALSE +will pipeline QUIT + SMTP+> BDAT 319 LAST +cmd buf flush ddd bytes (more expected) +cannot use sendfile for body: spoolfile not wireformat +writing data block fd=dddd size=sss timeout=300 (more expected) + SMTP+> QUIT +cmd buf flush ddd bytes (more expected) + SMTP(shutdown)>> +sync_responses expect mail + SMTP<< 250 OK mail +sync_responses expect rcpt for tempreject@test.ex + SMTP<< 250 OK rcpt + SMTP<< 451 Service not available +LOG: MAIN + H=127.0.0.1 [127.0.0.1]: SMTP error from remote mail server after pipelined end of data: 451 Service not available +ok=0 send_quit=0 send_rset=1 continue_more=0 yield=0 first_address is NULL + SMTP<< 221 Closing connection + SMTP(close)>> +added retry item for T:127.0.0.1:127.0.0.1:1225:10HmaZ-0005vi-00: errno=-46 more_errno=dd,A flags=6 +all IP addresses skipped or deferred at least one address +Leaving send_to_server transport +LOG: MAIN + == tempreject@test.ex R=client T=send_to_server defer (-46) H=127.0.0.1 [127.0.0.1]: SMTP error from remote mail server after pipelined end of data: 451 Service not available +>>>>>>>>>>>>>>>> Exim pid=pppp (local-accept-delivery) terminating with rc=0 >>>>>>>>>>>>>>>> +LOG: smtp_connection MAIN + SMTP connection from root closed by QUIT +>>>>>>>>>>>>>>>> Exim pid=pppp (fresh-exec) terminating with rc=0 >>>>>>>>>>>>>>>> +Exim version x.yz .... +configuration file is TESTSUITE/test-config +trusted user +admin user +LOG: smtp_connection MAIN + SMTP connection from root +LOG: MAIN + <= fred@myhost.test.ex U=root P=local-smtp S=sss +Exim version x.yz .... +configuration file is TESTSUITE/test-config +trusted user +admin user +dropping to exim gid; retaining priv uid +>>>>>>>>>>>>>>>> Remote deliveries >>>>>>>>>>>>>>>> +--------> permreject@test.ex <-------- +send_to_server transport entered + permreject@test.ex +using the transport's hosts: 127.0.0.1 +getting address for 127.0.0.1 +checking status of 127.0.0.1 +no host retry record +no message retry record +127.0.0.1 [127.0.0.1]:1111 retry-status = usable +delivering 10HmbA-0005vi-00 to 127.0.0.1 [127.0.0.1] (permreject@test.ex) +Connecting to 127.0.0.1 [127.0.0.1]:1225 ... connected + SMTP<< 220 Server ready + SMTP>> EHLO myhost.test.ex +cmd buf flush ddd bytes + SMTP<< 250-hi there + 250-PIPELINING + 250-CHUNKING + 250 OK +using PIPELINING +CHUNKING usable +not using DSN + SMTP|> MAIL FROM:<> + SMTP|> RCPT TO:<permreject@test.ex> + will write message using CHUNKING +transport_check_waiting entered + sequence=1 local_max=500 global_max=-1 + no messages waiting for 127.0.0.1 +transport_check_waiting: FALSE +will pipeline QUIT + SMTP+> BDAT 319 LAST +cmd buf flush ddd bytes (more expected) +cannot use sendfile for body: spoolfile not wireformat +writing data block fd=dddd size=sss timeout=300 (more expected) + SMTP+> QUIT +cmd buf flush ddd bytes (more expected) + SMTP(shutdown)>> +sync_responses expect mail + SMTP<< 250 OK mail +sync_responses expect rcpt for permreject@test.ex + SMTP<< 250 OK rcpt + SMTP<< 550 content rejected +ok=0 send_quit=0 send_rset=1 continue_more=0 yield=0 first_address is NULL + SMTP<< 221 Closing connection + SMTP(close)>> +Leaving send_to_server transport +LOG: MAIN + ** permreject@test.ex R=client T=send_to_server H=127.0.0.1 [127.0.0.1]: SMTP error from remote mail server after pipelined end of data: 550 content rejected +LOG: MAIN + permreject@test.ex: error ignored +LOG: MAIN + Completed +>>>>>>>>>>>>>>>> Exim pid=pppp (local-accept-delivery) terminating with rc=0 >>>>>>>>>>>>>>>> +LOG: smtp_connection MAIN + SMTP connection from root closed by QUIT +>>>>>>>>>>>>>>>> Exim pid=pppp (fresh-exec) terminating with rc=0 >>>>>>>>>>>>>>>> +Exim version x.yz .... +configuration file is TESTSUITE/test-config +trusted user +admin user +LOG: smtp_connection MAIN + SMTP connection from root +LOG: MAIN + <= fred@myhost.test.ex U=root P=local-smtp S=sss +Exim version x.yz .... +configuration file is TESTSUITE/test-config +trusted user +admin user +dropping to exim gid; retaining priv uid +>>>>>>>>>>>>>>>> Remote deliveries >>>>>>>>>>>>>>>> +--------> dataloss@test.ex <-------- +send_to_server transport entered + dataloss@test.ex +using the transport's hosts: 127.0.0.1 +getting address for 127.0.0.1 +checking status of 127.0.0.1 +no host retry record +no message retry record +127.0.0.1 [127.0.0.1]:1111 retry-status = usable +delivering 10HmbB-0005vi-00 to 127.0.0.1 [127.0.0.1] (dataloss@test.ex) +Connecting to 127.0.0.1 [127.0.0.1]:1225 ... connected + SMTP<< 220 Server ready + SMTP>> EHLO myhost.test.ex +cmd buf flush ddd bytes + SMTP<< 250-hi there + 250-PIPELINING + 250-CHUNKING + 250 OK +using PIPELINING +CHUNKING usable +not using DSN + SMTP|> MAIL FROM:<> + SMTP|> RCPT TO:<dataloss@test.ex> + will write message using CHUNKING +transport_check_waiting entered + sequence=1 local_max=500 global_max=-1 + no messages waiting for 127.0.0.1 +transport_check_waiting: FALSE +will pipeline QUIT + SMTP+> BDAT 317 LAST +cmd buf flush ddd bytes (more expected) +cannot use sendfile for body: spoolfile not wireformat +writing data block fd=dddd size=sss timeout=300 (more expected) + SMTP+> QUIT +cmd buf flush ddd bytes (more expected) + SMTP(shutdown)>> +sync_responses expect mail + SMTP<< 250 OK mail +sync_responses expect rcpt for dataloss@test.ex + SMTP<< 250 OK rcpt + SMTP(closed)<< +LOG: MAIN + H=127.0.0.1 [127.0.0.1]: Remote host closed connection in response to pipelined end of data +ok=0 send_quit=0 send_rset=1 continue_more=0 yield=0 first_address is NULL + SMTP(closed)<< + SMTP(close)>> +added retry item for T:127.0.0.1:127.0.0.1:1225:10HmbB-0005vi-00: errno=-18 more_errno=dd,A flags=6 +all IP addresses skipped or deferred at least one address +Leaving send_to_server transport +LOG: MAIN + == dataloss@test.ex R=client T=send_to_server defer (-18) H=127.0.0.1 [127.0.0.1]: Remote host closed connection in response to pipelined end of data +>>>>>>>>>>>>>>>> Exim pid=pppp (local-accept-delivery) terminating with rc=0 >>>>>>>>>>>>>>>> +LOG: smtp_connection MAIN + SMTP connection from root closed by QUIT +>>>>>>>>>>>>>>>> Exim pid=pppp (fresh-exec) terminating with rc=0 >>>>>>>>>>>>>>>> diff --git a/test/stderr/1150 b/test/stderr/1150 index 03ee03d70..9ba4234e7 100644 --- a/test/stderr/1150 +++ b/test/stderr/1150 @@ -25,8 +25,9 @@ Connecting to 127.0.0.1 [127.0.0.1]:1225 ... connected SMTP<< 250 Accepted SMTP<< 354 Enter message, ending with "." on a line by itself SMTP>> writing message and terminating "." + SMTP>> QUIT SMTP<< 250 OK id=10HmaZ-0005vi-00 - SMTP+> QUIT + SMTP<< 221 myhost.test.ex closing connection SMTP(close)>> LOG: MAIN => CALLER@test.ex R=client T=send_to_server1 H=127.0.0.1 [127.0.0.1] X=TLS1.x:ke-RSA-AES256-SHAnnn:xxx CV=yes C="250 OK id=10HmaZ-0005vi-00" @@ -59,8 +60,9 @@ Connecting to 127.0.0.1 [127.0.0.1]:1225 ... connected SMTP<< 250 Accepted SMTP<< 354 Enter message, ending with "." on a line by itself SMTP>> writing message and terminating "." + SMTP>> QUIT SMTP<< 250 OK id=10HmbA-0005vi-00 - SMTP+> QUIT + SMTP<< 221 myhost.test.ex closing connection SMTP(close)>> LOG: MAIN => CALLER@test.ex R=client T=send_to_server1 H=127.0.0.1 [127.0.0.1] X=TLS1.x:ke-RSA-AES256-SHAnnn:xxx CV=yes C="250 OK id=10HmbA-0005vi-00" @@ -90,8 +92,9 @@ Connecting to ip4.ip4.ip4.ip4 [ip4.ip4.ip4.ip4]:1225 ... connected SMTP<< 250 Accepted SMTP<< 354 Enter message, ending with "." on a line by itself SMTP>> writing message and terminating "." + SMTP>> QUIT SMTP<< 250 OK id=10HmbB-0005vi-00 - SMTP+> QUIT + SMTP<< 221 myhost.test.ex closing connection SMTP(close)>> LOG: MAIN => abcd@test.ex R=client T=send_to_server2 H=ip4.ip4.ip4.ip4 [ip4.ip4.ip4.ip4] X=TLS1.x:ke-RSA-AES256-SHAnnn:xxx CV=yes C="250 OK id=10HmbB-0005vi-00" diff --git a/test/stderr/1157 b/test/stderr/1157 index 321544e57..d5274fb8e 100644 --- a/test/stderr/1157 +++ b/test/stderr/1157 @@ -71,16 +71,19 @@ cmd buf flush ddd bytes SMTP<< 250 OK SMTP<< 250 Accepted SMTP<< 354 Enter message, ending with "." on a line by itself - SMTP<< 250 OK id=10HmbC-0005vi-00 SMTP+> QUIT cmd buf flush ddd bytes (more expected) + SMTP(shutdown)>> + SMTP(TLS shutdown)>> + SMTP<< 250 OK id=10HmbC-0005vi-00 + SMTP<< 221 myhost.test.ex closing connection SMTP(close)>> ->>>>>>>>>>>>>>>> Exim pid=pppp (tls-proxy) terminating with rc=0 >>>>>>>>>>>>>>>> LOG: MAIN => usery@test.ex R=client T=send_to_server H=127.0.0.1 [127.0.0.1]* X=TLS1.x:ke-RSA-AES256-SHAnnn:xxx CV=no C="250 OK id=10HmbC-0005vi-00" LOG: MAIN Completed >>>>>>>>>>>>>>>> Exim pid=pppp (continued-transport) terminating with rc=0 >>>>>>>>>>>>>>>> +>>>>>>>>>>>>>>>> Exim pid=pppp (tls-proxy) terminating with rc=0 >>>>>>>>>>>>>>>> LOG: queue_run MAIN End queue run: pid=pppp -qqf >>>>>>>>>>>>>>>> Exim pid=pppp (fresh-exec) terminating with rc=0 >>>>>>>>>>>>>>>> @@ -157,16 +160,19 @@ cmd buf flush ddd bytes SMTP<< 250 OK SMTP<< 250 Accepted SMTP<< 354 Enter message, ending with "." on a line by itself - SMTP<< 250 OK id=10HmbI-0005vi-00 SMTP+> QUIT cmd buf flush ddd bytes (more expected) + SMTP(shutdown)>> + SMTP(TLS shutdown)>> + SMTP<< 250 OK id=10HmbI-0005vi-00 + SMTP<< 221 myhost.test.ex closing connection SMTP(close)>> ->>>>>>>>>>>>>>>> Exim pid=pppp (tls-proxy) terminating with rc=0 >>>>>>>>>>>>>>>> LOG: MAIN => userb@test.ex R=cl_override T=send_to_server H=127.0.0.1 [127.0.0.1]* X=TLS1.x:ke-RSA-AES256-SHAnnn:xxx CV=no C="250 OK id=10HmbI-0005vi-00" LOG: MAIN Completed >>>>>>>>>>>>>>>> Exim pid=pppp (continued-transport) terminating with rc=0 >>>>>>>>>>>>>>>> +>>>>>>>>>>>>>>>> Exim pid=pppp (tls-proxy) terminating with rc=0 >>>>>>>>>>>>>>>> LOG: queue_run MAIN End queue run: pid=pppp -qqf >>>>>>>>>>>>>>>> Exim pid=pppp (fresh-exec) terminating with rc=0 >>>>>>>>>>>>>>>> @@ -200,7 +206,7 @@ cmd buf flush ddd bytes 250-PIPELINING 250 HELP SMTP|> MAIL FROM:<CALLER@myhost.test.ex> SIZE=ssss - SMTP|> RCPT TO:<userx@test.ex> + SMTP|> RCPT TO:<user_p@test.ex> SMTP>> DATA cmd buf flush ddd bytes SMTP<< 250 OK @@ -217,7 +223,7 @@ cmd buf flush ddd bytes 250 HELP SMTP(close)>> LOG: MAIN - => userx@test.ex R=client T=send_to_server H=127.0.0.1 [127.0.0.1] X=TLS1.x:ke-RSA-AES256-SHAnnn:xxx CV=yes C="250 OK id=10HmbM-0005vi-00" + => user_p@test.ex R=client T=send_to_server H=127.0.0.1 [127.0.0.1] X=TLS1.x:ke-RSA-AES256-SHAnnn:xxx CV=yes C="250 OK id=10HmbM-0005vi-00" LOG: MAIN Completed >>>>>>>>>>>>>>>> Exim pid=pppp (qrun-delivery) terminating with rc=0 >>>>>>>>>>>>>>>> @@ -237,7 +243,7 @@ cmd buf flush ddd bytes 250-PIPELINING 250 HELP SMTP|> MAIL FROM:<CALLER@myhost.test.ex> SIZE=ssss - SMTP|> RCPT TO:<userz@test.ex> + SMTP|> RCPT TO:<user_r@test.ex> SMTP>> DATA cmd buf flush ddd bytes SMTP<< 250 OK @@ -254,7 +260,7 @@ cmd buf flush ddd bytes 250 HELP SMTP(close)>> LOG: MAIN - => userz@test.ex R=client T=send_to_server H=127.0.0.1 [127.0.0.1]* X=TLS1.x:ke-RSA-AES256-SHAnnn:xxx CV=yes C="250 OK id=10HmbN-0005vi-00" + => user_r@test.ex R=client T=send_to_server H=127.0.0.1 [127.0.0.1]* X=TLS1.x:ke-RSA-AES256-SHAnnn:xxx CV=yes C="250 OK id=10HmbN-0005vi-00" LOG: MAIN Completed >>>>>>>>>>>>>>>> Exim pid=pppp (continued-transport) terminating with rc=0 >>>>>>>>>>>>>>>> @@ -274,18 +280,19 @@ cmd buf flush ddd bytes 250-PIPELINING 250 HELP SMTP|> MAIL FROM:<CALLER@myhost.test.ex> SIZE=ssss - SMTP|> RCPT TO:<usery@test.ex> + SMTP|> RCPT TO:<user_q@test.ex> SMTP>> DATA cmd buf flush ddd bytes SMTP<< 250 OK SMTP<< 250 Accepted SMTP<< 354 Enter message, ending with "." on a line by itself + SMTP>> QUIT +cmd buf flush ddd bytes SMTP<< 250 OK id=10HmbO-0005vi-00 - SMTP+> QUIT -cmd buf flush ddd bytes (more expected) + SMTP<< 221 myhost.test.ex closing connection SMTP(close)>> LOG: MAIN - => usery@test.ex R=client T=send_to_server H=127.0.0.1 [127.0.0.1]* X=TLS1.x:ke-RSA-AES256-SHAnnn:xxx CV=yes C="250 OK id=10HmbO-0005vi-00" + => user_q@test.ex R=client T=send_to_server H=127.0.0.1 [127.0.0.1]* X=TLS1.x:ke-RSA-AES256-SHAnnn:xxx CV=yes C="250 OK id=10HmbO-0005vi-00" LOG: MAIN Completed >>>>>>>>>>>>>>>> Exim pid=pppp (continued-transport) terminating with rc=0 >>>>>>>>>>>>>>>> diff --git a/test/stderr/1160 b/test/stderr/1160 index a30224047..cdbad3614 100644 --- a/test/stderr/1160 +++ b/test/stderr/1160 @@ -16,8 +16,9 @@ Connecting to 127.0.0.1 [127.0.0.1]:1225 ... connected SMTP<< 250 Accepted SMTP<< 354 Enter message, ending with "." on a line by itself SMTP>> writing message and terminating "." + SMTP>> QUIT SMTP<< 250 OK id=10HmaZ-0005vi-00 - SMTP+> QUIT + SMTP<< 221 myhost.test.ex closing connection SMTP(close)>> LOG: MAIN => CALLER@test.ex R=client T=send_to_server1 H=127.0.0.1 [127.0.0.1] X=TLS1.x:ke-RSA-AES256-SHAnnn:xxx CV=yes C="250 OK id=10HmaZ-0005vi-00" @@ -41,8 +42,9 @@ Connecting to 127.0.0.1 [127.0.0.1]:1225 ... connected SMTP<< 250 Accepted SMTP<< 354 Enter message, ending with "." on a line by itself SMTP>> writing message and terminating "." + SMTP>> QUIT SMTP<< 250 OK id=10HmbA-0005vi-00 - SMTP+> QUIT + SMTP<< 221 myhost.test.ex closing connection SMTP(close)>> LOG: MAIN => CALLER@test.ex R=client T=send_to_server1 H=127.0.0.1 [127.0.0.1] X=TLS1.x:ke-RSA-AES256-SHAnnn:xxx CV=yes C="250 OK id=10HmbA-0005vi-00" @@ -63,8 +65,9 @@ Connecting to ip4.ip4.ip4.ip4 [ip4.ip4.ip4.ip4]:1225 ... connected SMTP<< 250 Accepted SMTP<< 354 Enter message, ending with "." on a line by itself SMTP>> writing message and terminating "." + SMTP>> QUIT SMTP<< 250 OK id=10HmbB-0005vi-00 - SMTP+> QUIT + SMTP<< 221 myhost.test.ex closing connection SMTP(close)>> LOG: MAIN => abcd@test.ex R=client T=send_to_server2 H=ip4.ip4.ip4.ip4 [ip4.ip4.ip4.ip4] X=TLS1.x:ke-RSA-AES256-SHAnnn:xxx CV=yes C="250 OK id=10HmbB-0005vi-00" diff --git a/test/stderr/2035 b/test/stderr/2035 index 95c3b7848..c15645ce0 100644 --- a/test/stderr/2035 +++ b/test/stderr/2035 @@ -64,13 +64,16 @@ writing data block fd=dddd size=sss timeout=300 ok=1 send_quit=1 send_rset=0 continue_more=0 yield=0 first_address is NULL SMTP+> QUIT cmd buf flush ddd bytes (more expected) + SMTP(shutdown)>> + SMTP(TLS shutdown)>> + SMTP<< 221 myhost.test.ex closing connection SMTP(close)>> ->>>>>>>>>>>>>>>> Exim pid=pppp (tls-proxy) terminating with rc=0 >>>>>>>>>>>>>>>> Leaving t1 transport LOG: MAIN => userb@test.ex R=client T=t1 H=127.0.0.1 [127.0.0.1]:1225 X=TLS1.x:ke-RSA-AES256-SHAnnn:xxx CV=no C="250 OK id=10HmaY-0005vi-00" LOG: MAIN Completed >>>>>>>>>>>>>>>> Exim pid=pppp (local-accept-delivery) terminating with rc=0 >>>>>>>>>>>>>>>> +>>>>>>>>>>>>>>>> Exim pid=pppp (tls-proxy) terminating with rc=0 >>>>>>>>>>>>>>>> ******** SERVER ******** diff --git a/test/stderr/2135 b/test/stderr/2135 index 95c3b7848..c15645ce0 100644 --- a/test/stderr/2135 +++ b/test/stderr/2135 @@ -64,13 +64,16 @@ writing data block fd=dddd size=sss timeout=300 ok=1 send_quit=1 send_rset=0 continue_more=0 yield=0 first_address is NULL SMTP+> QUIT cmd buf flush ddd bytes (more expected) + SMTP(shutdown)>> + SMTP(TLS shutdown)>> + SMTP<< 221 myhost.test.ex closing connection SMTP(close)>> ->>>>>>>>>>>>>>>> Exim pid=pppp (tls-proxy) terminating with rc=0 >>>>>>>>>>>>>>>> Leaving t1 transport LOG: MAIN => userb@test.ex R=client T=t1 H=127.0.0.1 [127.0.0.1]:1225 X=TLS1.x:ke-RSA-AES256-SHAnnn:xxx CV=no C="250 OK id=10HmaY-0005vi-00" LOG: MAIN Completed >>>>>>>>>>>>>>>> Exim pid=pppp (local-accept-delivery) terminating with rc=0 >>>>>>>>>>>>>>>> +>>>>>>>>>>>>>>>> Exim pid=pppp (tls-proxy) terminating with rc=0 >>>>>>>>>>>>>>>> ******** SERVER ******** diff --git a/test/stderr/3404 b/test/stderr/3404 index c1171586f..ea3f7e0a9 100644 --- a/test/stderr/3404 +++ b/test/stderr/3404 @@ -18,6 +18,8 @@ Connecting to 127.0.0.1 [127.0.0.1]:1224 ... connected SMTP>> writing message and terminating "." SMTP<< 250 OK SMTP+> QUIT + SMTP(shutdown)>> + SMTP<< 250 OK SMTP(close)>> LOG: MAIN => userx@domain.com R=all T=smtp H=127.0.0.1 [127.0.0.1] A=plain C="250 OK" @@ -43,6 +45,8 @@ Connecting to 127.0.0.1 [127.0.0.1]:1224 ... connected SMTP>> writing message and terminating "." SMTP<< 250 OK SMTP+> QUIT + SMTP(shutdown)>> + SMTP<< 250 OK SMTP(close)>> LOG: MAIN => userx@domain.com R=all T=smtp H=127.0.0.1 [127.0.0.1] A=plain C="250 OK" @@ -72,6 +76,8 @@ Connecting to 127.0.0.1 [127.0.0.1]:1224 ... connected SMTP>> writing message and terminating "." SMTP<< 250 OK SMTP+> QUIT + SMTP(shutdown)>> + SMTP<< 250 OK SMTP(close)>> LOG: MAIN => userx@domain.com R=all T=smtp H=127.0.0.1 [127.0.0.1] A=login C="250 OK" diff --git a/test/stderr/4052 b/test/stderr/4052 index c824cb477..4c0c1b1ca 100644 --- a/test/stderr/4052 +++ b/test/stderr/4052 @@ -48,16 +48,19 @@ sync_responses expect rcpt for extchange@test.ex sync_responses expect data SMTP<< 354 data go-ahead SMTP>> writing message and terminating "." -cannot use sendfile for body: spoolfile not wireformat -writing data block fd=dddd size=sss timeout=300 - SMTP<< 250 message accepted -ok=1 send_quit=1 send_rset=0 continue_more=0 yield=0 first_address is NULL transport_check_waiting entered sequence=1 local_max=500 global_max=-1 no messages waiting for 127.0.0.1 transport_check_waiting: FALSE +will pipeline QUIT +cannot use sendfile for body: spoolfile not wireformat +writing data block fd=dddd size=sss timeout=300 (more expected) SMTP+> QUIT cmd buf flush ddd bytes (more expected) + SMTP(shutdown)>> + SMTP<< 250 message accepted +ok=1 send_quit=0 send_rset=0 continue_more=0 yield=0 first_address is NULL + SMTP<< 220 bye SMTP(close)>> Leaving smtp transport LOG: MAIN diff --git a/test/stderr/4520 b/test/stderr/4520 index ad927fcbd..cfdbe6e29 100644 --- a/test/stderr/4520 +++ b/test/stderr/4520 @@ -47,9 +47,11 @@ DKIM-Signature:{SP}v=1;{SP}a=rsa-sha256;{SP}q=dns/txt;{SP}c=relaxed/relaxed;{SP} DKIM >> Signed DKIM-Signature header, canonicalized (relaxed) >>>>>>> dkim-signature:v=1;{SP}a=rsa-sha256;{SP}q=dns/txt;{SP}c=relaxed/relaxed;{SP}d=test.ex;{SP}s=sel_bad;{SP}h=From;{SP}bh=/Ab0giHZitYQbDhFszoqQRUkgqueaX9zatJttIU/plc=;{SP}b=; DKIM [test.ex] Header sha256 computed: 241e16230df5723d899cfae9474c6b376a2ab1f81d1094e358f50ffd0e0067b3 - SMTP<< 250 OK id=10HmbL-0005vi-00 SMTP+> QUIT cmd buf flush ddd bytes (more expected) + SMTP(shutdown)>> + SMTP<< 250 OK id=10HmbL-0005vi-00 + SMTP<< 221 myhost.test.ex closing connection SMTP(close)>> LOG: MAIN => d@test.ex R=client T=send_to_server H=ip4.ip4.ip4.ip4 [ip4.ip4.ip4.ip4] C="250 OK id=10HmbL-0005vi-00" diff --git a/test/stdout/0623 b/test/stdout/0623 new file mode 100644 index 000000000..1c571c961 --- /dev/null +++ b/test/stdout/0623 @@ -0,0 +1,133 @@ +Message 10HmaZ-0005vi-00 has been removed +Message 10HmbB-0005vi-00 has been removed + +******** SERVER ******** +Listening on port 1225 ... +Connection request from [127.0.0.1] +220 Server ready +EHLO myhost.test.ex +250-hi there +250-PIPELINING +250 OK +MAIL FROM:<> +250 OK mail +RCPT TO:<good@test.ex> +250 OK rcpt +DATA +300 go ahead +Received: from CALLER by myhost.test.ex with local (Exim x.yz) + (envelope-from <CALLER@myhost.test.ex>) + id 10HmaX-0005vi-00 + for good@test.ex; Tue, 2 Mar 1999 09:44:33 +0000 +Message-Id: <E10HmaX-0005vi-00@myhost.test.ex> +From: CALLER_NAME <CALLER@myhost.test.ex> +Date: Tue, 2 Mar 1999 09:44:33 +0000 + +. +QUIT +250 OK message data +221 Closing connection +End of script +Listening on port 1225 ... +Connection request from [127.0.0.1] +220 Server ready +EHLO myhost.test.ex +250-hi there +250 OK +MAIL FROM:<> +250 OK mail +RCPT TO:<nopipe@test.ex> +250 OK rcpt +DATA +300 go ahead +Received: from CALLER by myhost.test.ex with local (Exim x.yz) + (envelope-from <CALLER@myhost.test.ex>) + id 10HmaY-0005vi-00 + for nopipe@test.ex; Tue, 2 Mar 1999 09:44:33 +0000 +Message-Id: <E10HmaY-0005vi-00@myhost.test.ex> +From: CALLER_NAME <CALLER@myhost.test.ex> +Date: Tue, 2 Mar 1999 09:44:33 +0000 + +. +250 OK message data +*sleep 1 +<<QUIT +Unexpected EOF read from client +Listening on port 1225 ... +Connection request from [127.0.0.1] +220 Server ready +EHLO myhost.test.ex +250-hi there +250-PIPELINING +250 OK +MAIL FROM:<> +250 OK mail +RCPT TO:<tempreject@test.ex> +250 OK rcpt +DATA +300 go ahead +Received: from CALLER by myhost.test.ex with local (Exim x.yz) + (envelope-from <CALLER@myhost.test.ex>) + id 10HmaZ-0005vi-00 + for tempreject@test.ex; Tue, 2 Mar 1999 09:44:33 +0000 +Message-Id: <E10HmaZ-0005vi-00@myhost.test.ex> +From: CALLER_NAME <CALLER@myhost.test.ex> +Date: Tue, 2 Mar 1999 09:44:33 +0000 + +. +QUIT +451 Service not available +221 Closing connection +Expected EOF read from client +End of script +Listening on port 1225 ... +Connection request from [127.0.0.1] +220 Server ready +EHLO myhost.test.ex +250-hi there +250-PIPELINING +250 OK +MAIL FROM:<> +250 OK mail +RCPT TO:<permreject@test.ex> +250 OK rcpt +DATA +300 go ahead +Received: from CALLER by myhost.test.ex with local (Exim x.yz) + (envelope-from <CALLER@myhost.test.ex>) + id 10HmbA-0005vi-00 + for permreject@test.ex; Tue, 2 Mar 1999 09:44:33 +0000 +Message-Id: <E10HmbA-0005vi-00@myhost.test.ex> +From: CALLER_NAME <CALLER@myhost.test.ex> +Date: Tue, 2 Mar 1999 09:44:33 +0000 + +. +QUIT +550 content rejected +221 Closing connection +Expected EOF read from client +End of script +Listening on port 1225 ... +Connection request from [127.0.0.1] +220 Server ready +EHLO myhost.test.ex +250-hi there +250-PIPELINING +250 OK +MAIL FROM:<> +250 OK mail +RCPT TO:<permreject@test.ex> +250 OK rcpt +DATA +300 go ahead +Received: from CALLER by myhost.test.ex with local (Exim x.yz) + (envelope-from <CALLER@myhost.test.ex>) + id 10HmbB-0005vi-00 + for permreject@test.ex; Tue, 2 Mar 1999 09:44:33 +0000 +Message-Id: <E10HmbB-0005vi-00@myhost.test.ex> +From: CALLER_NAME <CALLER@myhost.test.ex> +Date: Tue, 2 Mar 1999 09:44:33 +0000 + +. +>*eof +End of script diff --git a/test/stdout/0904 b/test/stdout/0904 index 88755665f..6df789115 100644 --- a/test/stdout/0904 +++ b/test/stdout/0904 @@ -110,17 +110,6 @@ EHLO testhost.test.ex 250-PIPELINING 250 CHUNKING MAIL FROM:<> -RCPT TO:<q@test.ex> -BDAT 329 LAST -Unexpected EOF read from client -Listening on port 1224 ... -Connection request from [127.0.0.1] -220 Greetings -EHLO testhost.test.ex -250-Hello there -250-PIPELINING -250 CHUNKING -MAIL FROM:<> RCPT TO:<r@test.ex> BDAT 329 LAST 250 OK mail diff --git a/test/stdout/0911 b/test/stdout/0911 new file mode 100644 index 000000000..92db28ba7 --- /dev/null +++ b/test/stdout/0911 @@ -0,0 +1,123 @@ +220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000
+250 myhost.test.ex Hello root at tester
+250 OK
+250 Accepted
+354 Enter message, ending with "." on a line by itself
+250 OK id=10HmaX-0005vi-00
+221 myhost.test.ex closing connection
+220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000
+250 myhost.test.ex Hello root at tester
+250 OK
+250 Accepted
+354 Enter message, ending with "." on a line by itself
+250 OK id=10HmaY-0005vi-00
+221 myhost.test.ex closing connection
+220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000
+250 myhost.test.ex Hello root at tester
+250 OK
+250 Accepted
+354 Enter message, ending with "." on a line by itself
+250 OK id=10HmaZ-0005vi-00
+221 myhost.test.ex closing connection
+Message 10HmaZ-0005vi-00 has been removed +220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000
+250 myhost.test.ex Hello root at tester
+250 OK
+250 Accepted
+354 Enter message, ending with "." on a line by itself
+250 OK id=10HmbA-0005vi-00
+221 myhost.test.ex closing connection
+220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000
+250 myhost.test.ex Hello root at tester
+250 OK
+250 Accepted
+354 Enter message, ending with "." on a line by itself
+250 OK id=10HmbB-0005vi-00
+221 myhost.test.ex closing connection
+Message 10HmbB-0005vi-00 has been removed + +******** SERVER ******** +Listening on port 1225 ... +Connection request from [127.0.0.1] +220 Server ready +EHLO myhost.test.ex +250-hi there +250-PIPELINING +250-CHUNKING +250 OK +MAIL FROM:<> +RCPT TO:<good@test.ex> +BDAT 313 LAST +250 OK mail +250 OK rcpt +QUIT +250 OK chunked message data +221 Closing connection +End of script +Listening on port 1225 ... +Connection request from [127.0.0.1] +220 Server ready +EHLO myhost.test.ex +250-hi there +250-CHUNKING +250 OK +MAIL FROM:<> +250 OK mail +RCPT TO:<nopipe@test.ex> +250 OK rcpt +BDAT 315 LAST +250 OK chunked message data +QUIT +221 Closing connection +End of script +Listening on port 1225 ... +Connection request from [127.0.0.1] +220 Server ready +EHLO myhost.test.ex +250-hi there +250-PIPELINING +250-CHUNKING +250 OK +MAIL FROM:<> +250 OK mail +RCPT TO:<tempreject@test.ex> +250 OK rcpt +BDAT 319 LAST +QUIT +451 Service not available +221 Closing connection +Expected EOF read from client +End of script +Listening on port 1225 ... +Connection request from [127.0.0.1] +220 Server ready +EHLO myhost.test.ex +250-hi there +250-PIPELINING +250-CHUNKING +250 OK +MAIL FROM:<> +250 OK mail +RCPT TO:<permreject@test.ex> +250 OK rcpt +BDAT 319 LAST +QUIT +550 content rejected +221 Closing connection +Expected EOF read from client +End of script +Listening on port 1225 ... +Connection request from [127.0.0.1] +220 Server ready +EHLO myhost.test.ex +250-hi there +250-PIPELINING +250-CHUNKING +250 OK +MAIL FROM:<> +250 OK mail +RCPT TO:<dataloss@test.ex> +250 OK rcpt +BDAT 317 LAST +>*eof +End of script |