Fix buffer overrun in spam= acl condition. Bug 1552
[users/jgh/exim.git] / test / stderr / 5420
1 Exim version x.yz ....
2 configuration file is TESTSUITE/test-config
3 admin user
4  in hosts_connection_nolog? no (option unset)
5 LOG: smtp_connection MAIN
6   SMTP connection from CALLER
7 expanding: $smtp_active_hostname ESMTP Exim $version_number $tod_full
8    result: myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000
9  in pipelining_advertise_hosts? yes (matched "*")
10  in tls_advertise_hosts? yes (matched "*")
11 expanding: SERVER
12    result: SERVER
13 expanding: server
14    result: server
15 condition: eq {SERVER}{server}
16    result: false
17 expanding: queue
18    result: queue
19 skipping: result is not used
20 expanding: cutthrough
21    result: cutthrough
22 expanding: ${if eq {SERVER}{server}{queue}{cutthrough}}
23    result: cutthrough
24 using ACL "cutthrough"
25 processing "accept"
26 check control = cutthrough_delivery
27 check verify = recipient
28 domain.com in "test.ex : *.test.ex"? no (end of list)
29 domain.com in "! +local_domains"? yes (end of list)
30 expanding: $local_part
31    result: userx
32 domain.com in "*"? yes (matched "*")
33 ----------- end verify ------------
34 accept: condition test succeeded in ACL "cutthrough"
35 end of ACL "cutthrough": ACCEPT
36 ----------- start cutthrough setup ------------
37 domain.com in "test.ex : *.test.ex"? no (end of list)
38 domain.com in "! +local_domains"? yes (end of list)
39 expanding: $local_part
40    result: userx
41 domain.com in "*"? yes (matched "*")
42 Connecting to 127.0.0.1 [127.0.0.1]:1225 from ip4.ip4.ip4.ip4 ... connected
43 expanding: $primary_hostname
44    result: myhost.test.ex
45   SMTP<< 220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000
46 127.0.0.1 in hosts_avoid_esmtp? no (option unset)
47   SMTP>> EHLO myhost.test.ex
48   SMTP<< 250-myhost.test.ex Hello the.local.host.name [ip4.ip4.ip4.ip4]
49          250-SIZE 52428800
50          250-8BITMIME
51          250-PIPELINING
52          250-STARTTLS
53          250 HELP
54 expanding: $address_data
55    result: userx
56 expanding: usery
57    result: usery
58 condition: eq {$address_data}{usery}
59    result: false
60 expanding: *
61    result: *
62 skipping: result is not used
63 expanding: :
64    result: :
65 expanding: ${if eq {$address_data}{usery}{*}{:}}
66    result: :
67 127.0.0.1 in hosts_avoid_tls? no (end of list)
68 expanding: $address_data
69    result: userx
70 expanding: userz
71    result: userz
72 condition: eq {$address_data}{userz}
73    result: false
74 expanding: *
75    result: *
76 skipping: result is not used
77 expanding: :
78    result: :
79 expanding: ${if eq {$address_data}{userz}{*}{:}}
80    result: :
81 127.0.0.1 in hosts_verify_avoid_tls? no (end of list)
82   SMTP>> STARTTLS
83   SMTP<< 220 TLS go ahead
84 127.0.0.1 in tls_verify_hosts? no (option unset)
85 127.0.0.1 in tls_try_verify_hosts? yes (matched "*")
86 127.0.0.1 in tls_verify_cert_hostnames? yes (matched "*")
87   SMTP>> EHLO myhost.test.ex
88   SMTP<< 250-myhost.test.ex Hello the.local.host.name [ip4.ip4.ip4.ip4]
89          250-SIZE 52428800
90          250-8BITMIME
91          250-PIPELINING
92          250 HELP
93 127.0.0.1 in hosts_require_auth? no (option unset)
94   SMTP>> MAIL FROM:<CALLER@myhost.test.ex>
95   SMTP<< 250 OK
96   SMTP>> RCPT TO:<userx@domain.com>
97   SMTP<< 250 Accepted
98 ----------- end cutthrough setup ------------
99 processing "accept"
100 accept: condition test succeeded in inline ACL
101 end of inline ACL: ACCEPT
102   SMTP>> DATA
103   SMTP<< 354 Enter message, ending with "." on a line by itself
104 expanding: ${tod_full}
105    result: Tue, 2 Mar 1999 09:44:33 +0000
106 condition: def:sender_rcvhost
107    result: false
108 expanding: from $sender_rcvhost
109         
110    result: from 
111         
112 skipping: result is not used
113 condition: def:sender_ident
114    result: true
115 expanding: $sender_ident
116    result: CALLER
117 expanding: from ${quote_local_part:$sender_ident} 
118    result: from CALLER 
119 condition: def:sender_helo_name
120    result: true
121 expanding: (helo=$sender_helo_name)
122         
123    result: (helo=myhost.test.ex)
124         
125 expanding: ${if def:sender_ident {from ${quote_local_part:$sender_ident} }}${if def:sender_helo_name {(helo=$sender_helo_name)
126         }}
127    result: from CALLER (helo=myhost.test.ex)
128         
129 condition: def:received_protocol
130    result: true
131 expanding: with $received_protocol
132    result: with local-esmtp
133 condition: def:sender_address
134    result: true
135 expanding: (envelope-from <$sender_address>)
136         
137    result: (envelope-from <CALLER@myhost.test.ex>)
138         
139 condition: def:received_for
140    result: true
141 expanding: 
142         for $received_for
143    result: 
144         for userx@domain.com
145 ----------- start cutthrough headers send -----------
146 ----------- done cutthrough headers send ------------
147 expanding: ${tod_full}
148    result: Tue, 2 Mar 1999 09:44:33 +0000
149   SMTP>> .
150   SMTP<< 250 OK id=10HmaX-0005vi-00
151 LOG: MAIN
152   >> userx@domain.com R=all T=smtp H=127.0.0.1 [127.0.0.1] X=TLS1.x:xxxxRSA_AES_256_CBC_SHAnnn:256 CV=no C="250 OK id=10HmaX-0005vi-00"
153   SMTP>> QUIT
154 ----------- cutthrough shutdown (delivered) ------------
155 LOG: MAIN
156   <= CALLER@myhost.test.ex U=CALLER P=local-esmtp S=sss
157 LOG: MAIN
158   Completed
159 LOG: smtp_connection MAIN
160   SMTP connection from CALLER closed by QUIT
161 >>>>>>>>>>>>>>>> Exim pid=pppp terminating with rc=0 >>>>>>>>>>>>>>>>
162 Exim version x.yz ....
163 configuration file is TESTSUITE/test-config
164 admin user
165  in hosts_connection_nolog? no (option unset)
166 LOG: smtp_connection MAIN
167   SMTP connection from CALLER
168 expanding: $smtp_active_hostname ESMTP Exim $version_number $tod_full
169    result: myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000
170  in pipelining_advertise_hosts? yes (matched "*")
171  in tls_advertise_hosts? yes (matched "*")
172 expanding: SERVER
173    result: SERVER
174 expanding: server
175    result: server
176 condition: eq {SERVER}{server}
177    result: false
178 expanding: queue
179    result: queue
180 skipping: result is not used
181 expanding: cutthrough
182    result: cutthrough
183 expanding: ${if eq {SERVER}{server}{queue}{cutthrough}}
184    result: cutthrough
185 using ACL "cutthrough"
186 processing "accept"
187 check control = cutthrough_delivery
188 check verify = recipient
189 domain.com in "test.ex : *.test.ex"? no (end of list)
190 domain.com in "! +local_domains"? yes (end of list)
191 expanding: $local_part
192    result: usery
193 domain.com in "*"? yes (matched "*")
194 ----------- end verify ------------
195 accept: condition test succeeded in ACL "cutthrough"
196 end of ACL "cutthrough": ACCEPT
197 ----------- start cutthrough setup ------------
198 domain.com in "test.ex : *.test.ex"? no (end of list)
199 domain.com in "! +local_domains"? yes (end of list)
200 expanding: $local_part
201    result: usery
202 domain.com in "*"? yes (matched "*")
203 Connecting to 127.0.0.1 [127.0.0.1]:1225 from ip4.ip4.ip4.ip4 ... connected
204 expanding: $primary_hostname
205    result: myhost.test.ex
206   SMTP<< 220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000
207 127.0.0.1 in hosts_avoid_esmtp? no (option unset)
208   SMTP>> EHLO myhost.test.ex
209   SMTP<< 250-myhost.test.ex Hello the.local.host.name [ip4.ip4.ip4.ip4]
210          250-SIZE 52428800
211          250-8BITMIME
212          250-PIPELINING
213          250-STARTTLS
214          250 HELP
215 expanding: $address_data
216    result: usery
217 expanding: usery
218    result: usery
219 condition: eq {$address_data}{usery}
220    result: true
221 expanding: *
222    result: *
223 expanding: :
224    result: :
225 skipping: result is not used
226 expanding: ${if eq {$address_data}{usery}{*}{:}}
227    result: *
228 127.0.0.1 in hosts_avoid_tls? yes (matched "*")
229 127.0.0.1 in hosts_require_auth? no (option unset)
230   SMTP>> MAIL FROM:<CALLER@myhost.test.ex>
231   SMTP<< 250 OK
232   SMTP>> RCPT TO:<usery@domain.com>
233   SMTP<< 250 Accepted
234 ----------- end cutthrough setup ------------
235 processing "accept"
236 accept: condition test succeeded in inline ACL
237 end of inline ACL: ACCEPT
238   SMTP>> DATA
239   SMTP<< 354 Enter message, ending with "." on a line by itself
240 expanding: ${tod_full}
241    result: Tue, 2 Mar 1999 09:44:33 +0000
242 condition: def:sender_rcvhost
243    result: false
244 expanding: from $sender_rcvhost
245         
246    result: from 
247         
248 skipping: result is not used
249 condition: def:sender_ident
250    result: true
251 expanding: $sender_ident
252    result: CALLER
253 expanding: from ${quote_local_part:$sender_ident} 
254    result: from CALLER 
255 condition: def:sender_helo_name
256    result: true
257 expanding: (helo=$sender_helo_name)
258         
259    result: (helo=myhost.test.ex)
260         
261 expanding: ${if def:sender_ident {from ${quote_local_part:$sender_ident} }}${if def:sender_helo_name {(helo=$sender_helo_name)
262         }}
263    result: from CALLER (helo=myhost.test.ex)
264         
265 condition: def:received_protocol
266    result: true
267 expanding: with $received_protocol
268    result: with local-esmtp
269 condition: def:sender_address
270    result: true
271 expanding: (envelope-from <$sender_address>)
272         
273    result: (envelope-from <CALLER@myhost.test.ex>)
274         
275 condition: def:received_for
276    result: true
277 expanding: 
278         for $received_for
279    result: 
280         for usery@domain.com
281 ----------- start cutthrough headers send -----------
282 ----------- done cutthrough headers send ------------
283 expanding: ${tod_full}
284    result: Tue, 2 Mar 1999 09:44:33 +0000
285   SMTP>> .
286   SMTP<< 250 OK id=10HmaZ-0005vi-00
287 LOG: MAIN
288   >> usery@domain.com R=all T=smtp H=127.0.0.1 [127.0.0.1] C="250 OK id=10HmaZ-0005vi-00"
289   SMTP>> QUIT
290 ----------- cutthrough shutdown (delivered) ------------
291 LOG: MAIN
292   <= CALLER@myhost.test.ex U=CALLER P=local-esmtp S=sss
293 LOG: MAIN
294   Completed
295 LOG: smtp_connection MAIN
296   SMTP connection from CALLER closed by QUIT
297 >>>>>>>>>>>>>>>> Exim pid=pppp terminating with rc=0 >>>>>>>>>>>>>>>>
298 Exim version x.yz ....
299 configuration file is TESTSUITE/test-config
300 admin user
301  in hosts_connection_nolog? no (option unset)
302 LOG: smtp_connection MAIN
303   SMTP connection from CALLER
304 expanding: $smtp_active_hostname ESMTP Exim $version_number $tod_full
305    result: myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000
306  in pipelining_advertise_hosts? yes (matched "*")
307  in tls_advertise_hosts? yes (matched "*")
308 expanding: SERVER
309    result: SERVER
310 expanding: server
311    result: server
312 condition: eq {SERVER}{server}
313    result: false
314 expanding: queue
315    result: queue
316 skipping: result is not used
317 expanding: cutthrough
318    result: cutthrough
319 expanding: ${if eq {SERVER}{server}{queue}{cutthrough}}
320    result: cutthrough
321 using ACL "cutthrough"
322 processing "accept"
323 check control = cutthrough_delivery
324 check verify = recipient
325 domain.com in "test.ex : *.test.ex"? no (end of list)
326 domain.com in "! +local_domains"? yes (end of list)
327 expanding: $local_part
328    result: usery
329 domain.com in "*"? yes (matched "*")
330 ----------- end verify ------------
331 accept: condition test succeeded in ACL "cutthrough"
332 end of ACL "cutthrough": ACCEPT
333 ----------- start cutthrough setup ------------
334 domain.com in "test.ex : *.test.ex"? no (end of list)
335 domain.com in "! +local_domains"? yes (end of list)
336 expanding: $local_part
337    result: usery
338 domain.com in "*"? yes (matched "*")
339 Connecting to 127.0.0.1 [127.0.0.1]:1225 from ip4.ip4.ip4.ip4 ... connected
340 expanding: $primary_hostname
341    result: myhost.test.ex
342   SMTP<< 220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000
343 127.0.0.1 in hosts_avoid_esmtp? no (option unset)
344   SMTP>> EHLO myhost.test.ex
345   SMTP<< 250-myhost.test.ex Hello the.local.host.name [ip4.ip4.ip4.ip4]
346          250-SIZE 52428800
347          250-8BITMIME
348          250-PIPELINING
349          250-STARTTLS
350          250 HELP
351 expanding: $address_data
352    result: usery
353 expanding: usery
354    result: usery
355 condition: eq {$address_data}{usery}
356    result: true
357 expanding: *
358    result: *
359 expanding: :
360    result: :
361 skipping: result is not used
362 expanding: ${if eq {$address_data}{usery}{*}{:}}
363    result: *
364 127.0.0.1 in hosts_avoid_tls? yes (matched "*")
365 127.0.0.1 in hosts_require_auth? no (option unset)
366   SMTP>> MAIL FROM:<CALLER@myhost.test.ex>
367   SMTP<< 250 OK
368   SMTP>> RCPT TO:<usery@domain.com>
369   SMTP<< 250 Accepted
370 ----------- end cutthrough setup ------------
371 processing "accept"
372 accept: condition test succeeded in inline ACL
373 end of inline ACL: ACCEPT
374   SMTP>> DATA
375   SMTP<< 354 Enter message, ending with "." on a line by itself
376 expanding: ${tod_full}
377    result: Tue, 2 Mar 1999 09:44:33 +0000
378 condition: def:sender_rcvhost
379    result: false
380 expanding: from $sender_rcvhost
381         
382    result: from 
383         
384 skipping: result is not used
385 condition: def:sender_ident
386    result: true
387 expanding: $sender_ident
388    result: CALLER
389 expanding: from ${quote_local_part:$sender_ident} 
390    result: from CALLER 
391 condition: def:sender_helo_name
392    result: true
393 expanding: (helo=$sender_helo_name)
394         
395    result: (helo=myhost.test.ex)
396         
397 expanding: ${if def:sender_ident {from ${quote_local_part:$sender_ident} }}${if def:sender_helo_name {(helo=$sender_helo_name)
398         }}
399    result: from CALLER (helo=myhost.test.ex)
400         
401 condition: def:received_protocol
402    result: true
403 expanding: with $received_protocol
404    result: with local-esmtp
405 condition: def:sender_address
406    result: true
407 expanding: (envelope-from <$sender_address>)
408         
409    result: (envelope-from <CALLER@myhost.test.ex>)
410         
411 condition: def:received_for
412    result: true
413 expanding: 
414         for $received_for
415    result: 
416         for usery@domain.com
417 ----------- start cutthrough headers send -----------
418 ----------- done cutthrough headers send ------------
419 expanding: ${tod_full}
420    result: Tue, 2 Mar 1999 09:44:33 +0000
421   SMTP>> .
422   SMTP<< 250 OK id=10HmbB-0005vi-00
423 LOG: MAIN
424   >> usery@domain.com R=all T=smtp H=127.0.0.1 [127.0.0.1] C="250 OK id=10HmbB-0005vi-00"
425   SMTP>> QUIT
426 ----------- cutthrough shutdown (delivered) ------------
427 LOG: MAIN
428   <= CALLER@myhost.test.ex U=CALLER P=local-esmtp S=sss
429 LOG: MAIN
430   Completed
431 LOG: smtp_connection MAIN
432   SMTP connection from CALLER closed by QUIT
433 >>>>>>>>>>>>>>>> Exim pid=pppp terminating with rc=0 >>>>>>>>>>>>>>>>
434
435 ******** SERVER ********