2 ### wait for db startup, set password on the root user
3 ### create testdb and extra users
5 configuration file is TESTSUITE/test-config
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
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=1223 socket=NULL database=test user=root
17 creating new cache entry
18 lookup yielded: Philip Hazel
19 search_open: mysql "NULL"
21 search_find: file="NULL"
22 key="select name from them where id='ph10';" partial=-1 affix=NULL starflags=0 opts=NULL
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"
30 search_find: file="NULL"
31 key="select name from them where id='xxxx';" partial=-1 affix=NULL starflags=0 opts=NULL
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:1223/test/root
39 creating new cache entry
41 search_open: mysql "NULL"
43 search_find: file="NULL"
44 key="select name from them where id='nothing';" partial=-1 affix=NULL starflags=0 opts=NULL
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:1223/test/root
51 creating new cache entry
53 search_open: mysql "NULL"
55 search_find: file="NULL"
56 key="select id,name from them where id='nothing';" partial=-1 affix=NULL starflags=0 opts=NULL
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:1223/test/root
63 creating new cache entry
64 lookup yielded: id=nothing name=""
65 search_open: mysql "NULL"
67 search_find: file="NULL"
68 key="delete from them where id='nonexist';" partial=-1 affix=NULL starflags=0 opts=NULL
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:1223/test/root
75 MYSQL: query was not one that returns data
76 lookup forced cache cleanup
78 search_open: mysql "NULL"
80 search_find: file="NULL"
81 key="select * from them where id='quote';" partial=-1 affix=NULL starflags=0 opts=NULL
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:1223/test/root
89 creating new cache entry
91 search_open: mysql "NULL"
93 search_find: file="NULL"
94 key="select * from them where id='filter';" partial=-1 affix=NULL starflags=0 opts=NULL
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:1223/test/root
102 creating new cache entry
104 search_open: mysql "NULL"
106 search_find: file="NULL"
107 key="select * from them where id='quote2';" partial=-1 affix=NULL starflags=0 opts=NULL
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:1223/test/root
114 creating new cache entry
115 lookup yielded: name="\"stquot" id=quote2
116 search_open: mysql "NULL"
118 search_find: file="NULL"
119 key="select * from them where id='nlonly';" partial=-1 affix=NULL starflags=0 opts=NULL
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:1223/test/root
127 creating new cache entry
129 search_open: mysql "NULL"
131 search_find: file="NULL"
132 key="servers=x:127.0.0.1::1223; select name from them where id='ph10';" partial=-1 affix=NULL starflags=0 opts=NULL
134 internal_search_find: file="NULL"
135 type=mysql key="servers=x:127.0.0.1::1223; select name from them where id='ph10';" opts=NULL
136 database lookup required for servers=x:127.0.0.1::1223; select name from them where id='ph10';
137 MySQL query: "servers=x:127.0.0.1::1223; 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"
141 search_find: file="NULL"
142 key="servers=127.0.0.1::1223:x; select name from them where id='ph10';" partial=-1 affix=NULL starflags=0 opts=NULL
144 internal_search_find: file="NULL"
145 type=mysql key="servers=127.0.0.1::1223:x; select name from them where id='ph10';" opts=NULL
146 database lookup required for servers=127.0.0.1::1223:x; select name from them where id='ph10';
147 MySQL query: "servers=127.0.0.1::1223:x; select name from them where id='ph10';" opts 'NULL'
148 MYSQL using cached connection for 127.0.0.1:1223/test/root
149 creating new cache entry
150 lookup yielded: Philip Hazel
151 search_open: mysql "NULL"
153 search_find: file="NULL"
154 key="servers=127.0.0.1::1223/test/root/:x; select name from them where id='ph10';" partial=-1 affix=NULL starflags=0 opts=NULL
156 internal_search_find: file="NULL"
157 type=mysql key="servers=127.0.0.1::1223/test/root/:x; select name from them where id='ph10';" opts=NULL
158 database lookup required for servers=127.0.0.1::1223/test/root/:x; select name from them where id='ph10';
159 MySQL query: "servers=127.0.0.1::1223/test/root/:x; select name from them where id='ph10';" opts 'NULL'
160 MYSQL using cached connection for 127.0.0.1:1223/test/root
161 creating new cache entry
162 lookup yielded: Philip Hazel
163 search_open: mysql "NULL"
165 search_find: file="NULL"
166 key="servers=ip4.ip4.ip4.ip4::1223/test/root/:127.0.0.1::1223; select name from them where id='ph10';" partial=-1 affix=NULL starflags=0 opts=NULL
168 internal_search_find: file="NULL"
169 type=mysql key="servers=ip4.ip4.ip4.ip4::1223/test/root/:127.0.0.1::1223; 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::1223; select name from them where id='ph10';
171 MySQL query: "servers=ip4.ip4.ip4.ip4::1223/test/root/:127.0.0.1::1223; select name from them where id='ph10';" opts 'NULL'
172 MYSQL new connection: host=ip4.ip4.ip4.ip4 port=1223 socket=NULL database=test user=root
173 creating new cache entry
174 lookup yielded: Philip Hazel
175 search_open: mysql "NULL"
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
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"
189 search_find: file="NULL"
190 key="SELECT name FROM them WHERE id IN ('ph10', 'aaaa');" partial=-1 affix=NULL starflags=0 opts=NULL
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:1223/test/root
197 creating new cache entry
198 lookup yielded: Philip Hazel
200 search_open: mysql "NULL"
202 search_find: file="NULL"
203 key="SELECT * FROM them WHERE id IN ('ph10', 'aaaa');" partial=-1 affix=NULL starflags=0 opts=NULL
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:1223/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"
215 search_find: file="NULL"
216 key="delete from them where id='aaaa'" partial=-1 affix=NULL starflags=0 opts=NULL
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:1223/test/root
223 MYSQL: query was not one that returns data
224 lookup forced cache cleanup
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:1223/test/root
230 >>>>>>>>>>>>>>>> Exim pid=pppp (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=pppp
234 configuration file is TESTSUITE/test-config
236 changed uid/gid: privilege not needed
237 uid=EXIM_UID gid=EXIM_GID pid=pppp
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
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
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
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=1223 socket=NULL database=test user=root
281 creating new cache entry
283 check set acl_m0 = ok: ${lookup mysql {select name from them where id = '${quote_mysql:$local_part}'}}
285 search_open: mysql "NULL"
287 search_find: file="NULL"
288 key="select name from them where id = 'c'" partial=-1 affix=NULL starflags=0 opts="no_rd"
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'
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:1223/test/root
300 replacing old cache entry
302 check set acl_m0 = FAIL: ${lookup mysql,no_rd {select name from them where id = '$local_part'}}
304 warn: condition test succeeded in ACL "check_recipient"
305 processing "warn" (TESTSUITE/test-config 31)
306 search_open: mysql "NULL"
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::1223/test/root/pass"
311 internal_search_find: file="NULL"
312 type=mysql key="select name from them where id = 'c'" opts="servers=127.0.0.1::1223/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::1223/test/root/pass'
316 MYSQL using cached connection for 127.0.0.1:1223/test/root
318 replacing old cache entry
320 check set acl_m0 = ok: ${lookup mysql,servers=127.0.0.1::1223/test/root/pass {select name from them where id = '${quote_mysql:$local_part}'}}
322 search_open: mysql "NULL"
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::1223"
327 internal_search_find: file="NULL"
328 type=mysql key="select name from them where id = 'c'" opts="servers=127.0.0.1::1223"
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::1223'
332 MYSQL using cached connection for 127.0.0.1:1223/test/root
334 replacing old cache entry
336 check set acl_m0 = ok: ${lookup mysql,servers=127.0.0.1::1223 {select name from them where id = '${quote_mysql:$local_part}'}}
338 search_open: mysql "NULL"
340 search_find: file="NULL"
341 key="servers=127.0.0.1::1223/test/root/pass; select name from them where id = 'c'" partial=-1 affix=NULL starflags=0 opts=NULL
343 internal_search_find: file="NULL"
344 type=mysql key="servers=127.0.0.1::1223/test/root/pass; select name from them where id = 'c'" opts=NULL
345 database lookup required for servers=127.0.0.1::1223/test/root/pass; select name from them where id = 'c'
346 (tainted, quoted:mysql)
347 MySQL query: "servers=127.0.0.1::1223/test/root/pass; select name from them where id = 'c'" opts 'NULL'
348 lookup deferred: MySQL server "127.0.0.1:1223/test/root/pass" is tainted
349 warn: condition test deferred in ACL "check_recipient"
351 H=(test) [10.0.0.0] Warning: ACL "warn" statement skipped: condition test deferred: MySQL server "127.0.0.1:1223/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"
357 search_find: file="NULL"
358 key="select * from them where id='c'" partial=-1 affix=NULL starflags=0 opts=NULL
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:1223/test/root
367 creating new cache entry
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::1223/test/root/pass; select * from them where id='${quote_mysql:$local_part}'
374 search_open: mysql "NULL"
376 search_find: file="NULL"
377 key="servers=127.0.0.1::1223/test/root/pass; select * from them where id='c'" partial=-1 affix=NULL starflags=0 opts=NULL
379 internal_search_find: file="NULL"
380 type=mysql key="servers=127.0.0.1::1223/test/root/pass; select * from them where id='c'" opts=NULL
381 database lookup required for servers=127.0.0.1::1223/test/root/pass; select * from them where id='c'
382 (tainted, quoted:mysql)
383 MySQL query: "servers=127.0.0.1::1223/test/root/pass; select * from them where id='c'" opts 'NULL'
384 lookup deferred: MySQL server "127.0.0.1:1223/test/root/pass" is tainted
385 host in "<& net-mysql;servers=127.0.0.1::1223/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"
388 H=(test) [10.0.0.0] Warning: ACL "warn" statement skipped: condition test deferred: MySQL server "127.0.0.1:1223/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::1223/test/root/pass; select * from them where id='${quote_mysql:$local_part}'
392 search_open: mysql "NULL"
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::1223/test/root/pass"
397 internal_search_find: file="NULL"
398 type=mysql key=" select * from them where id='c'" opts="servers=127.0.0.1::1223/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::1223/test/root/pass'
402 lookup deferred: MySQL server "127.0.0.1:1223/test/root/pass" is tainted
403 host in "<& net-mysql,servers=127.0.0.1::1223/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"
406 H=(test) [10.0.0.0] Warning: ACL "warn" statement skipped: condition test deferred: MySQL server "127.0.0.1:1223/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"
416 search_find: file="NULL"
417 key="select * from them where id='10.0.0.0'" partial=-1 affix=NULL starflags=0 opts=NULL
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:1223/test/root
425 creating new cache entry
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
436 H=(test) [10.0.0.0] F=<a@b> rejected RCPT <c@d>: relay not permitted
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
442 close MYSQL connection: 127.0.0.1:1223/test/root
443 >>>>>>>>>>>>>>>> Exim pid=pppp (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=pppp
447 configuration file is TESTSUITE/test-config
449 changed uid/gid: privilege not needed
450 uid=EXIM_UID gid=EXIM_GID pid=pppp
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
464 qualify & rewrite recipients list
467 rewrite_one_header: type=F:
468 From: CALLER_NAME <CALLER@myhost.test.ex>
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
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>)
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
494 <= CALLER@myhost.test.ex U=CALLER P=local S=sss
495 created log directory TESTSUITE/spool/log
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=pppp
501 configuration file is TESTSUITE/test-config
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
515 ---- End of tree ----
517 **** SPOOL_IN - No additional fields
518 body_linecount=1 message_linecount=8
519 DSN: set orcpt: flags: 0x0
520 Delivery address list:
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
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=1223 socket=NULL database=test user=root
549 creating new cache entry
551 acl_m_qtest: <ph10@myhost.test.ex> lkup: <>
552 processing address_data
553 search_open: mysql "NULL"
555 search_find: file="NULL"
556 key="select name from them where id='ph10'" partial=-1 affix=NULL starflags=0 opts=NULL
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'
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:1223/test/root
567 creating new cache entry
568 lookup yielded: Philip Hazel
570 r1 router called for ph10@myhost.test.ex
571 domain = myhost.test.ex
573 queued for t1 transport: local_part = ph10
574 domain = myhost.test.ex
576 domain_data=NULL local_part_data=NULL
578 envelope to: ph10@myhost.test.ex
580 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
588 close MYSQL connection: 127.0.0.1:1223/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
598 changed uid/gid: local delivery to ph10 <ph10@myhost.test.ex> transport=t1
599 uid=CALLER_UID gid=CALLER_GID pid=pppp
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
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'
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=1223 socket=NULL database=test user=root
616 creating new cache entry
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
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
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
635 close MYSQL connection: 127.0.0.1:1223/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
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=pppp
645 set_process_info: pppp tidying up after delivering 10HmaX-0005vi-00
646 Processing retry items
648 ph10@myhost.test.ex: no retry items
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
662 end delivery of 10HmaX-0005vi-00
665 >>>>>>>>>>>>>>>> Exim pid=pppp (local-accept-delivery) terminating with rc=0 >>>>>>>>>>>>>>>>
667 >>>>>>>>>>>>>>>> Exim pid=pppp (fresh-exec) terminating with rc=0 >>>>>>>>>>>>>>>>