Fix cutthrough delivery for more than one iteration of address redirection. Bug...
[exim.git] / test / scripts / 5400-cutthrough / 5408
1 # cutthrough_delivery with router redirections
2 need_ipv4
3 munge loopback
4 #
5 # Plain, no redirect
6 server PORT_S
7 220 ESMTP
8 EHLO
9 250 OK
10 MAIL FROM:
11 250 Sender OK
12 RCPT TO:<userx@domain.com>
13 250 Recipient OK
14 DATA
15 354 Send data
16 .
17 250 OK
18 QUIT
19 250 OK
20 ****
21 exim -bs
22 EHLO myhost.test.ex
23 MAIL FROM:<CALLER@myhost.test.ex>
24 RCPT TO:<userx@domain.com>
25 DATA
26
27 .
28 QUIT
29 ****
30 #
31 #
32 # One redirect
33 server PORT_S
34 220 ESMTP
35 EHLO
36 250 OK
37 MAIL FROM:
38 250 Sender OK
39 RCPT TO:<userx@domain.com>
40 250 Recipient OK
41 DATA
42 354 Send data
43 .
44 250 OK
45 QUIT
46 250 OK
47 ****
48 exim -bs
49 EHLO myhost.test.ex
50 MAIL FROM:<CALLER@myhost.test.ex>
51 RCPT TO:<ruserx@domain.com>
52 DATA
53
54 .
55 QUIT
56 ****
57 #
58 #
59 # Two redirects
60 server PORT_S
61 220 ESMTP
62 EHLO
63 250 OK
64 MAIL FROM:
65 250 Sender OK
66 RCPT TO:<userx@domain.com>
67 250 Recipient OK
68 DATA
69 354 Send data
70 .
71 250 OK
72 QUIT
73 250 OK
74 ****
75 exim -bs
76 EHLO myhost.test.ex
77 MAIL FROM:<CALLER@myhost.test.ex>
78 RCPT TO:<rruserx@domain.com>
79 DATA
80
81 .
82 QUIT
83 ****
84 #
85 #
86 # Three redirects
87 server PORT_S
88 220 ESMTP
89 EHLO
90 250 OK
91 MAIL FROM:
92 250 Sender OK
93 RCPT TO:<userx@domain.com>
94 250 Recipient OK
95 DATA
96 354 Send data
97 .
98 250 OK
99 QUIT
100 250 OK
101 ****
102 exim -bs
103 EHLO myhost.test.ex
104 MAIL FROM:<CALLER@myhost.test.ex>
105 RCPT TO:<rrruserx@domain.com>
106 DATA
107
108 .
109 QUIT
110 ****
111 #
112 #
113 sortlog
114 no_stdout_check
115 # End