Lookups: log warning for deprecated syntax. Bug 3068
[exim.git] / test / stderr / 2610
1 ### start a db server
2 ### wait for db startup, set password on the root user
3 ### create testdb and extra users
4 Exim version x.yz ....
5 configuration file is TESTSUITE/test-config
6 admin user
7 dropping to exim gid; retaining priv uid
8  search_open: mysql "NULL"
9  search_find: file="NULL"
10    key="select name from them where id='ph10';" partial=-1 affix=NULL starflags=0 opts=NULL
11  LRU list:
12  internal_search_find: file="NULL"
13    type=mysql key="select name from them where id='ph10';" opts=NULL
14  database lookup required for select name from them where id='ph10';
15  MySQL query: "select name from them where id='ph10';" opts 'NULL'
16  MYSQL new connection: host=127.0.0.1 port=PORT_N socket=NULL database=test user=root
17  creating new cache entry
18  lookup yielded: Philip Hazel
19  search_open: mysql "NULL"
20    cached open
21  search_find: file="NULL"
22    key="select name from them where id='ph10';" partial=-1 affix=NULL starflags=0 opts=NULL
23  LRU list:
24  internal_search_find: file="NULL"
25    type=mysql key="select name from them where id='ph10';" opts=NULL
26  cached data used for lookup of select name from them where id='ph10';
27  lookup yielded: Philip Hazel
28  search_open: mysql "NULL"
29    cached open
30  search_find: file="NULL"
31    key="select name from them where id='xxxx';" partial=-1 affix=NULL starflags=0 opts=NULL
32  LRU list:
33  internal_search_find: file="NULL"
34    type=mysql key="select name from them where id='xxxx';" opts=NULL
35  database lookup required for select name from them where id='xxxx';
36  MySQL query: "select name from them where id='xxxx';" opts 'NULL'
37  MYSQL using cached connection for 127.0.0.1:PORT_N/test/root
38  MYSQL: no data found
39  creating new cache entry
40  lookup failed
41  search_open: mysql "NULL"
42    cached open
43  search_find: file="NULL"
44    key="select name from them where id='nothing';" partial=-1 affix=NULL starflags=0 opts=NULL
45  LRU list:
46  internal_search_find: file="NULL"
47    type=mysql key="select name from them where id='nothing';" opts=NULL
48  database lookup required for select name from them where id='nothing';
49  MySQL query: "select name from them where id='nothing';" opts 'NULL'
50  MYSQL using cached connection for 127.0.0.1:PORT_N/test/root
51  creating new cache entry
52  lookup yielded: 
53  search_open: mysql "NULL"
54    cached open
55  search_find: file="NULL"
56    key="select id,name from them where id='nothing';" partial=-1 affix=NULL starflags=0 opts=NULL
57  LRU list:
58  internal_search_find: file="NULL"
59    type=mysql key="select id,name from them where id='nothing';" opts=NULL
60  database lookup required for select id,name from them where id='nothing';
61  MySQL query: "select id,name from them where id='nothing';" opts 'NULL'
62  MYSQL using cached connection for 127.0.0.1:PORT_N/test/root
63  creating new cache entry
64  lookup yielded: id=nothing name="" 
65  search_open: mysql "NULL"
66    cached open
67  search_find: file="NULL"
68    key="delete from them where id='nonexist';" partial=-1 affix=NULL starflags=0 opts=NULL
69  LRU list:
70  internal_search_find: file="NULL"
71    type=mysql key="delete from them where id='nonexist';" opts=NULL
72  database lookup required for delete from them where id='nonexist';
73  MySQL query: "delete from them where id='nonexist';" opts 'NULL'
74  MYSQL using cached connection for 127.0.0.1:PORT_N/test/root
75  MYSQL: query was not one that returns data
76  lookup forced cache cleanup
77  lookup yielded: 0
78  search_open: mysql "NULL"
79    cached open
80  search_find: file="NULL"
81    key="select * from them where id='quote';" partial=-1 affix=NULL starflags=0 opts=NULL
82  LRU list:
83  internal_search_find: file="NULL"
84    type=mysql key="select * from them where id='quote';" opts=NULL
85  database lookup required for select * from them where id='quote';
86  MySQL query: "select * from them where id='quote';" opts 'NULL'
87  MYSQL using cached connection for 127.0.0.1:PORT_N/test/root
88  MYSQL: no data found
89  creating new cache entry
90  lookup failed
91  search_open: mysql "NULL"
92    cached open
93  search_find: file="NULL"
94    key="select * from them where id='filter';" partial=-1 affix=NULL starflags=0 opts=NULL
95  LRU list:
96  internal_search_find: file="NULL"
97    type=mysql key="select * from them where id='filter';" opts=NULL
98  database lookup required for select * from them where id='filter';
99  MySQL query: "select * from them where id='filter';" opts 'NULL'
100  MYSQL using cached connection for 127.0.0.1:PORT_N/test/root
101  MYSQL: no data found
102  creating new cache entry
103  lookup failed
104  search_open: mysql "NULL"
105    cached open
106  search_find: file="NULL"
107    key="select * from them where id='quote2';" partial=-1 affix=NULL starflags=0 opts=NULL
108  LRU list:
109  internal_search_find: file="NULL"
110    type=mysql key="select * from them where id='quote2';" opts=NULL
111  database lookup required for select * from them where id='quote2';
112  MySQL query: "select * from them where id='quote2';" opts 'NULL'
113  MYSQL using cached connection for 127.0.0.1:PORT_N/test/root
114  creating new cache entry
115  lookup yielded: name="\"stquot" id=quote2 
116  search_open: mysql "NULL"
117    cached open
118  search_find: file="NULL"
119    key="select * from them where id='nlonly';" partial=-1 affix=NULL starflags=0 opts=NULL
120  LRU list:
121  internal_search_find: file="NULL"
122    type=mysql key="select * from them where id='nlonly';" opts=NULL
123  database lookup required for select * from them where id='nlonly';
124  MySQL query: "select * from them where id='nlonly';" opts 'NULL'
125  MYSQL using cached connection for 127.0.0.1:PORT_N/test/root
126  MYSQL: no data found
127  creating new cache entry
128  lookup failed
129  search_open: mysql "NULL"
130    cached open
131  search_find: file="NULL"
132    key="servers=x:127.0.0.1::PORT_N; select name from them where id='ph10';" partial=-1 affix=NULL starflags=0 opts=NULL
133  LRU list:
134  internal_search_find: file="NULL"
135    type=mysql key="servers=x:127.0.0.1::PORT_N; select name from them where id='ph10';" opts=NULL
136  database lookup required for servers=x:127.0.0.1::PORT_N; select name from them where id='ph10';
137  MySQL query: "servers=x:127.0.0.1::PORT_N; select name from them where id='ph10';" opts 'NULL'
138 LOG: MAIN
139   Exim configuration error in line 87 of TESTSUITE/test-config:
140   WARNING: obslete syntax used for lookup
141
142  lookup deferred: MySQL server "x" not found in mysql_servers
143  search_open: mysql "NULL"
144    cached open
145  search_find: file="NULL"
146    key="servers=127.0.0.1::PORT_N:x; select name from them where id='ph10';" partial=-1 affix=NULL starflags=0 opts=NULL
147  LRU list:
148  internal_search_find: file="NULL"
149    type=mysql key="servers=127.0.0.1::PORT_N:x; select name from them where id='ph10';" opts=NULL
150  database lookup required for servers=127.0.0.1::PORT_N:x; select name from them where id='ph10';
151  MySQL query: "servers=127.0.0.1::PORT_N:x; select name from them where id='ph10';" opts 'NULL'
152 LOG: MAIN
153   Exim configuration error in line 87 of TESTSUITE/test-config:
154   WARNING: obslete syntax used for lookup
155
156  MYSQL using cached connection for 127.0.0.1:PORT_N/test/root
157  creating new cache entry
158  lookup yielded: Philip Hazel
159  search_open: mysql "NULL"
160    cached open
161  search_find: file="NULL"
162    key="servers=127.0.0.1::PORT_N/test/root/:x; select name from them where id='ph10';" partial=-1 affix=NULL starflags=0 opts=NULL
163  LRU list:
164  internal_search_find: file="NULL"
165    type=mysql key="servers=127.0.0.1::PORT_N/test/root/:x; select name from them where id='ph10';" opts=NULL
166  database lookup required for servers=127.0.0.1::PORT_N/test/root/:x; select name from them where id='ph10';
167  MySQL query: "servers=127.0.0.1::PORT_N/test/root/:x; select name from them where id='ph10';" opts 'NULL'
168 LOG: MAIN
169   Exim configuration error in line 87 of TESTSUITE/test-config:
170   WARNING: obslete syntax used for lookup
171
172  MYSQL using cached connection for 127.0.0.1:PORT_N/test/root
173  creating new cache entry
174  lookup yielded: Philip Hazel
175  search_open: mysql "NULL"
176    cached open
177  search_find: file="NULL"
178    key="servers=ip4.ip4.ip4.ip4::1223/test/root/:127.0.0.1::PORT_N; select name from them where id='ph10';" partial=-1 affix=NULL starflags=0 opts=NULL
179  LRU list:
180  internal_search_find: file="NULL"
181    type=mysql key="servers=ip4.ip4.ip4.ip4::1223/test/root/:127.0.0.1::PORT_N; select name from them where id='ph10';" opts=NULL
182  database lookup required for servers=ip4.ip4.ip4.ip4::1223/test/root/:127.0.0.1::PORT_N; select name from them where id='ph10';
183  MySQL query: "servers=ip4.ip4.ip4.ip4::1223/test/root/:127.0.0.1::PORT_N; select name from them where id='ph10';" opts 'NULL'
184 LOG: MAIN
185   Exim configuration error in line 87 of TESTSUITE/test-config:
186   WARNING: obslete syntax used for lookup
187
188  MYSQL new connection: host=ip4.ip4.ip4.ip4 port=PORT_N socket=NULL database=test user=root
189  creating new cache entry
190  lookup yielded: Philip Hazel
191  search_open: mysql "NULL"
192    cached open
193  search_find: file="NULL"
194    key="servers=localhost(TESTSUITE/mysql/sock)/test/root/pass; select name from them where id='ph10';" partial=-1 affix=NULL starflags=0 opts=NULL
195  LRU list:
196  internal_search_find: file="NULL"
197    type=mysql key="servers=localhost(TESTSUITE/mysql/sock)/test/root/pass; select name from them where id='ph10';" opts=NULL
198  database lookup required for servers=localhost(TESTSUITE/mysql/sock)/test/root/pass; select name from them where id='ph10';
199  MySQL query: "servers=localhost(TESTSUITE/mysql/sock)/test/root/pass; select name from them where id='ph10';" opts 'NULL'
200 LOG: MAIN
201   Exim configuration error in line 87 of TESTSUITE/test-config:
202   WARNING: obslete syntax used for lookup
203
204  MYSQL new connection: host=localhost port=0 socket=TESTSUITE/mysql/sock database=test user=root
205  creating new cache entry
206  lookup yielded: Philip Hazel
207  search_open: mysql "NULL"
208    cached open
209  search_find: file="NULL"
210    key="SELECT name FROM them WHERE id IN ('ph10', 'aaaa');" partial=-1 affix=NULL starflags=0 opts=NULL
211  LRU list:
212  internal_search_find: file="NULL"
213    type=mysql key="SELECT name FROM them WHERE id IN ('ph10', 'aaaa');" opts=NULL
214  database lookup required for SELECT name FROM them WHERE id IN ('ph10', 'aaaa');
215  MySQL query: "SELECT name FROM them WHERE id IN ('ph10', 'aaaa');" opts 'NULL'
216  MYSQL using cached connection for 127.0.0.1:PORT_N/test/root
217  creating new cache entry
218  lookup yielded: Philip Hazel
219  Aristotle
220  search_open: mysql "NULL"
221    cached open
222  search_find: file="NULL"
223    key="SELECT *    FROM them WHERE id IN ('ph10', 'aaaa');" partial=-1 affix=NULL starflags=0 opts=NULL
224  LRU list:
225  internal_search_find: file="NULL"
226    type=mysql key="SELECT *    FROM them WHERE id IN ('ph10', 'aaaa');" opts=NULL
227  database lookup required for SELECT *    FROM them WHERE id IN ('ph10', 'aaaa');
228  MySQL query: "SELECT *    FROM them WHERE id IN ('ph10', 'aaaa');" opts 'NULL'
229  MYSQL using cached connection for 127.0.0.1:PORT_N/test/root
230  creating new cache entry
231  lookup yielded: name="Philip Hazel" id=ph10 
232  name=Aristotle id=aaaa 
233  search_open: mysql "NULL"
234    cached open
235  search_find: file="NULL"
236    key="delete from them where id='aaaa'" partial=-1 affix=NULL starflags=0 opts=NULL
237  LRU list:
238  internal_search_find: file="NULL"
239    type=mysql key="delete from them where id='aaaa'" opts=NULL
240  database lookup required for delete from them where id='aaaa'
241  MySQL query: "delete from them where id='aaaa'" opts 'NULL'
242  MYSQL using cached connection for 127.0.0.1:PORT_N/test/root
243  MYSQL: query was not one that returns data
244  lookup forced cache cleanup
245  lookup yielded: 1
246 search_tidyup called
247 close MYSQL connection: localhost(TESTSUITE/mysql/sock)/test/root
248 close MYSQL connection: ip4.ip4.ip4.ip4:1223/test/root
249 close MYSQL connection: 127.0.0.1:PORT_N/test/root
250 >>>>>>>>>>>>>>>> Exim pid=p1234 (fresh-exec) terminating with rc=0 >>>>>>>>>>>>>>>>
251 Exim version x.yz ....
252 changed uid/gid: forcing real = effective
253   uid=uuuu gid=CALLER_GID pid=p1235
254 configuration file is TESTSUITE/test-config
255 admin user
256 changed uid/gid: privilege not needed
257   uid=EXIM_UID gid=EXIM_GID pid=p1235
258 seeking password data for user "CALLER": cache not available
259 getpwnam() succeeded uid=CALLER_UID gid=CALLER_GID
260 originator: uid=CALLER_UID gid=CALLER_GID login=CALLER name=CALLER_NAME
261 sender address = CALLER@myhost.test.ex
262 sender_fullhost = [10.0.0.0]
263 sender_rcvhost = [10.0.0.0]
264 host in hosts_connection_nolog? no (option unset)
265 LOG: smtp_connection MAIN
266   SMTP connection from [10.0.0.0]
267 host in host_lookup? no (option unset)
268 set_process_info: pppp handling incoming connection from [10.0.0.0]
269 host in host_reject_connection? no (option unset)
270 host in sender_unqualified_hosts? no (option unset)
271 host in recipient_unqualified_hosts? no (option unset)
272 host in helo_verify_hosts? no (option unset)
273 host in helo_try_verify_hosts? no (option unset)
274 host in helo_accept_junk_hosts? no (option unset)
275 SMTP>> 220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000
276 smtp_setup_msg entered
277 SMTP<< helo test
278 test in helo_lookup_domains?
279  list element: @
280  list element: @[]
281 test in helo_lookup_domains? no (end of list)
282 sender_fullhost = (test) [10.0.0.0]
283 sender_rcvhost = [10.0.0.0] (helo=test)
284 set_process_info: pppp handling incoming connection from (test) [10.0.0.0]
285 SMTP>> 250 myhost.test.ex Hello test [10.0.0.0]
286 SMTP<< mail from:<a@b>
287 spool directory space = nnnnnK inodes = nnnnn check_space = 10240K inodes = 100 msg_size = 0
288 log directory space = nnnnnK inodes = nnnnn check_space = 10240K inodes = 100
289 SMTP>> 250 OK
290 SMTP<< rcpt to:<c@d>
291 using ACL "check_recipient"
292 processing "warn" (TESTSUITE/test-config 26)
293  search_open: mysql "NULL"
294  search_find: file="NULL"
295    key="select name from them where id = 'c'" partial=-1 affix=NULL starflags=0 opts=NULL
296  LRU list:
297  internal_search_find: file="NULL"
298    type=mysql key="select name from them where id = 'c'" opts=NULL
299  database lookup required for select name from them where id = 'c'
300                               (tainted, quoted:mysql)
301  MySQL query: "select name from them where id = 'c'" opts 'NULL'
302  MYSQL new connection: host=127.0.0.1 port=PORT_N socket=NULL database=test user=root
303  MYSQL: no data found
304  creating new cache entry
305  lookup failed
306 check set acl_m0 = ok:   ${lookup mysql                    {select name from them where id = '${quote_mysql:$local_part}'}}
307                  = ok:   
308  search_open: mysql "NULL"
309    cached open
310  search_find: file="NULL"
311    key="select name from them where id = 'c'" partial=-1 affix=NULL starflags=0 opts="no_rd"
312  LRU list:
313  internal_search_find: file="NULL"
314    type=mysql key="select name from them where id = 'c'" opts="no_rd"
315  cached data found but wrong opts;  database lookup required for select name from them where id = 'c'
316                               (tainted)
317 LOG: MAIN PANIC
318   tainted search query is not properly quoted (ACL warn, TESTSUITE/test-config 26): select name from them where id = 'c'
319  search_type NN (mysql) quoting -1 (none)
320  MySQL query: "select name from them where id = 'c'" opts 'no_rd'
321  MYSQL using cached connection for 127.0.0.1:PORT_N/test/root
322  MYSQL: no data found
323  replacing old cache entry
324  lookup failed
325 check set acl_m0 = FAIL: ${lookup mysql,no_rd              {select name from them where id = '$local_part'}}
326                  = FAIL: 
327 warn: condition test succeeded in ACL "check_recipient"
328 processing "warn" (TESTSUITE/test-config 31)
329  search_open: mysql "NULL"
330    cached open
331  search_find: file="NULL"
332    key="select name from them where id = 'c'" partial=-1 affix=NULL starflags=0 opts="servers=127.0.0.1::PORT_N/test/root/pass"
333  LRU list:
334  internal_search_find: file="NULL"
335    type=mysql key="select name from them where id = 'c'" opts="servers=127.0.0.1::PORT_N/test/root/pass"
336  cached data found but wrong opts;  database lookup required for select name from them where id = 'c'
337                               (tainted, quoted:mysql)
338  MySQL query: "select name from them where id = 'c'" opts 'servers=127.0.0.1::PORT_N/test/root/pass'
339  MYSQL using cached connection for 127.0.0.1:PORT_N/test/root
340  MYSQL: no data found
341  replacing old cache entry
342  lookup failed
343 check set acl_m0 = ok:   ${lookup mysql,servers=127.0.0.1::PORT_N/test/root/pass      {select name from them where id = '${quote_mysql:$local_part}'}}
344                  = ok:   
345  search_open: mysql "NULL"
346    cached open
347  search_find: file="NULL"
348    key="select name from them where id = 'c'" partial=-1 affix=NULL starflags=0 opts="servers=127.0.0.1::PORT_N"
349  LRU list:
350  internal_search_find: file="NULL"
351    type=mysql key="select name from them where id = 'c'" opts="servers=127.0.0.1::PORT_N"
352  cached data found but wrong opts;  database lookup required for select name from them where id = 'c'
353                               (tainted, quoted:mysql)
354  MySQL query: "select name from them where id = 'c'" opts 'servers=127.0.0.1::PORT_N'
355  MYSQL using cached connection for 127.0.0.1:PORT_N/test/root
356  MYSQL: no data found
357  replacing old cache entry
358  lookup failed
359 check set acl_m0 = ok:   ${lookup mysql,servers=127.0.0.1::PORT_N    {select name from them where id = '${quote_mysql:$local_part}'}}
360                  = ok:   
361  search_open: mysql "NULL"
362    cached open
363  search_find: file="NULL"
364    key="servers=127.0.0.1::PORT_N/test/root/pass; select name from them where id = 'c'" partial=-1 affix=NULL starflags=0 opts=NULL
365  LRU list:
366  internal_search_find: file="NULL"
367    type=mysql key="servers=127.0.0.1::PORT_N/test/root/pass; select name from them where id = 'c'" opts=NULL
368  database lookup required for servers=127.0.0.1::PORT_N/test/root/pass; select name from them where id = 'c'
369                               (tainted, quoted:mysql)
370  MySQL query: "servers=127.0.0.1::PORT_N/test/root/pass; select name from them where id = 'c'" opts 'NULL'
371 LOG: MAIN
372   Exim configuration error in line 87 of TESTSUITE/test-config:
373   WARNING: obslete syntax used for lookup
374
375  lookup deferred: MySQL server "127.0.0.1:PORT_N/test/root/pass" is tainted
376 warn: condition test deferred in ACL "check_recipient"
377 LOG: MAIN
378   H=(test) [10.0.0.0] Warning: ACL "warn" statement skipped: condition test deferred: MySQL server "127.0.0.1:PORT_N/test/root/pass" is tainted
379 processing "warn" (TESTSUITE/test-config 40)
380 check set acl_m0 = ok:   hostlist
381 check hosts = net-mysql;select * from them where id='${quote_mysql:$local_part}'
382 host in "net-mysql;select * from them where id='c'"?
383  list element: net-mysql;select * from them where id='c'
384  search_open: mysql "NULL"
385    cached open
386  search_find: file="NULL"
387    key="select * from them where id='c'" partial=-1 affix=NULL starflags=0 opts=NULL
388  LRU list:
389  internal_search_find: file="NULL"
390    type=mysql key="select * from them where id='c'" opts=NULL
391  database lookup required for select * from them where id='c'
392                               (tainted, quoted:mysql)
393  MySQL query: "select * from them where id='c'" opts 'NULL'
394  MYSQL using cached connection for 127.0.0.1:PORT_N/test/root
395  MYSQL: no data found
396  creating new cache entry
397  lookup failed
398 host in "net-mysql;select * from them where id='c'"? no (end of list)
399 warn: condition test failed in ACL "check_recipient"
400 processing "warn" (TESTSUITE/test-config 43)
401 check set acl_m0 = FAIL: hostlist
402 check hosts = <& net-mysql;servers=127.0.0.1::PORT_N/test/root/pass; select * from them where id='${quote_mysql:$local_part}'
403 host in "<& net-mysql;servers=127.0.0.1::PORT_N/test/root/pass; select * from them where id='c'"?
404  list element: net-mysql;servers=127.0.0.1::PORT_N/test/root/pass; select * from them where id='c'
405  search_open: mysql "NULL"
406    cached open
407  search_find: file="NULL"
408    key="servers=127.0.0.1::PORT_N/test/root/pass; select * from them where id='c'" partial=-1 affix=NULL starflags=0 opts=NULL
409  LRU list:
410  internal_search_find: file="NULL"
411    type=mysql key="servers=127.0.0.1::PORT_N/test/root/pass; select * from them where id='c'" opts=NULL
412  database lookup required for servers=127.0.0.1::PORT_N/test/root/pass; select * from them where id='c'
413                               (tainted, quoted:mysql)
414  MySQL query: "servers=127.0.0.1::PORT_N/test/root/pass; select * from them where id='c'" opts 'NULL'
415 LOG: MAIN
416   Exim configuration error in line 87 of TESTSUITE/test-config:
417   WARNING: obslete syntax used for lookup
418
419  lookup deferred: MySQL server "127.0.0.1:PORT_N/test/root/pass" is tainted
420 host in "<& net-mysql;servers=127.0.0.1::PORT_N/test/root/pass; select * from them where id='c'"? list match deferred for net-mysql;servers=127.0.0.1::1223/test/root/pass; select * from them where id='c'
421 warn: condition test deferred in ACL "check_recipient"
422 LOG: MAIN
423   H=(test) [10.0.0.0] Warning: ACL "warn" statement skipped: condition test deferred: MySQL server "127.0.0.1:PORT_N/test/root/pass" is tainted
424 processing "warn" (TESTSUITE/test-config 48)
425 check set acl_m0 = FAIL: hostlist
426 check hosts = <& net-mysql,servers=127.0.0.1::PORT_N/test/root/pass; select * from them where id='${quote_mysql:$local_part}'
427 host in "<& net-mysql,servers=127.0.0.1::PORT_N/test/root/pass; select * from them where id='c'"?
428  list element: net-mysql,servers=127.0.0.1::PORT_N/test/root/pass; select * from them where id='c'
429  search_open: mysql "NULL"
430    cached open
431  search_find: file="NULL"
432    key=" select * from them where id='c'" partial=-1 affix=NULL starflags=0 opts="servers=127.0.0.1::PORT_N/test/root/pass"
433  LRU list:
434  internal_search_find: file="NULL"
435    type=mysql key=" select * from them where id='c'" opts="servers=127.0.0.1::PORT_N/test/root/pass"
436  database lookup required for  select * from them where id='c'
437                               (tainted, quoted:mysql)
438  MySQL query: " select * from them where id='c'" opts 'servers=127.0.0.1::PORT_N/test/root/pass'
439  lookup deferred: MySQL server "127.0.0.1:PORT_N/test/root/pass" is tainted
440 host in "<& net-mysql,servers=127.0.0.1::PORT_N/test/root/pass; select * from them where id='c'"? list match deferred for net-mysql,servers=127.0.0.1::1223/test/root/pass; select * from them where id='c'
441 warn: condition test deferred in ACL "check_recipient"
442 LOG: MAIN
443   H=(test) [10.0.0.0] Warning: ACL "warn" statement skipped: condition test deferred: MySQL server "127.0.0.1:PORT_N/test/root/pass" is tainted
444 processing "accept" (TESTSUITE/test-config 51)
445 check domains = +local_domains
446 d in "+local_domains"?
447  list element: +local_domains
448   start sublist local_domains
449    d in "@"?
450    ╎list element: @
451    d in "@"? no (end of list)
452   end sublist local_domains
453 d in "+local_domains"? no (end of list)
454 accept: condition test failed in ACL "check_recipient"
455 processing "accept" (TESTSUITE/test-config 54)
456 check hosts = +relay_hosts
457 host in "+relay_hosts"?
458  list element: +relay_hosts
459   start sublist relay_hosts
460   host in "net-mysql;select * from them where id='10.0.0.0'"?
461    ╎list element: net-mysql;select * from them where id='10.0.0.0'
462    ╎search_open: mysql "NULL"
463    ╎  cached open
464    ╎search_find: file="NULL"
465    ╎  key="select * from them where id='10.0.0.0'" partial=-1 affix=NULL starflags=0 opts=NULL
466    ╎LRU list:
467    ╎internal_search_find: file="NULL"
468    ╎  type=mysql key="select * from them where id='10.0.0.0'" opts=NULL
469    ╎database lookup required for select * from them where id='10.0.0.0'
470    ╎MySQL query: "select * from them where id='10.0.0.0'" opts 'NULL'
471    ╎MYSQL using cached connection for 127.0.0.1:PORT_N/test/root
472    ╎MYSQL: no data found
473    ╎creating new cache entry
474    ╎lookup failed
475   host in "net-mysql;select * from them where id='10.0.0.0'"? no (end of list)
476   end sublist relay_hosts
477 host in "+relay_hosts"? no (end of list)
478 accept: condition test failed in ACL "check_recipient"
479 processing "deny" (TESTSUITE/test-config 55)
480   message: relay not permitted
481 deny: condition test succeeded in ACL "check_recipient"
482 end of ACL "check_recipient": DENY
483 SMTP>> 550 relay not permitted
484 LOG: MAIN REJECT
485   H=(test) [10.0.0.0] F=<a@b> rejected RCPT <c@d>: relay not permitted
486 SMTP<< quit
487 SMTP>> 221 myhost.test.ex closing connection
488 LOG: smtp_connection MAIN
489   SMTP connection from (test) [10.0.0.0] D=qqs closed by QUIT
490 search_tidyup called
491 close MYSQL connection: 127.0.0.1:PORT_N/test/root
492 >>>>>>>>>>>>>>>> Exim pid=p1235 (fresh-exec) terminating with rc=0 >>>>>>>>>>>>>>>>
493 Exim version x.yz ....
494 changed uid/gid: forcing real = effective
495   uid=uuuu gid=CALLER_GID pid=p1236
496 configuration file is TESTSUITE/test-config
497 admin user
498 changed uid/gid: privilege not needed
499   uid=EXIM_UID gid=EXIM_GID pid=p1236
500 seeking password data for user "CALLER": cache not available
501 getpwnam() succeeded uid=CALLER_UID gid=CALLER_GID
502 originator: uid=CALLER_UID gid=CALLER_GID login=CALLER name=CALLER_NAME
503 sender address = CALLER@myhost.test.ex
504 set_process_info: pppp accepting a local non-SMTP message from <CALLER@myhost.test.ex>
505 spool directory space = nnnnnK inodes = nnnnn check_space = 10240K inodes = 100 msg_size = 0
506 log directory space = nnnnnK inodes = nnnnn check_space = 10240K inodes = 100
507 Sender: CALLER@myhost.test.ex
508 Recipients:
509   ph10
510 search_tidyup called
511 >>Headers received:
512
513 qualify & rewrite recipients list
514 rewrite rules on sender address
515 qualify and rewrite headers
516  rewrite_one_header: type=F:
517    From: CALLER_NAME <CALLER@myhost.test.ex>
518 search_tidyup called
519 >>Headers after rewriting and local additions:
520  I Message-Id: <E10HmaX-000000005vi-0000@myhost.test.ex>
521  F From: CALLER_NAME <CALLER@myhost.test.ex>
522    Date: Tue, 2 Mar 1999 09:44:33 +0000
523
524 Data file name: TESTSUITE/spool//input//10HmaX-000000005vi-0000-D
525 Data file written for message 10HmaX-000000005vi-0000
526 >>Generated Received: header line
527 P Received: from CALLER by myhost.test.ex with local (Exim x.yz)
528         (envelope-from <CALLER@myhost.test.ex>)
529         id 10HmaX-000000005vi-0000
530         for ph10@myhost.test.ex;
531         Tue, 2 Mar 1999 09:44:33 +0000
532 using ACL "check_notsmtp"
533 processing "accept" (TESTSUITE/test-config 58)
534 check set acl_m_qtest = ${quote_mysql:$recipients}
535                       = ph10@myhost.test.ex
536 accept: condition test succeeded in ACL "check_notsmtp"
537 end of ACL "check_notsmtp": ACCEPT
538 Writing spool header file: TESTSUITE/spool//input//hdr.10HmaX-000000005vi-0000
539 DSN: **** SPOOL_OUT - address: <ph10@myhost.test.ex> errorsto: <NULL> orcpt: <NULL> dsn_flags: 0x0
540 Renaming spool header file: TESTSUITE/spool//input//10HmaX-000000005vi-0000-H
541 Size of headers = sss
542 LOG: MAIN
543   <= CALLER@myhost.test.ex U=CALLER P=local S=sss
544 created log directory TESTSUITE/spool/log
545 search_tidyup called
546 exec TESTSUITE/eximdir/exim -DEXIM_PATH=TESTSUITE/eximdir/exim -C TESTSUITE/test-config -d=0xf7715cfd -MCd local-accept-delivery -odi -Mc 10HmaX-000000005vi-0000
547 Exim version x.yz ....
548 changed uid/gid: forcing real = effective
549   uid=uuuu gid=EXIM_GID pid=p1237
550 configuration file is TESTSUITE/test-config
551 trusted user
552 admin user
553 dropping to exim gid; retaining priv uid
554 seeking password data for user "CALLER": cache not available
555 getpwnam() succeeded uid=CALLER_UID gid=CALLER_GID
556 set_process_info: pppp delivering specified messages
557 set_process_info: pppp delivering 10HmaX-000000005vi-0000
558 Trying spool file TESTSUITE/spool//input//10HmaX-000000005vi-0000-D
559 reading spool file 10HmaX-000000005vi-0000-H
560 user=CALLER uid=CALLER_UID gid=CALLER_GID sender=CALLER@myhost.test.ex
561 sender_local=1 ident=CALLER
562 Non-recipients:
563  Empty Tree
564 ---- End of tree ----
565 recipients_count=1
566 **** SPOOL_IN - No additional fields
567 body_linecount=1 message_linecount=8
568 DSN: set orcpt:   flags: 0x0
569 Delivery address list:
570   ph10@myhost.test.ex 
571  locking TESTSUITE/spool/db/retry.lockfile
572  locked  TESTSUITE/spool/db/retry.lockfile
573  EXIM_DBOPEN: file <TESTSUITE/spool/db/retry> dir <TESTSUITE/spool/db> flags=O_RDONLY
574  returned from EXIM_DBOPEN: (nil)
575  failed to open DB file TESTSUITE/spool/db/retry: No such file or directory
576 no retry data available
577 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
578 Considering: ph10@myhost.test.ex
579 unique = ph10@myhost.test.ex
580 no   domain  retry record
581 no   address retry record
582 ph10@myhost.test.ex: queued for routing
583 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
584 routing ph10@myhost.test.ex
585 --------> r1 router <--------
586 local_part=ph10 domain=myhost.test.ex
587  search_open: mysql "NULL"
588  search_find: file="NULL"
589    key="select name from them where id='ph10@myhost.test.ex'" partial=-1 affix=NULL starflags=0 opts=NULL
590  LRU list:
591  internal_search_find: file="NULL"
592    type=mysql key="select name from them where id='ph10@myhost.test.ex'" opts=NULL
593  database lookup required for select name from them where id='ph10@myhost.test.ex'
594                               (tainted, quoted:mysql)
595  MySQL query: "select name from them where id='ph10@myhost.test.ex'" opts 'NULL'
596  MYSQL new connection: host=127.0.0.1 port=PORT_N socket=NULL database=test user=root
597  MYSQL: no data found
598  creating new cache entry
599  lookup failed
600 acl_m_qtest: <ph10@myhost.test.ex> lkup: <>
601 processing address_data
602  search_open: mysql "NULL"
603    cached open
604  search_find: file="NULL"
605    key="select name from them where id='ph10' limit 1" partial=-1 affix=NULL starflags=0 opts=NULL
606  LRU list:
607  internal_search_find: file="NULL"
608    type=mysql key="select name from them where id='ph10' limit 1" opts=NULL
609  database lookup required for select name from them where id='ph10' limit 1
610                               (tainted)
611 LOG: MAIN PANIC
612   tainted search query is not properly quoted (router r1, TESTSUITE/test-config 66): select name from them where id='ph10' limit 1
613  search_type NN (mysql) quoting -1 (none)
614  MySQL query: "select name from them where id='ph10' limit 1" opts 'NULL'
615  MYSQL using cached connection for 127.0.0.1:PORT_N/test/root
616  creating new cache entry
617  lookup yielded: Philip Hazel
618 calling r1 router
619 r1 router called for ph10@myhost.test.ex
620   domain = myhost.test.ex
621 set transport t1
622 queued for t1 transport: local_part = ph10
623 domain = myhost.test.ex
624   errors_to=NULL
625   domain_data=NULL local_part_data=NULL
626 routed by r1 router
627   envelope to: ph10@myhost.test.ex
628   transport: t1
629 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
630 After routing:
631   Local deliveries:
632     ph10@myhost.test.ex
633   Remote deliveries:
634   Failed addresses:
635   Deferred addresses:
636 search_tidyup called
637 close MYSQL connection: 127.0.0.1:PORT_N/test/root
638 >>>>>>>>>>>>>>>> Local deliveries >>>>>>>>>>>>>>>>
639 --------> ph10@myhost.test.ex <--------
640  locking TESTSUITE/spool/db/retry.lockfile
641  locked  TESTSUITE/spool/db/retry.lockfile
642  EXIM_DBOPEN: file <TESTSUITE/spool/db/retry> dir <TESTSUITE/spool/db> flags=O_RDONLY
643  returned from EXIM_DBOPEN: (nil)
644  failed to open DB file TESTSUITE/spool/db/retry: No such file or directory
645 no retry data available
646 search_tidyup called
647 changed uid/gid: local delivery to ph10 <ph10@myhost.test.ex> transport=t1
648   uid=CALLER_UID gid=CALLER_GID pid=p1238
649   home=NULL current=/
650 set_process_info: pppp delivering 10HmaX-000000005vi-0000 to ph10 using t1
651 appendfile transport entered
652  search_open: mysql "NULL"
653  search_find: file="NULL"
654    key="select id from them where id='ph10'" partial=-1 affix=NULL starflags=0 opts=NULL
655  LRU list:
656  internal_search_find: file="NULL"
657    type=mysql key="select id from them where id='ph10'" opts=NULL
658  database lookup required for select id from them where id='ph10'
659                               (tainted)
660 LOG: MAIN
661   tainted search query is not properly quoted (transport t1, TESTSUITE/test-config 80): select id from them where id='ph10'
662  search_type NN (mysql) quoting -1 (none)
663  MySQL query: "select id from them where id='ph10'" opts 'NULL'
664  MYSQL new connection: host=127.0.0.1 port=PORT_N socket=NULL database=test user=root
665  creating new cache entry
666  lookup yielded: ph10
667 appendfile: mode=600 notify_comsat=0 quota=0 warning=0
668   file=TESTSUITE/test-mail/ph10 format=unix
669   message_prefix=From ${if def:return_path{$return_path}{MAILER-DAEMON}} ${tod_bsdinbox}\n
670   message_suffix=\n
671   maildir_use_size_file=no
672   locking by lockfile fcntl 
673 lock name: TESTSUITE/test-mail/ph10.lock
674 hitch name: TESTSUITE/test-mail/ph10.lock.test.ex.dddddddd.pppppppp
675 lock file created
676 mailbox TESTSUITE/test-mail/ph10 is locked
677 writing to file TESTSUITE/test-mail/ph10
678 writing data block fd=dddd size=sss timeout=0
679 cannot use sendfile for body: spoolfile not wireformat
680 writing data block fd=dddd size=sss timeout=0
681 writing data block fd=dddd size=sss timeout=0
682 appendfile yields 0 with errno=dd more_errno=dd
683 search_tidyup called
684 close MYSQL connection: 127.0.0.1:PORT_N/test/root
685 journalling ph10@myhost.test.ex
686 t1 transport returned OK for ph10@myhost.test.ex
687 post-process ph10@myhost.test.ex (0)
688 ph10@myhost.test.ex delivered
689 LOG: MAIN
690   => ph10 <ph10@myhost.test.ex> R=r1 T=t1
691 >>>>>>>>>>>>>>>> deliveries are done >>>>>>>>>>>>>>>>
692 changed uid/gid: post-delivery tidying
693   uid=EXIM_UID gid=EXIM_GID pid=p1237
694 set_process_info: pppp tidying up after delivering 10HmaX-000000005vi-0000
695 Processing retry items
696 Succeeded addresses:
697  ph10@myhost.test.ex: no retry items
698 Failed addresses:
699 Deferred addresses:
700 end of retry processing
701 DSN: processing router : r1
702 DSN: processing successful delivery address: ph10@myhost.test.ex
703 DSN: Sender_address: CALLER@myhost.test.ex
704 DSN: orcpt: NULL  flags: 0x0
705 DSN: envid: NULL  ret: 0
706 DSN: Final recipient: ph10@myhost.test.ex
707 DSN: Remote SMTP server supports DSN: 0
708 DSN: not sending DSN success message
709 LOG: MAIN
710   Completed
711 end delivery of 10HmaX-000000005vi-0000
712 search_tidyup called
713 search_tidyup called
714 >>>>>>>>>>>>>>>> Exim pid=p1237 (local-accept-delivery) terminating with rc=0 >>>>>>>>>>>>>>>>
715 search_tidyup called
716 >>>>>>>>>>>>>>>> Exim pid=p1236 (fresh-exec) terminating with rc=0 >>>>>>>>>>>>>>>>