Fix local delivery delay when combined with remote callout/hold. Bug 2599
[exim.git] / test / scripts / 0000-Basic / 0580
1 # callout lazy-close, -bs send
2 need_ipv4
3 #
4 # a recipient verify and continued-delivery
5 # cmdline -bs send
6 server PORT_S
7 220 Welcome
8 EHLO
9 250 Hi
10 MAIL FROM
11 250 OK
12 RCPT TO
13 250 OK
14 DATA
15 354 hit me
16 .
17 250 yeah got that message
18 QUIT
19 221 Bye
20 ****
21 #
22 exim -bs -odi
23 mail from:<userx@ok.example>
24 rcpt to:<usery@test.ex>
25 data
26 Subject: test
27
28 body
29 .
30 quit
31 ****
32 #
33 #
34 # multiple recipients
35 # 1st callout result is cached (above); should not activate LCC
36 server PORT_S 2
37 220 Welcome
38 EHLO
39 250 Hi
40 MAIL FROM
41 250 OK
42 RCPT TO
43 250 OK
44 QUIT
45 221 Bye
46 *eof
47 220 Welcome
48 EHLO
49 250 Hi
50 MAIL FROM
51 250 OK
52 RCPT TO
53 250 OK
54 RCPT TO
55 250 OK
56 DATA
57 354 hit me
58 .
59 250 yeah got that message
60 QUIT
61 221 Bye
62 ****
63 #
64 exim -bs -odi
65 mail from:<userx@ok.example>
66 rcpt to:<usery@test.ex>
67 rcpt to:<usery2@test.ex>
68 data
69 Subject: test
70
71 body
72 .
73 quit
74 ****
75 #
76 #
77 # 2nd callout result is cached (above); should not activate LCC
78 server PORT_S 2
79 220 Welcome
80 EHLO
81 250 Hi
82 MAIL FROM
83 250 OK
84 RCPT TO
85 250 OK
86 QUIT
87 221 Bye
88 *eof
89 220 Welcome
90 EHLO
91 250 Hi
92 MAIL FROM
93 250 OK
94 RCPT TO
95 250 OK
96 RCPT TO
97 250 OK
98 DATA
99 354 hit me
100 .
101 250 yeah got that message
102 QUIT
103 221 Bye
104 ****
105 #
106 exim -bs -odi
107 mail from:<userx@ok.example>
108 rcpt to:<usery3@test.ex>
109 rcpt to:<usery@test.ex>
110 data
111 Subject: test
112
113 body
114 .
115 quit
116 ****
117 #
118 #
119 # no cache hits; should do LCC
120 server PORT_S
121 220 Welcome
122 EHLO
123 250 Hi
124 MAIL FROM
125 250 OK
126 RCPT TO
127 250 OK
128 RCPT TO
129 250 OK
130 DATA
131 354 hit me
132 .
133 250 yeah got that message
134 QUIT
135 221 Bye
136 ****
137 #
138 exim -bs -odi
139 mail from:<userx@ok.example>
140 rcpt to:<usery4@test.ex>
141 rcpt to:<usery5@test.ex>
142 data
143 Subject: test
144
145 body
146 .
147 quit
148 ****
149 #
150 # cmdline -bs send, rmt conn timeout, also local rcpt
151 server PORT_S
152 220 Welcome
153 EHLO
154 250 Hi
155 MAIL FROM
156 250 OK 
157 RCPT TO
158 250 OK
159 DATA
160 354 hit me
161 .
162 250 message accepted
163 QUIT
164 221 bye
165 ****
166 exim -bs -odi
167 mail from:<useri@ok.example>
168 rcpt to:<remote@test.ex>
169 rcpt to:<local@test.ex>
170 data
171 Subject: test
172 .
173 quit
174 ****
175 exim -bp
176 ****
177 #
178 no_msglog_check