diff options
author | Philip Hazel <ph10@hermes.cam.ac.uk> | 2006-03-09 15:10:16 +0000 |
---|---|---|
committer | Philip Hazel <ph10@hermes.cam.ac.uk> | 2006-03-09 15:10:16 +0000 |
commit | e97957bc478f60d32649b329659d4b72748745c1 (patch) | |
tree | 6d852c18138fc8ef147b98e94b1c2b61fbdb43d3 /test | |
parent | 462182534289f0484d05688616f39943abd2f9a4 (diff) |
Add new errors mail_4xx, data_4xx, lost_connection, tls_required.
Diffstat (limited to 'test')
-rw-r--r-- | test/aux-fixed/5100.script.10 | 14 | ||||
-rw-r--r-- | test/confs/0497 | 8 | ||||
-rw-r--r-- | test/confs/2010 | 11 | ||||
-rw-r--r-- | test/confs/2110 | 11 | ||||
-rw-r--r-- | test/confs/5100 | 1 | ||||
-rw-r--r-- | test/log/0217 | 10 | ||||
-rw-r--r-- | test/log/0497 | 63 | ||||
-rw-r--r-- | test/log/0498 | 2 | ||||
-rw-r--r-- | test/log/1008 | 2 | ||||
-rw-r--r-- | test/log/2010 | 7 | ||||
-rw-r--r-- | test/log/2110 | 7 | ||||
-rw-r--r-- | test/log/5100 | 116 | ||||
-rw-r--r-- | test/log/5102 | 2 | ||||
-rw-r--r-- | test/log/5103 | 2 | ||||
-rw-r--r-- | test/scripts/0000-Basic/0497 | 144 | ||||
-rw-r--r-- | test/scripts/2000-GnuTLS/2010 | 2 | ||||
-rw-r--r-- | test/scripts/2100-OpenSSL/2110 | 2 | ||||
-rw-r--r-- | test/scripts/5100-lmtp-transport/5100 | 4 | ||||
-rw-r--r-- | test/stderr/0217 | 2 | ||||
-rw-r--r-- | test/stdout/0497 | 135 | ||||
-rw-r--r-- | test/stdout/0498 | 2 | ||||
-rw-r--r-- | test/stdout/1008 | 10 | ||||
-rw-r--r-- | test/stdout/5100 | 2 |
23 files changed, 489 insertions, 70 deletions
diff --git a/test/aux-fixed/5100.script.10 b/test/aux-fixed/5100.script.10 new file mode 100644 index 000000000..592cdd8a4 --- /dev/null +++ b/test/aux-fixed/5100.script.10 @@ -0,0 +1,14 @@ +220 Welcome to this LMTP simulation +LHLO +250-Hello there +250 SIZE +MAIL FROM +250 OK +RCPT TO +250 OK +RCPT TO +250 OK +DATA +450 Temporary error +QUIT +220 OK diff --git a/test/confs/0497 b/test/confs/0497 index 4777bd20d..23748aedf 100644 --- a/test/confs/0497 +++ b/test/confs/0497 @@ -17,6 +17,11 @@ gecos_name = CALLER_NAME begin routers +r0: + driver = redirect + senders = : + data = :blackhole: discard bounces + r1: driver = accept transport = t1 @@ -37,7 +42,10 @@ t1: begin retry +* lost_connection +* mail_4xx * rcpt_4xx +* data_4xx * * F,1d,15m diff --git a/test/confs/2010 b/test/confs/2010 index bda63bb7a..c08d4ce49 100644 --- a/test/confs/2010 +++ b/test/confs/2010 @@ -1,6 +1,7 @@ # Exim test configuration 2010 SERVER = +HOSTS = 127.0.0.1 : HOSTIPV4 exim_path = EXIM_PATH host_lookup_order = bydns @@ -44,8 +45,16 @@ begin transports send_to_server: driver = smtp allow_localhost - hosts = 127.0.0.1 : HOSTIPV4 + hosts = HOSTS hosts_require_tls = * port = PORT_D + +# ----- Retry ----- + +begin retry + +* tls_required +* * F,1d,5m + # End diff --git a/test/confs/2110 b/test/confs/2110 index dc1656832..1eb7ecb11 100644 --- a/test/confs/2110 +++ b/test/confs/2110 @@ -1,6 +1,7 @@ # Exim test configuration 2110 SERVER = +HOSTS = 127.0.0.1 : HOSTIPV4 exim_path = EXIM_PATH host_lookup_order = bydns @@ -44,8 +45,16 @@ begin transports send_to_server: driver = smtp allow_localhost - hosts = 127.0.0.1 : HOSTIPV4 + hosts = HOSTS hosts_require_tls = * port = PORT_D + +# ----- Retry ----- + +begin retry + +* tls_required +* * F,1d,5m + # End diff --git a/test/confs/5100 b/test/confs/5100 index a1b5c67d0..09a3dc891 100644 --- a/test/confs/5100 +++ b/test/confs/5100 @@ -51,6 +51,7 @@ lmtp: begin retry +* mail_4xx * rcpt_4xx F,1d,1m * * F,5d,1d diff --git a/test/log/0217 b/test/log/0217 index 14321f459..4913cb03f 100644 --- a/test/log/0217 +++ b/test/log/0217 @@ -12,8 +12,8 @@ 1999-03-02 09:44:33 10HmaZ-0005vi-00 == b@test.ex R=client T=send_to_server defer (dd): Connection timed out: SMTP timeout while connected to 127.0.0.1 [127.0.0.1] after RCPT TO:<b@test.ex> 1999-03-02 09:44:33 10HmaZ-0005vi-00 == c@test.ex R=client T=send_to_server defer (dd): Connection timed out: SMTP timeout while connected to 127.0.0.1 [127.0.0.1] after RCPT TO:<b@test.ex> 1999-03-02 09:44:33 10HmbA-0005vi-00 <= CALLER@test.ex U=CALLER P=local S=sss -1999-03-02 09:44:33 10HmbA-0005vi-00 == a@test.ex R=client T=send_to_server defer (0): SMTP error from remote mail server after MAIL FROM:<CALLER@test.ex>: host 127.0.0.1 [127.0.0.1]: 451 Temp error -1999-03-02 09:44:33 10HmbA-0005vi-00 == b@test.ex R=client T=send_to_server defer (0): SMTP error from remote mail server after MAIL FROM:<CALLER@test.ex>: host 127.0.0.1 [127.0.0.1]: 451 Temp error +1999-03-02 09:44:33 10HmbA-0005vi-00 == a@test.ex R=client T=send_to_server defer (-45): SMTP error from remote mail server after MAIL FROM:<CALLER@test.ex>: host 127.0.0.1 [127.0.0.1]: 451 Temp error +1999-03-02 09:44:33 10HmbA-0005vi-00 == b@test.ex R=client T=send_to_server defer (-45): SMTP error from remote mail server after MAIL FROM:<CALLER@test.ex>: host 127.0.0.1 [127.0.0.1]: 451 Temp error 1999-03-02 09:44:33 10HmbB-0005vi-00 <= CALLER@test.ex U=CALLER P=local S=sss 1999-03-02 09:44:33 10HmbB-0005vi-00 ** a@test.ex R=client T=send_to_server: SMTP error from remote mail server after MAIL FROM:<CALLER@test.ex>: host 127.0.0.1 [127.0.0.1]: 550 Perm error 1999-03-02 09:44:33 10HmbB-0005vi-00 ** b@test.ex R=client T=send_to_server: SMTP error from remote mail server after MAIL FROM:<CALLER@test.ex>: host 127.0.0.1 [127.0.0.1]: 550 Perm error @@ -49,10 +49,10 @@ 1999-03-02 09:44:33 10HmbJ-0005vi-00 Completed 1999-03-02 09:44:33 10HmbI-0005vi-00 Completed 1999-03-02 09:44:33 10HmbK-0005vi-00 <= CALLER@test.ex U=CALLER P=local S=sss -1999-03-02 09:44:33 10HmbK-0005vi-00 == a@test.ex R=client T=send_to_server defer (0): SMTP error from remote mail server after pipelined DATA: host 127.0.0.1 [127.0.0.1]: 403 Sorry temp data error -1999-03-02 09:44:33 10HmbK-0005vi-00 == b@test.ex R=client T=send_to_server defer (0): SMTP error from remote mail server after pipelined DATA: host 127.0.0.1 [127.0.0.1]: 403 Sorry temp data error +1999-03-02 09:44:33 10HmbK-0005vi-00 == a@test.ex R=client T=send_to_server defer (-46): SMTP error from remote mail server after pipelined DATA: host 127.0.0.1 [127.0.0.1]: 403 Sorry temp data error +1999-03-02 09:44:33 10HmbK-0005vi-00 == b@test.ex R=client T=send_to_server defer (-46): SMTP error from remote mail server after pipelined DATA: host 127.0.0.1 [127.0.0.1]: 403 Sorry temp data error 1999-03-02 09:44:33 10HmbL-0005vi-00 <= CALLER@test.ex U=CALLER P=local S=sss -1999-03-02 09:44:33 10HmbL-0005vi-00 == a@test.ex R=client T=send_to_server defer (0): SMTP error from remote mail server after pipelined DATA: host 127.0.0.1 [127.0.0.1]: 403 Sorry temp data error +1999-03-02 09:44:33 10HmbL-0005vi-00 == a@test.ex R=client T=send_to_server defer (-46): SMTP error from remote mail server after pipelined DATA: host 127.0.0.1 [127.0.0.1]: 403 Sorry temp data error 1999-03-02 09:44:33 10HmbL-0005vi-00 ** b@test.ex R=client T=send_to_server: SMTP error from remote mail server after RCPT TO:<b@test.ex>: host 127.0.0.1 [127.0.0.1]: 550 NO 1999-03-02 09:44:33 10HmbL-0005vi-00 ** c@test.ex R=client T=send_to_server: SMTP error from remote mail server after RCPT TO:<c@test.ex>: host 127.0.0.1 [127.0.0.1]: 550 NO 1999-03-02 09:44:33 10HmbL-0005vi-00 ** d@test.ex R=client T=send_to_server: SMTP error from remote mail server after RCPT TO:<d@test.ex>: host 127.0.0.1 [127.0.0.1]: 550 NO diff --git a/test/log/0497 b/test/log/0497 index 8bd74c412..61f08ff1b 100644 --- a/test/log/0497 +++ b/test/log/0497 @@ -1,7 +1,64 @@ 1999-03-02 09:44:33 10HmaX-0005vi-00 <= CALLER@myhost.test.ex U=CALLER P=local S=sss -1999-03-02 09:44:33 10HmaX-0005vi-00 == userx@x.y R=r1 T=t1 defer (-44): SMTP error from remote mail server after RCPT TO:<userx@x.y>: host 127.0.0.1 [127.0.0.1]: 452 temporary error +1999-03-02 09:44:33 10HmaX-0005vi-00 == userx@x.y R=r1 T=t1 defer (-45): SMTP error from remote mail server after MAIL FROM:<CALLER@myhost.test.ex>: host 127.0.0.1 [127.0.0.1]: 452 temporary error 1999-03-02 09:44:33 10HmaX-0005vi-00 ** userx@x.y: retry timeout exceeded 1999-03-02 09:44:33 10HmaY-0005vi-00 <= <> R=10HmaX-0005vi-00 U=EXIMUSER P=local S=sss -1999-03-02 09:44:33 10HmaY-0005vi-00 127.0.0.1 [127.0.0.1] Connection refused -1999-03-02 09:44:33 10HmaY-0005vi-00 == CALLER@myhost.test.ex R=r1 T=t1 defer (dd): Connection refused +1999-03-02 09:44:33 10HmaY-0005vi-00 => :blackhole: <CALLER@myhost.test.ex> R=r0 +1999-03-02 09:44:33 10HmaY-0005vi-00 Completed 1999-03-02 09:44:33 10HmaX-0005vi-00 Completed +1999-03-02 09:44:33 10HmaZ-0005vi-00 <= CALLER@myhost.test.ex U=CALLER P=local S=sss +1999-03-02 09:44:33 10HmaZ-0005vi-00 == userx@x.y R=r1 T=t1 defer (-44): SMTP error from remote mail server after RCPT TO:<userx@x.y>: host 127.0.0.1 [127.0.0.1]: 452 temporary error +1999-03-02 09:44:33 10HmaZ-0005vi-00 ** userx@x.y: retry timeout exceeded +1999-03-02 09:44:33 10HmbA-0005vi-00 <= <> R=10HmaZ-0005vi-00 U=EXIMUSER P=local S=sss +1999-03-02 09:44:33 10HmbA-0005vi-00 => :blackhole: <CALLER@myhost.test.ex> R=r0 +1999-03-02 09:44:33 10HmbA-0005vi-00 Completed +1999-03-02 09:44:33 10HmaZ-0005vi-00 Completed +1999-03-02 09:44:33 10HmbB-0005vi-00 <= CALLER@myhost.test.ex U=CALLER P=local S=sss +1999-03-02 09:44:33 10HmbB-0005vi-00 == userx@x.y R=r1 T=t1 defer (-46): SMTP error from remote mail server after DATA: host 127.0.0.1 [127.0.0.1]: 452 temporary error +1999-03-02 09:44:33 10HmbB-0005vi-00 ** userx@x.y: retry timeout exceeded +1999-03-02 09:44:33 10HmbC-0005vi-00 <= <> R=10HmbB-0005vi-00 U=EXIMUSER P=local S=sss +1999-03-02 09:44:33 10HmbC-0005vi-00 => :blackhole: <CALLER@myhost.test.ex> R=r0 +1999-03-02 09:44:33 10HmbC-0005vi-00 Completed +1999-03-02 09:44:33 10HmbB-0005vi-00 Completed +1999-03-02 09:44:33 10HmbD-0005vi-00 <= CALLER@myhost.test.ex U=CALLER P=local S=sss +1999-03-02 09:44:33 10HmbD-0005vi-00 == userx@x.y R=r1 T=t1 defer (-46): SMTP error from remote mail server after end of data: host 127.0.0.1 [127.0.0.1]: 452 temporary error +1999-03-02 09:44:33 10HmbD-0005vi-00 ** userx@x.y: retry timeout exceeded +1999-03-02 09:44:33 10HmbE-0005vi-00 <= <> R=10HmbD-0005vi-00 U=EXIMUSER P=local S=sss +1999-03-02 09:44:33 10HmbE-0005vi-00 => :blackhole: <CALLER@myhost.test.ex> R=r0 +1999-03-02 09:44:33 10HmbE-0005vi-00 Completed +1999-03-02 09:44:33 10HmbD-0005vi-00 Completed +1999-03-02 09:44:33 10HmbF-0005vi-00 <= CALLER@myhost.test.ex U=CALLER P=local S=sss +1999-03-02 09:44:33 10HmbF-0005vi-00 == userx@x.y R=r1 T=t1 defer (-45): SMTP error from remote mail server after MAIL FROM:<CALLER@myhost.test.ex>: host 127.0.0.1 [127.0.0.1]: 452 temporary error +1999-03-02 09:44:33 10HmbF-0005vi-00 ** userx@x.y: retry timeout exceeded +1999-03-02 09:44:33 10HmbG-0005vi-00 <= <> R=10HmbF-0005vi-00 U=EXIMUSER P=local S=sss +1999-03-02 09:44:33 10HmbG-0005vi-00 => :blackhole: <CALLER@myhost.test.ex> R=r0 +1999-03-02 09:44:33 10HmbG-0005vi-00 Completed +1999-03-02 09:44:33 10HmbF-0005vi-00 Completed +1999-03-02 09:44:33 10HmbH-0005vi-00 <= CALLER@myhost.test.ex U=CALLER P=local S=sss +1999-03-02 09:44:33 10HmbH-0005vi-00 == userx@x.y R=r1 T=t1 defer (-44): SMTP error from remote mail server after RCPT TO:<userx@x.y>: host 127.0.0.1 [127.0.0.1]: 452 temporary error +1999-03-02 09:44:33 10HmbH-0005vi-00 ** userx@x.y: retry timeout exceeded +1999-03-02 09:44:33 10HmbI-0005vi-00 <= <> R=10HmbH-0005vi-00 U=EXIMUSER P=local S=sss +1999-03-02 09:44:33 10HmbI-0005vi-00 => :blackhole: <CALLER@myhost.test.ex> R=r0 +1999-03-02 09:44:33 10HmbI-0005vi-00 Completed +1999-03-02 09:44:33 10HmbH-0005vi-00 Completed +1999-03-02 09:44:33 10HmbJ-0005vi-00 <= CALLER@myhost.test.ex U=CALLER P=local S=sss +1999-03-02 09:44:33 10HmbJ-0005vi-00 == userx@x.y R=r1 T=t1 defer (-46): SMTP error from remote mail server after pipelined DATA: host 127.0.0.1 [127.0.0.1]: 452 temporary error +1999-03-02 09:44:33 10HmbJ-0005vi-00 ** userx@x.y: retry timeout exceeded +1999-03-02 09:44:33 10HmbK-0005vi-00 <= <> R=10HmbJ-0005vi-00 U=EXIMUSER P=local S=sss +1999-03-02 09:44:33 10HmbK-0005vi-00 => :blackhole: <CALLER@myhost.test.ex> R=r0 +1999-03-02 09:44:33 10HmbK-0005vi-00 Completed +1999-03-02 09:44:33 10HmbJ-0005vi-00 Completed +1999-03-02 09:44:33 10HmbL-0005vi-00 <= CALLER@myhost.test.ex U=CALLER P=local S=sss +1999-03-02 09:44:33 10HmbL-0005vi-00 == userx@x.y R=r1 T=t1 defer (-46): SMTP error from remote mail server after end of data: host 127.0.0.1 [127.0.0.1]: 452 temporary error +1999-03-02 09:44:33 10HmbL-0005vi-00 ** userx@x.y: retry timeout exceeded +1999-03-02 09:44:33 10HmbM-0005vi-00 <= <> R=10HmbL-0005vi-00 U=EXIMUSER P=local S=sss +1999-03-02 09:44:33 10HmbM-0005vi-00 => :blackhole: <CALLER@myhost.test.ex> R=r0 +1999-03-02 09:44:33 10HmbM-0005vi-00 Completed +1999-03-02 09:44:33 10HmbL-0005vi-00 Completed +1999-03-02 09:44:33 10HmbN-0005vi-00 <= CALLER@myhost.test.ex U=CALLER P=local S=sss +1999-03-02 09:44:33 10HmbN-0005vi-00 Remote host 127.0.0.1 [127.0.0.1] closed connection in response to RCPT TO:<userx@x.y> +1999-03-02 09:44:33 10HmbN-0005vi-00 == userx@x.y R=r1 T=t1 defer (-18): Remote host 127.0.0.1 [127.0.0.1] closed connection in response to RCPT TO:<userx@x.y> +1999-03-02 09:44:33 10HmbN-0005vi-00 ** userx@x.y: retry timeout exceeded +1999-03-02 09:44:33 10HmbO-0005vi-00 <= <> R=10HmbN-0005vi-00 U=EXIMUSER P=local S=sss +1999-03-02 09:44:33 10HmbO-0005vi-00 => :blackhole: <CALLER@myhost.test.ex> R=r0 +1999-03-02 09:44:33 10HmbO-0005vi-00 Completed +1999-03-02 09:44:33 10HmbN-0005vi-00 Completed diff --git a/test/log/0498 b/test/log/0498 index 62178dbab..ae2dd0f27 100644 --- a/test/log/0498 +++ b/test/log/0498 @@ -1,5 +1,5 @@ 1999-03-02 09:44:33 10HmaX-0005vi-00 <= CALLER@myhost.test.ex U=CALLER P=local S=sss -1999-03-02 09:44:33 10HmaX-0005vi-00 == userx@x.y R=r1 T=t1 defer (0): SMTP error from remote mail server after MAIL FROM:<CALLER@myhost.test.ex>: host 127.0.0.1 [127.0.0.1]: 450 DELAY +1999-03-02 09:44:33 10HmaX-0005vi-00 == userx@x.y R=r1 T=t1 defer (-45): SMTP error from remote mail server after MAIL FROM:<CALLER@myhost.test.ex>: host 127.0.0.1 [127.0.0.1]: 450 DELAY 1999-03-02 09:44:33 Start queue run: pid=pppp 1999-03-02 09:44:33 10HmaX-0005vi-00 == userx@x.y R=r1 T=t1 defer (dd): Connection timed out: SMTP timeout while connected to 127.0.0.1 [127.0.0.1] after end of data (ddd bytes written) 1999-03-02 09:44:33 10HmaX-0005vi-00 ** userx@x.y: retry timeout exceeded diff --git a/test/log/1008 b/test/log/1008 index e140c6e8e..1e5f075e9 100644 --- a/test/log/1008 +++ b/test/log/1008 @@ -1,3 +1,3 @@ 1999-03-02 09:44:33 10HmaX-0005vi-00 <= CALLER@the.local.host.name U=CALLER P=local S=sss 1999-03-02 09:44:33 10HmaX-0005vi-00 SMTP error from remote mail server after MAIL FROM:<CALLER@the.local.host.name>: host 127.0.0.1 [127.0.0.1]: 450 Temporary error -1999-03-02 09:44:33 10HmaX-0005vi-00 == userx@test.ex R=r1 T=t1 defer (0): SMTP error from remote mail server after MAIL FROM:<CALLER@the.local.host.name>: host ::1 [::1]: 450 Temporary error +1999-03-02 09:44:33 10HmaX-0005vi-00 == userx@test.ex R=r1 T=t1 defer (-45): SMTP error from remote mail server after MAIL FROM:<CALLER@the.local.host.name>: host ::1 [::1]: 450 Temporary error diff --git a/test/log/2010 b/test/log/2010 index 713adc452..134d5e7d1 100644 --- a/test/log/2010 +++ b/test/log/2010 @@ -4,6 +4,13 @@ 1999-03-02 09:44:33 10HmaX-0005vi-00 => userx@test.ex R=client T=send_to_server H=ip4.ip4.ip4.ip4 [ip4.ip4.ip4.ip4] X=TLS-1.0:RSA_AES_256_CBC_SHA1:32 1999-03-02 09:44:33 10HmaX-0005vi-00 Completed 1999-03-02 09:44:33 End queue run: pid=pppp -qf +1999-03-02 09:44:33 Start queue run: pid=pppp -qf +1999-03-02 09:44:33 10HmaY-0005vi-00 a TLS session is required for 127.0.0.1 [127.0.0.1], but the server did not offer TLS support +1999-03-02 09:44:33 10HmaY-0005vi-00 == userx@test.ex R=client T=send_to_server defer (-38): a TLS session is required for 127.0.0.1 [127.0.0.1], but the server did not offer TLS support +1999-03-02 09:44:33 10HmaY-0005vi-00 ** userx@test.ex: retry timeout exceeded +1999-03-02 09:44:33 10HmaZ-0005vi-00 <= <> R=10HmaY-0005vi-00 U=EXIMUSER P=local S=sss +1999-03-02 09:44:33 10HmaY-0005vi-00 Completed +1999-03-02 09:44:33 End queue run: pid=pppp -qf ******** SERVER ******** 1999-03-02 09:44:33 exim x.yz daemon started: pid=pppp, no queue runs, listening for SMTP on port 1225 diff --git a/test/log/2110 b/test/log/2110 index 675b2b476..b863b37f5 100644 --- a/test/log/2110 +++ b/test/log/2110 @@ -4,6 +4,13 @@ 1999-03-02 09:44:33 10HmaX-0005vi-00 => userx@test.ex R=client T=send_to_server H=ip4.ip4.ip4.ip4 [ip4.ip4.ip4.ip4] X=TLSv1:AES256-SHA:256 1999-03-02 09:44:33 10HmaX-0005vi-00 Completed 1999-03-02 09:44:33 End queue run: pid=pppp -qf +1999-03-02 09:44:33 Start queue run: pid=pppp -qf +1999-03-02 09:44:33 10HmaY-0005vi-00 a TLS session is required for 127.0.0.1 [127.0.0.1], but the server did not offer TLS support +1999-03-02 09:44:33 10HmaY-0005vi-00 == userx@test.ex R=client T=send_to_server defer (-38): a TLS session is required for 127.0.0.1 [127.0.0.1], but the server did not offer TLS support +1999-03-02 09:44:33 10HmaY-0005vi-00 ** userx@test.ex: retry timeout exceeded +1999-03-02 09:44:33 10HmaZ-0005vi-00 <= <> R=10HmaY-0005vi-00 U=EXIMUSER P=local S=sss +1999-03-02 09:44:33 10HmaY-0005vi-00 Completed +1999-03-02 09:44:33 End queue run: pid=pppp -qf ******** SERVER ******** 1999-03-02 09:44:33 exim x.yz daemon started: pid=pppp, no queue runs, listening for SMTP on port 1225 diff --git a/test/log/5100 b/test/log/5100 index 4c8fa3219..ec4a807ff 100644 --- a/test/log/5100 +++ b/test/log/5100 @@ -32,8 +32,13 @@ MAIL FROM QUIT <<< QUIT 250 OK -1999-03-02 09:44:33 10HmbB-0005vi-00 == userx@myhost.test.ex R=smartuser T=lmtp defer (-1): LMTP error after MAIL FROM:<CALLER@myhost.test.ex>: 450 Don't like that sender just at the moment -1999-03-02 09:44:33 10HmbC-0005vi-00 <= CALLER@myhost.test.ex U=CALLER P=local S=sss +1999-03-02 09:44:33 10HmbB-0005vi-00 == userx@myhost.test.ex R=smartuser T=lmtp defer (-45): LMTP error after MAIL FROM:<CALLER@myhost.test.ex>: 450 Don't like that sender just at the moment +1999-03-02 09:44:33 10HmbB-0005vi-00 ** userx@myhost.test.ex: retry timeout exceeded +1999-03-02 09:44:33 10HmbC-0005vi-00 <= <> R=10HmbB-0005vi-00 U=EXIMUSER P=local S=sss +1999-03-02 09:44:33 10HmbC-0005vi-00 => :blackhole: <CALLER@myhost.test.ex> R=bounces +1999-03-02 09:44:33 10HmbC-0005vi-00 Completed +1999-03-02 09:44:33 10HmbB-0005vi-00 Completed +1999-03-02 09:44:33 10HmbD-0005vi-00 <= CALLER@myhost.test.ex U=CALLER P=local S=sss 220 Welcome to this LMTP simulation LHLO <<< LHLO myhost.test.ex @@ -66,9 +71,9 @@ DATA . <<< Received: from CALLER by myhost.test.ex with local (Exim x.yz) <<< (envelope-from <CALLER@myhost.test.ex>) -<<< id 10HmbC-0005vi-00; Tue, 2 Mar 1999 09:44:33 +0000 +<<< id 10HmbD-0005vi-00; Tue, 2 Mar 1999 09:44:33 +0000 <<< script: 05 -<<< Message-Id: <E10HmbC-0005vi-00@myhost.test.ex> +<<< Message-Id: <E10HmbD-0005vi-00@myhost.test.ex> <<< From: CALLER_NAME <CALLER@myhost.test.ex> <<< Date: Tue, 2 Mar 1999 09:44:33 +0000 <<< @@ -81,16 +86,16 @@ DATA QUIT <<< QUIT 250 OK -1999-03-02 09:44:33 10HmbC-0005vi-00 => userx <userx@myhost.test.ex> R=smartuser T=lmtp -1999-03-02 09:44:33 10HmbC-0005vi-00 == jack@myhost.test.ex R=smartuser T=lmtp defer (-1): LMTP error after end of data: 450 Number 2 is now delayed -1999-03-02 09:44:33 10HmbC-0005vi-00 ** jill@myhost.test.ex R=smartuser T=lmtp: LMTP error after end of data: 550 Number 3 is now rejected -1999-03-02 09:44:33 10HmbC-0005vi-00 == tom@myhost.test.ex R=smartuser T=lmtp defer (-44): LMTP error after RCPT TO:<tom@myhost.test.ex>: 450 This one is delayed on RCPT -1999-03-02 09:44:33 10HmbC-0005vi-00 ** dick@myhost.test.ex R=smartuser T=lmtp: LMTP error after RCPT TO:<dick@myhost.test.ex>: 550 This one is unknown on RCPT -1999-03-02 09:44:33 10HmbC-0005vi-00 -> harry <harry@myhost.test.ex> R=smartuser T=lmtp -1999-03-02 09:44:33 10HmbD-0005vi-00 <= <> R=10HmbC-0005vi-00 U=EXIMUSER P=local S=sss -1999-03-02 09:44:33 10HmbD-0005vi-00 => :blackhole: <CALLER@myhost.test.ex> R=bounces -1999-03-02 09:44:33 10HmbD-0005vi-00 Completed -1999-03-02 09:44:33 10HmbE-0005vi-00 <= CALLER@myhost.test.ex U=CALLER P=local S=sss +1999-03-02 09:44:33 10HmbD-0005vi-00 => userx <userx@myhost.test.ex> R=smartuser T=lmtp +1999-03-02 09:44:33 10HmbD-0005vi-00 == jack@myhost.test.ex R=smartuser T=lmtp defer (-46): LMTP error after end of data: 450 Number 2 is now delayed +1999-03-02 09:44:33 10HmbD-0005vi-00 ** jill@myhost.test.ex R=smartuser T=lmtp: LMTP error after end of data: 550 Number 3 is now rejected +1999-03-02 09:44:33 10HmbD-0005vi-00 == tom@myhost.test.ex R=smartuser T=lmtp defer (-44): LMTP error after RCPT TO:<tom@myhost.test.ex>: 450 This one is delayed on RCPT +1999-03-02 09:44:33 10HmbD-0005vi-00 ** dick@myhost.test.ex R=smartuser T=lmtp: LMTP error after RCPT TO:<dick@myhost.test.ex>: 550 This one is unknown on RCPT +1999-03-02 09:44:33 10HmbD-0005vi-00 -> harry <harry@myhost.test.ex> R=smartuser T=lmtp +1999-03-02 09:44:33 10HmbE-0005vi-00 <= <> R=10HmbD-0005vi-00 U=EXIMUSER P=local S=sss +1999-03-02 09:44:33 10HmbE-0005vi-00 => :blackhole: <CALLER@myhost.test.ex> R=bounces +1999-03-02 09:44:33 10HmbE-0005vi-00 Completed +1999-03-02 09:44:33 10HmbF-0005vi-00 <= CALLER@myhost.test.ex U=CALLER P=local S=sss 220 Welcome to this LMTP simulation LHLO <<< LHLO myhost.test.ex @@ -123,25 +128,25 @@ DATA . <<< Received: from CALLER by myhost.test.ex with local (Exim x.yz) <<< (envelope-from <CALLER@myhost.test.ex>) -<<< id 10HmbE-0005vi-00; Tue, 2 Mar 1999 09:44:33 +0000 +<<< id 10HmbF-0005vi-00; Tue, 2 Mar 1999 09:44:33 +0000 <<< script: 06 -<<< Message-Id: <E10HmbE-0005vi-00@myhost.test.ex> +<<< Message-Id: <E10HmbF-0005vi-00@myhost.test.ex> <<< From: CALLER_NAME <CALLER@myhost.test.ex> <<< Date: Tue, 2 Mar 1999 09:44:33 +0000 <<< <<< This is a test message. <<< . 250 Number 1 is OK -1999-03-02 09:44:33 10HmbE-0005vi-00 => userx <userx@myhost.test.ex> R=smartuser T=lmtp -1999-03-02 09:44:33 10HmbE-0005vi-00 == jack@myhost.test.ex R=smartuser T=lmtp defer (-1): LMTP timeout after end of data (ddd bytes written) -1999-03-02 09:44:33 10HmbE-0005vi-00 == jill@myhost.test.ex R=smartuser T=lmtp defer (-1): LMTP timeout after end of data (ddd bytes written) -1999-03-02 09:44:33 10HmbE-0005vi-00 == tom@myhost.test.ex R=smartuser T=lmtp defer (-44): LMTP error after RCPT TO:<tom@myhost.test.ex>: 450 This one is delayed on RCPT -1999-03-02 09:44:33 10HmbE-0005vi-00 ** dick@myhost.test.ex R=smartuser T=lmtp: LMTP error after RCPT TO:<dick@myhost.test.ex>: 550 This one is unknown on RCPT -1999-03-02 09:44:33 10HmbE-0005vi-00 == harry@myhost.test.ex R=smartuser T=lmtp defer (-1): LMTP timeout after end of data (ddd bytes written) -1999-03-02 09:44:33 10HmbF-0005vi-00 <= <> R=10HmbE-0005vi-00 U=EXIMUSER P=local S=sss -1999-03-02 09:44:33 10HmbF-0005vi-00 => :blackhole: <CALLER@myhost.test.ex> R=bounces -1999-03-02 09:44:33 10HmbF-0005vi-00 Completed -1999-03-02 09:44:33 10HmbG-0005vi-00 <= CALLER@myhost.test.ex U=CALLER P=local S=sss +1999-03-02 09:44:33 10HmbF-0005vi-00 => userx <userx@myhost.test.ex> R=smartuser T=lmtp +1999-03-02 09:44:33 10HmbF-0005vi-00 == jack@myhost.test.ex R=smartuser T=lmtp defer (-1): LMTP timeout after end of data (ddd bytes written) +1999-03-02 09:44:33 10HmbF-0005vi-00 == jill@myhost.test.ex R=smartuser T=lmtp defer (-1): LMTP timeout after end of data (ddd bytes written) +1999-03-02 09:44:33 10HmbF-0005vi-00 == tom@myhost.test.ex R=smartuser T=lmtp defer (-44): LMTP error after RCPT TO:<tom@myhost.test.ex>: 450 This one is delayed on RCPT +1999-03-02 09:44:33 10HmbF-0005vi-00 ** dick@myhost.test.ex R=smartuser T=lmtp: LMTP error after RCPT TO:<dick@myhost.test.ex>: 550 This one is unknown on RCPT +1999-03-02 09:44:33 10HmbF-0005vi-00 == harry@myhost.test.ex R=smartuser T=lmtp defer (-1): LMTP timeout after end of data (ddd bytes written) +1999-03-02 09:44:33 10HmbG-0005vi-00 <= <> R=10HmbF-0005vi-00 U=EXIMUSER P=local S=sss +1999-03-02 09:44:33 10HmbG-0005vi-00 => :blackhole: <CALLER@myhost.test.ex> R=bounces +1999-03-02 09:44:33 10HmbG-0005vi-00 Completed +1999-03-02 09:44:33 10HmbH-0005vi-00 <= CALLER@myhost.test.ex U=CALLER P=local S=sss 220 Welcome to this LMTP simulation LHLO <<< LHLO myhost.test.ex @@ -169,13 +174,13 @@ RCPT TO <<< RCPT TO:<harry@myhost.test.ex> 250 OK DATA -1999-03-02 09:44:33 10HmbG-0005vi-00 == userx@myhost.test.ex R=smartuser T=lmtp defer (-1): LMTP timeout after DATA -1999-03-02 09:44:33 10HmbG-0005vi-00 == jack@myhost.test.ex R=smartuser T=lmtp defer (-1): LMTP timeout after DATA -1999-03-02 09:44:33 10HmbG-0005vi-00 == jill@myhost.test.ex R=smartuser T=lmtp defer (-1): LMTP timeout after DATA -1999-03-02 09:44:33 10HmbG-0005vi-00 == tom@myhost.test.ex R=smartuser T=lmtp defer (-1): LMTP timeout after DATA -1999-03-02 09:44:33 10HmbG-0005vi-00 == dick@myhost.test.ex R=smartuser T=lmtp defer (-1): LMTP timeout after DATA -1999-03-02 09:44:33 10HmbG-0005vi-00 == harry@myhost.test.ex R=smartuser T=lmtp defer (-1): LMTP timeout after DATA -1999-03-02 09:44:33 10HmbH-0005vi-00 <= CALLER@myhost.test.ex U=CALLER P=local S=sss +1999-03-02 09:44:33 10HmbH-0005vi-00 == userx@myhost.test.ex R=smartuser T=lmtp defer (-1): LMTP timeout after DATA +1999-03-02 09:44:33 10HmbH-0005vi-00 == jack@myhost.test.ex R=smartuser T=lmtp defer (-1): LMTP timeout after DATA +1999-03-02 09:44:33 10HmbH-0005vi-00 == jill@myhost.test.ex R=smartuser T=lmtp defer (-1): LMTP timeout after DATA +1999-03-02 09:44:33 10HmbH-0005vi-00 == tom@myhost.test.ex R=smartuser T=lmtp defer (-1): LMTP timeout after DATA +1999-03-02 09:44:33 10HmbH-0005vi-00 == dick@myhost.test.ex R=smartuser T=lmtp defer (-1): LMTP timeout after DATA +1999-03-02 09:44:33 10HmbH-0005vi-00 == harry@myhost.test.ex R=smartuser T=lmtp defer (-1): LMTP timeout after DATA +1999-03-02 09:44:33 10HmbI-0005vi-00 <= CALLER@myhost.test.ex U=CALLER P=local S=sss 220 Welcome to this LMTP simulation LHLO <<< LHLO myhost.test.ex @@ -196,9 +201,9 @@ DATA . <<< Received: from CALLER by myhost.test.ex with local (Exim x.yz) <<< (envelope-from <CALLER@myhost.test.ex>) -<<< id 10HmbH-0005vi-00; Tue, 2 Mar 1999 09:44:33 +0000 +<<< id 10HmbI-0005vi-00; Tue, 2 Mar 1999 09:44:33 +0000 <<< script: 08 -<<< Message-Id: <E10HmbH-0005vi-00@myhost.test.ex> +<<< Message-Id: <E10HmbI-0005vi-00@myhost.test.ex> <<< From: CALLER_NAME <CALLER@myhost.test.ex> <<< Date: Tue, 2 Mar 1999 09:44:33 +0000 <<< @@ -209,10 +214,10 @@ DATA QUIT <<< QUIT 220 OK -1999-03-02 09:44:33 10HmbH-0005vi-00 => jack <jack@myhost.test.ex> R=smartuser T=lmtp -1999-03-02 09:44:33 10HmbH-0005vi-00 -> jill <jill@myhost.test.ex> R=smartuser T=lmtp -1999-03-02 09:44:33 10HmbH-0005vi-00 Completed -1999-03-02 09:44:33 10HmbI-0005vi-00 <= CALLER@myhost.test.ex U=CALLER P=local S=sss +1999-03-02 09:44:33 10HmbI-0005vi-00 => jack <jack@myhost.test.ex> R=smartuser T=lmtp +1999-03-02 09:44:33 10HmbI-0005vi-00 -> jill <jill@myhost.test.ex> R=smartuser T=lmtp +1999-03-02 09:44:33 10HmbI-0005vi-00 Completed +1999-03-02 09:44:33 10HmbJ-0005vi-00 <= CALLER@myhost.test.ex U=CALLER P=local S=sss 220 Welcome to this LMTP simulation LHLO <<< LHLO myhost.test.ex @@ -234,9 +239,9 @@ DATA . <<< Received: from CALLER by myhost.test.ex with local (Exim x.yz) <<< (envelope-from <CALLER@myhost.test.ex>) -<<< id 10HmbI-0005vi-00; Tue, 2 Mar 1999 09:44:33 +0000 +<<< id 10HmbJ-0005vi-00; Tue, 2 Mar 1999 09:44:33 +0000 <<< script: 09 -<<< Message-Id: <E10HmbI-0005vi-00@myhost.test.ex> +<<< Message-Id: <E10HmbJ-0005vi-00@myhost.test.ex> <<< From: CALLER_NAME <CALLER@myhost.test.ex> <<< Date: Tue, 2 Mar 1999 09:44:33 +0000 <<< @@ -247,6 +252,29 @@ DATA QUIT <<< QUIT 220 OK -1999-03-02 09:44:33 10HmbI-0005vi-00 => jack <jack@myhost.test.ex> R=smartuser T=lmtp -1999-03-02 09:44:33 10HmbI-0005vi-00 -> jill <jill@myhost.test.ex> R=smartuser T=lmtp -1999-03-02 09:44:33 10HmbI-0005vi-00 Completed +1999-03-02 09:44:33 10HmbJ-0005vi-00 => jack <jack@myhost.test.ex> R=smartuser T=lmtp +1999-03-02 09:44:33 10HmbJ-0005vi-00 -> jill <jill@myhost.test.ex> R=smartuser T=lmtp +1999-03-02 09:44:33 10HmbJ-0005vi-00 Completed +1999-03-02 09:44:33 10HmbK-0005vi-00 <= CALLER@myhost.test.ex U=CALLER P=local S=sss +220 Welcome to this LMTP simulation +LHLO +<<< LHLO myhost.test.ex +250-Hello there +250 SIZE +MAIL FROM +<<< MAIL FROM:<CALLER@myhost.test.ex> +250 OK +RCPT TO +<<< RCPT TO:<userx@myhost.test.ex> +250 OK +RCPT TO +<<< RCPT TO:<usery@myhost.test.ex> +250 OK +DATA +<<< DATA +450 Temporary error +QUIT +<<< QUIT +220 OK +1999-03-02 09:44:33 10HmbK-0005vi-00 == userx@myhost.test.ex R=smartuser T=lmtp defer (-46): LMTP error after DATA: 450 Temporary error +1999-03-02 09:44:33 10HmbK-0005vi-00 == usery@myhost.test.ex R=smartuser T=lmtp defer (-46): LMTP error after DATA: 450 Temporary error diff --git a/test/log/5102 b/test/log/5102 index 4d4bc3fa4..66076a0b0 100644 --- a/test/log/5102 +++ b/test/log/5102 @@ -15,7 +15,7 @@ 1999-03-02 09:44:33 End queue run: pid=pppp -qf 1999-03-02 09:44:33 10HmbA-0005vi-00 <= CALLER@myhost.test.ex U=CALLER P=local S=sss 1999-03-02 09:44:33 10HmbA-0005vi-00 => lp1 <lp1@myhost.test.ex> R=smartuser T=lmtp -1999-03-02 09:44:33 10HmbA-0005vi-00 == lp2@myhost.test.ex R=smartuser T=lmtp defer (-1): LMTP error after end of data: 450 Number 2 is now delayed +1999-03-02 09:44:33 10HmbA-0005vi-00 == lp2@myhost.test.ex R=smartuser T=lmtp defer (-46): LMTP error after end of data: 450 Number 2 is now delayed 1999-03-02 09:44:33 10HmbA-0005vi-00 ** lp3@myhost.test.ex R=smartuser T=lmtp: LMTP error after end of data: 550 Number 3 is now rejected 1999-03-02 09:44:33 10HmbA-0005vi-00 == lp4@myhost.test.ex R=smartuser T=lmtp defer (-44): LMTP error after RCPT TO:<lp4@myhost.test.ex>: 450 This one is delayed on RCPT 1999-03-02 09:44:33 10HmbA-0005vi-00 ** lp5@myhost.test.ex R=smartuser T=lmtp: LMTP error after RCPT TO:<lp5@myhost.test.ex>: 550 This one is unknown on RCPT diff --git a/test/log/5103 b/test/log/5103 index 288fa3e4b..43549c140 100644 --- a/test/log/5103 +++ b/test/log/5103 @@ -14,4 +14,4 @@ DATA <<< DATA 354 Send it . -1999-03-02 09:44:33 10HmaX-0005vi-00 == userx@myhost.test.ex R=r1 T=t1 defer (-1): transport filter process failed (127): unable to execute command +1999-03-02 09:44:33 10HmaX-0005vi-00 == userx@myhost.test.ex R=r1 T=t1 defer (-24): transport filter process failed (127): unable to execute command diff --git a/test/scripts/0000-Basic/0497 b/test/scripts/0000-Basic/0497 index 1465afec4..8e7e54967 100644 --- a/test/scripts/0000-Basic/0497 +++ b/test/scripts/0000-Basic/0497 @@ -1,5 +1,22 @@ -# rcpt_4xx from server with no retry +# mail_4xx, rcpt_4xx, data_4xx, lost_connection need_ipv4 +# MAIL, no pipelining +# +server PORT_S +220 Server ready +EHLO +250-server id +250 OK +MAIL FROM +452 temporary error +QUIT +250 OK +**** +exim -odi userx@x.y +**** +dump retry +sudo rm DIR/spool/db/* +# RCPT, no pipelining # server PORT_S 220 Server ready @@ -16,4 +33,127 @@ QUIT exim -odi userx@x.y **** dump retry -no_message_check +# DATA start, no pipelining +# +server PORT_S +220 Server ready +EHLO +250-server id +250 OK +MAIL FROM +250 OK +RCPT TO +250 OK +DATA +452 temporary error +QUIT +250 OK +**** +exim -odi userx@x.y +**** +# DATA end, no pipelining +# +server PORT_S +220 Server ready +EHLO +250-server id +250 OK +MAIL FROM +250 OK +RCPT TO +250 OK +DATA +352 GO AHEAD +. +452 temporary error +QUIT +250 OK +**** +exim -odi userx@x.y +**** +# MAIL, pipelining +# +server PORT_S +220 Server ready +EHLO +250-server id +250-PIPELINING +250 OK +MAIL FROM +452 temporary error +QUIT +250 OK +**** +exim -odi userx@x.y +**** +# RCPT, pipelining +# +server PORT_S +220 Server ready +EHLO +250-server id +250-PIPELINING +250 OK +MAIL FROM +250 OK +RCPT TO +452 temporary error +QUIT +250 OK +**** +exim -odi userx@x.y +**** +# DATA start, pipelining +# +server PORT_S +220 Server ready +EHLO +250-server id +250-PIPELINING +250 OK +MAIL FROM +250 OK +RCPT TO +250 OK +DATA +452 temporary error +QUIT +250 OK +**** +exim -odi userx@x.y +**** +# DATA end, pipelining +# +server PORT_S +220 Server ready +EHLO +250-server id +250-PIPELINING +250 OK +MAIL FROM +250 OK +RCPT TO +250 OK +DATA +352 GO AHEAD +. +452 temporary error +QUIT +250 OK +**** +exim -odi userx@x.y +**** +# lost connection +# +server PORT_S +220 Server ready +EHLO +250-server id +250-PIPELINING +250 OK +MAIL FROM +250 OK +RCPT TO +**** +exim -odi userx@x.y +**** diff --git a/test/scripts/2000-GnuTLS/2010 b/test/scripts/2000-GnuTLS/2010 index 06e259567..02c82ea79 100644 --- a/test/scripts/2000-GnuTLS/2010 +++ b/test/scripts/2000-GnuTLS/2010 @@ -7,5 +7,7 @@ Test message **** exim -qf **** +exim -DHOSTS=127.0.0.1 -qf +**** killdaemon no_msglog_check diff --git a/test/scripts/2100-OpenSSL/2110 b/test/scripts/2100-OpenSSL/2110 index fe197fabd..e8a55353a 100644 --- a/test/scripts/2100-OpenSSL/2110 +++ b/test/scripts/2100-OpenSSL/2110 @@ -6,5 +6,7 @@ Test message **** exim -qf **** +exim -DHOSTS=127.0.0.1 -qf +**** killdaemon no_msglog_check diff --git a/test/scripts/5100-lmtp-transport/5100 b/test/scripts/5100-lmtp-transport/5100 index 224943d44..36f45e1ab 100644 --- a/test/scripts/5100-lmtp-transport/5100 +++ b/test/scripts/5100-lmtp-transport/5100 @@ -36,4 +36,8 @@ exim -odi -DIGNORE_QUOTA=true jack jill script: 09 This is a test message. **** +exim -odi userx usery +script: 10 +This is a test message. +**** no_msglog_check diff --git a/test/stderr/0217 b/test/stderr/0217 index 442906ef7..30ab686c2 100644 --- a/test/stderr/0217 +++ b/test/stderr/0217 @@ -116,7 +116,7 @@ Connecting to 127.0.0.1 [127.0.0.1]:1224 ... connected SMTP<< 403 Sorry temp data error SMTP>> QUIT LOG: MAIN - == a@test.ex R=client T=send_to_server defer (0): SMTP error from remote mail server after pipelined DATA: host 127.0.0.1 [127.0.0.1]: 403 Sorry temp data error + == a@test.ex R=client T=send_to_server defer (-46): SMTP error from remote mail server after pipelined DATA: host 127.0.0.1 [127.0.0.1]: 403 Sorry temp data error LOG: MAIN ** b@test.ex R=client T=send_to_server: SMTP error from remote mail server after RCPT TO:<b@test.ex>: host 127.0.0.1 [127.0.0.1]: 550 NO LOG: MAIN diff --git a/test/stdout/0497 b/test/stdout/0497 index 1b0cdbcea..6755d429e 100644 --- a/test/stdout/0497 +++ b/test/stdout/0497 @@ -1,8 +1,9 @@ +++++++++++++++++++++++++++ + T:127.0.0.1:127.0.0.1:1224:10HmaX-0005vi-00 -45 13377 SMTP error from remote mail server after MAIL FROM:<CALLER@myhost.test.ex>: host 127.0.0.1 [127.0.0.1]: 452 temporary error +first failed = time last try = time2 next try = time2 + 0 * ++++++++++++++++++++++++++++ R:userx@x.y -44 13377 SMTP error from remote mail server after RCPT TO:<userx@x.y>: host 127.0.0.1 [127.0.0.1]: 452 temporary error first failed = time last try = time2 next try = time2 + 0 * - T:127.0.0.1:127.0.0.1:1224 dd 65 Connection refused -first failed = time last try = time2 next try = time2 + 900 ******** SERVER ******** Listening on port 1224 ... @@ -12,9 +13,139 @@ EHLO myhost.test.ex 250-server id 250 OK MAIL FROM:<CALLER@myhost.test.ex> +452 temporary error +QUIT +250 OK +End of script +Listening on port 1224 ... +Connection request from [127.0.0.1] +220 Server ready +EHLO myhost.test.ex +250-server id +250 OK +MAIL FROM:<CALLER@myhost.test.ex> +250 OK +RCPT TO:<userx@x.y> +452 temporary error +QUIT +250 OK +End of script +Listening on port 1224 ... +Connection request from [127.0.0.1] +220 Server ready +EHLO myhost.test.ex +250-server id +250 OK +MAIL FROM:<CALLER@myhost.test.ex> +250 OK +RCPT TO:<userx@x.y> +250 OK +DATA +452 temporary error +QUIT +250 OK +End of script +Listening on port 1224 ... +Connection request from [127.0.0.1] +220 Server ready +EHLO myhost.test.ex +250-server id +250 OK +MAIL FROM:<CALLER@myhost.test.ex> +250 OK +RCPT TO:<userx@x.y> +250 OK +DATA +352 GO AHEAD +Received: from CALLER by myhost.test.ex with local (Exim x.yz) + (envelope-from <CALLER@myhost.test.ex>) + id 10HmbD-0005vi-00 + for userx@x.y; Tue, 2 Mar 1999 09:44:33 +0000 +Message-Id: <E10HmbD-0005vi-00@myhost.test.ex> +From: CALLER_NAME <CALLER@myhost.test.ex> +Date: Tue, 2 Mar 1999 09:44:33 +0000 + +. +452 temporary error +QUIT +250 OK +End of script +Listening on port 1224 ... +Connection request from [127.0.0.1] +220 Server ready +EHLO myhost.test.ex +250-server id +250-PIPELINING +250 OK +MAIL FROM:<CALLER@myhost.test.ex> +452 temporary error +RCPT TO:<userx@x.y> +Comparison failed - bailing out +Expected: QUIT +Listening on port 1224 ... +Connection request from [127.0.0.1] +220 Server ready +EHLO myhost.test.ex +250-server id +250-PIPELINING +250 OK +MAIL FROM:<CALLER@myhost.test.ex> +250 OK +RCPT TO:<userx@x.y> +452 temporary error +DATA +Comparison failed - bailing out +Expected: QUIT +Listening on port 1224 ... +Connection request from [127.0.0.1] +220 Server ready +EHLO myhost.test.ex +250-server id +250-PIPELINING +250 OK +MAIL FROM:<CALLER@myhost.test.ex> +250 OK +RCPT TO:<userx@x.y> +250 OK +DATA +452 temporary error +QUIT +250 OK +End of script +Listening on port 1224 ... +Connection request from [127.0.0.1] +220 Server ready +EHLO myhost.test.ex +250-server id +250-PIPELINING +250 OK +MAIL FROM:<CALLER@myhost.test.ex> 250 OK RCPT TO:<userx@x.y> +250 OK +DATA +352 GO AHEAD +Received: from CALLER by myhost.test.ex with local (Exim x.yz) + (envelope-from <CALLER@myhost.test.ex>) + id 10HmbL-0005vi-00 + for userx@x.y; Tue, 2 Mar 1999 09:44:33 +0000 +Message-Id: <E10HmbL-0005vi-00@myhost.test.ex> +From: CALLER_NAME <CALLER@myhost.test.ex> +Date: Tue, 2 Mar 1999 09:44:33 +0000 + +. 452 temporary error QUIT 250 OK End of script +Listening on port 1224 ... +Connection request from [127.0.0.1] +220 Server ready +EHLO myhost.test.ex +250-server id +250-PIPELINING +250 OK +MAIL FROM:<CALLER@myhost.test.ex> +250 OK +RCPT TO:<userx@x.y> +End of script diff --git a/test/stdout/0498 b/test/stdout/0498 index d3811ad0f..f1448ba45 100644 --- a/test/stdout/0498 +++ b/test/stdout/0498 @@ -1,5 +1,5 @@ +++++++++++++++++++++++++++ - T:127.0.0.1:127.0.0.1:1224:10HmaX-0005vi-00 0 65 SMTP error from remote mail server after MAIL FROM:<CALLER@myhost.test.ex>: host 127.0.0.1 [127.0.0.1]: 450 DELAY + T:127.0.0.1:127.0.0.1:1224:10HmaX-0005vi-00 -45 12865 SMTP error from remote mail server after MAIL FROM:<CALLER@myhost.test.ex>: host 127.0.0.1 [127.0.0.1]: 450 DELAY first failed = time last try = time2 next try = time2 + 10 ******** SERVER ******** diff --git a/test/stdout/1008 b/test/stdout/1008 index 76982ea22..e2c79135d 100644 --- a/test/stdout/1008 +++ b/test/stdout/1008 @@ -1,18 +1,18 @@ +++++++++++++++++++++++++++ - T:127.0.0.1:127.0.0.1:1224:10HmaX-0005vi-00 0 65 SMTP error from remote mail server after MAIL FROM:<CALLER@the.local.host.name>: host 127.0.0.1 [127.0.0.1]: 450 Temporary error + T:127.0.0.1:127.0.0.1:1224:10HmaX-0005vi-00 -45 12865 SMTP error from remote mail server after MAIL FROM:<CALLER@the.local.host.name>: host 127.0.0.1 [127.0.0.1]: 450 Temporary error first failed = time last try = time2 next try = time2 + 7200 - T:::1:::1:1224:10HmaX-0005vi-00 0 65 SMTP error from remote mail server after MAIL FROM:<CALLER@the.local.host.name>: host ::1 [::1]: 450 Temporary error + T:::1:::1:1224:10HmaX-0005vi-00 -45 12865 SMTP error from remote mail server after MAIL FROM:<CALLER@the.local.host.name>: host ::1 [::1]: 450 Temporary error first failed = time last try = time2 next try = time2 + 7200 -Transport: 127.0.0.1 [127.0.0.1]:1111 10HmaX-0005vi-00 error 0: SMTP error from remote mail server after MAIL FROM:<CALLER@the.local.host.name>: host 127.0.0.1 [127.0.0.1]: 450 Temporary error +Transport: 127.0.0.1 [127.0.0.1]:1111 10HmaX-0005vi-00 error -45: SMTP error from remote mail server after MAIL FROM:<CALLER@the.local.host.name>: host 127.0.0.1 [127.0.0.1]: 450 Temporary error first failed: 07-Mar-2000 12:21:52 last tried: 07-Mar-2000 12:21:52 next try at: 07-Mar-2000 12:21:52 -Transport: ::1 [::1]:1111 10HmaX-0005vi-00 error 0: SMTP error from remote mail server after MAIL FROM:<CALLER@the.local.host.name>: host ::1 [::1]: 450 Temporary error +Transport: ::1 [::1]:1111 10HmaX-0005vi-00 error -45: SMTP error from remote mail server after MAIL FROM:<CALLER@the.local.host.name>: host ::1 [::1]: 450 Temporary error first failed: 07-Mar-2000 12:21:52 last tried: 07-Mar-2000 12:21:52 next try at: 07-Mar-2000 12:21:52 exinext exit code = 0 -Transport: ::1 [::1]:1111 10HmaX-0005vi-00 error 0: SMTP error from remote mail server after MAIL FROM:<CALLER@the.local.host.name>: host ::1 [::1]: 450 Temporary error +Transport: ::1 [::1]:1111 10HmaX-0005vi-00 error -45: SMTP error from remote mail server after MAIL FROM:<CALLER@the.local.host.name>: host ::1 [::1]: 450 Temporary error first failed: 07-Mar-2000 12:21:52 last tried: 07-Mar-2000 12:21:52 next try at: 07-Mar-2000 12:21:52 diff --git a/test/stdout/5100 b/test/stdout/5100 index b7255ca2e..cf3412153 100644 --- a/test/stdout/5100 +++ b/test/stdout/5100 @@ -1,5 +1,5 @@ +++++++++++++++++++++++++++ - T:jack@myhost.test.ex -1 0 LMTP error after end of data: 450 Number 2 is now delayed + T:jack@myhost.test.ex -46 12800 LMTP error after end of data: 450 Number 2 is now delayed first failed = time last try = time2 next try = time2 + 0 T:tom@myhost.test.ex -44 12800 LMTP error after RCPT TO:<tom@myhost.test.ex>: 450 This one is delayed on RCPT first failed = time last try = time2 next try = time2 + 60 |