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