debian experimental exim-daemon-heavy config
[exim.git] / test / scripts / 0000-Basic / 0581
1 # callout lazy-close, smtp send
2 need_ipv4
3 #
4 # a recipient verify and continued-delivery
5 # smtp 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 -DSERVER=server -bd -oX PORT_D
23 ****
24 #
25 client 127.0.0.1 PORT_D
26 ??? 220
27 EHLO test.ex
28 ??? 250-
29 ??? 250-
30 ??? 250-
31 ??? 250-
32 ??? 250
33 MAIL FROM:<userc@ok.example>
34 ??? 250
35 RCPT TO:<userd@test.ex>
36 ??? 250
37 DATA
38 ??? 354
39 Subject: test
40
41 body
42 .
43 ??? 250
44 QUIT
45 ??? 221
46 ****
47 sleep 1
48 killdaemon
49 #
50 exim -z 'test2'
51 ****
52 #
53 # smtp send, deliver_drop_priv
54 server PORT_S
55 220 Welcome
56 EHLO
57 250 Hi
58 MAIL FROM
59 250 OK
60 RCPT TO
61 250 OK
62 DATA
63 354 hit me
64 .
65 250 yeah got that message
66 QUIT
67 221 Bye
68 ****
69 #
70 exim -DSERVER=server -DOPT=deliver_drop_privilege -bd -oX PORT_D
71 ****
72 #
73 client 127.0.0.1 PORT_D
74 ??? 220
75 EHLO test.ex
76 ??? 250-
77 ??? 250-
78 ??? 250-
79 ??? 250-
80 ??? 250
81 MAIL FROM:<usere@ok.example>
82 ??? 250
83 RCPT TO:<userf@test.ex>
84 ??? 250
85 DATA
86 ??? 354
87 Subject: test
88
89 body
90 .
91 ??? 250
92 QUIT
93 ??? 221
94 ****
95 sleep 1
96 killdaemon
97 #
98 #
99 exim -z 'test3'
100 ****
101 # multiple recipients
102 # 1st callout result is cached (above); should not activate LCC
103 # smtp send
104 server PORT_S 2
105 220 Welcome
106 EHLO
107 250 Hi
108 MAIL FROM
109 250 OK
110 RCPT TO:<userd2@test.ex>
111 250 OK
112 QUIT
113 221 Bye
114 *eof
115 220 Welcome
116 EHLO
117 250 Hi
118 MAIL FROM
119 250 OK
120 RCPT TO:<userd@test.ex>
121 250 OK
122 RCPT TO:<userd2@test.ex>
123 250 OK
124 DATA
125 354 hit me
126 .
127 250 yeah got that message
128 QUIT
129 221 Bye
130 ****
131 #
132 exim -d+all -DSERVER=server -bd -oX PORT_D
133 ****
134 #
135 client 127.0.0.1 PORT_D
136 ??? 220
137 EHLO test.ex
138 ??? 250-
139 ??? 250-
140 ??? 250-
141 ??? 250-
142 ??? 250
143 MAIL FROM:<userc@ok.example>
144 ??? 250
145 RCPT TO:<userd@test.ex>
146 ??? 250
147 RCPT TO:<userd2@test.ex>
148 ??? 250
149 DATA
150 ??? 354
151 Subject: test
152
153 body
154 .
155 ??? 250
156 QUIT
157 ??? 221
158 ****
159 sleep 1
160 #
161 #
162 exim -z 'test4'
163 ****
164 # 2nd callout result is cached (above); should not activate LCC
165 # smtp send
166 server PORT_S 2
167 220 Welcome
168 EHLO
169 250 Hi
170 MAIL FROM
171 250 OK
172 RCPT TO:<userd3@test.ex>
173 250 OK
174 QUIT
175 221 Bye
176 *eof
177 220 Welcome
178 EHLO
179 250 Hi
180 MAIL FROM
181 250 OK
182 RCPT TO:<userd3@test.ex>
183 250 OK
184 RCPT TO:<userd2@test.ex>
185 250 OK
186 DATA
187 354 hit me
188 .
189 250 yeah got that message
190 QUIT
191 221 Bye
192 ****
193 #
194 # XXX this test intermittently fails, at this client...
195 # the client gets a 451 rcpt-v fail for userd3
196 # the stderr-server says it got a conn-refused for the verify callout, which should have
197 # gone to the above "server" command, first of the 2 conns it is expecting
198 # the stdout-server shows "server" handling the previous subtest (userd, userd2) fine, plus
199 # a fresh "server" startup and listen. Which should have been this one... perhaps it was
200 # not there in time? Add server-wait synch point for _previous_ server, using dummy "exim -z".
201 client 127.0.0.1 PORT_D
202 ??? 220
203 EHLO test.ex
204 ??? 250-
205 ??? 250-
206 ??? 250-
207 ??? 250-
208 ??? 250
209 MAIL FROM:<userc@ok.example>
210 ??? 250
211 RCPT TO:<userd3@test.ex>
212 ??? 250
213 RCPT TO:<userd2@test.ex>
214 ??? 250
215 DATA
216 ??? 354
217 Subject: test
218
219 body
220 .
221 ??? 250
222 QUIT
223 ??? 221
224 ****
225 sleep 1
226 #
227 #
228 exim -z 'test5'
229 ****
230 # no cache hits; should do LCC
231 # smtp send
232 server PORT_S 2
233 220 Welcome
234 EHLO
235 250 Hi
236 MAIL FROM
237 250 OK
238 RCPT TO:<userd4@test.ex>
239 250 OK
240 RCPT TO:<userd5@test.ex>
241 250 OK
242 DATA
243 354 hit me
244 .
245 250 yeah got that message
246 QUIT
247 221 Bye
248 ****
249 #
250 client 127.0.0.1 PORT_D
251 ??? 220
252 EHLO test.ex
253 ??? 250-
254 ??? 250-
255 ??? 250-
256 ??? 250-
257 ??? 250
258 MAIL FROM:<userc@ok.example>
259 ??? 250
260 RCPT TO:<userd4@test.ex>
261 ??? 250
262 RCPT TO:<userd5@test.ex>
263 ??? 250
264 DATA
265 ??? 354
266 Subject: test
267
268 body
269 .
270 ??? 250
271 QUIT
272 ??? 221
273 ****
274 sleep 1
275 killdaemon
276 #
277 #
278 no_stdout_check
279 no_stderr_check
280 no_msglog_check