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=PORT_N 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:PORT_N/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:PORT_N/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:PORT_N/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:PORT_N/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:PORT_N/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:PORT_N/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:PORT_N/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:PORT_N/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::PORT_N; 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::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"
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
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"
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
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"
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
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"
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:PORT_N/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: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"
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:PORT_N/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: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 SHELL in keep_environment?
236 list element: EXIM_TESTHARNESS_DISABLE_OCSPVALIDITYCHECK
237 EXIM_TEST_NUMBER in keep_environment?
239 list element: EXIM_TESTHARNESS_DISABLE_OCSPVALIDITYCHECK
240 PWD in keep_environment?
242 list element: EXIM_TESTHARNESS_DISABLE_OCSPVALIDITYCHECK
243 TERM in keep_environment?
245 list element: EXIM_TESTHARNESS_DISABLE_OCSPVALIDITYCHECK
246 USER in keep_environment?
248 list element: EXIM_TESTHARNESS_DISABLE_OCSPVALIDITYCHECK
249 SHLVL in keep_environment?
251 list element: EXIM_TESTHARNESS_DISABLE_OCSPVALIDITYCHECK
252 PATH in keep_environment?
254 _ in keep_environment?
256 list element: EXIM_TESTHARNESS_DISABLE_OCSPVALIDITYCHECK
257 PATH in keep_environment?
259 configuration file is TESTSUITE/test-config
261 changed uid/gid: privilege not needed
262 uid=EXIM_UID gid=EXIM_GID pid=p1235
263 seeking password data for user "CALLER": cache not available
264 getpwnam() succeeded uid=CALLER_UID gid=CALLER_GID
265 originator: uid=CALLER_UID gid=CALLER_GID login=CALLER name=CALLER_NAME
266 sender address = CALLER@myhost.test.ex
267 sender_fullhost = [10.0.0.0]
268 sender_rcvhost = [10.0.0.0]
269 host in hosts_connection_nolog? no (option unset)
270 LOG: smtp_connection MAIN
271 SMTP connection from [10.0.0.0]
272 host in host_lookup? no (option unset)
273 set_process_info: pppp handling incoming connection from [10.0.0.0]
274 host in host_reject_connection? no (option unset)
275 host in sender_unqualified_hosts? no (option unset)
276 host in recipient_unqualified_hosts? no (option unset)
277 host in helo_verify_hosts? no (option unset)
278 host in helo_try_verify_hosts? no (option unset)
279 host in helo_accept_junk_hosts? no (option unset)
280 host in pipelining_connect_advertise_hosts?
282 SMTP>> 220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000
283 smtp_setup_msg entered
285 test in helo_lookup_domains?
288 test in helo_lookup_domains? no (end of list)
289 sender_fullhost = (test) [10.0.0.0]
290 sender_rcvhost = [10.0.0.0] (helo=test)
291 set_process_info: pppp handling incoming connection from (test) [10.0.0.0]
292 SMTP>> 250 myhost.test.ex Hello test [10.0.0.0]
293 SMTP<< mail from:<a@b>
294 spool directory space = nnnnnK inodes = nnnnn check_space = 10240K inodes = 100 msg_size = 0
295 log directory space = nnnnnK inodes = nnnnn check_space = 10240K inodes = 100
298 using ACL "check_recipient"
299 processing "warn" (TESTSUITE/test-config 26)
300 search_open: mysql "NULL"
301 search_find: file="NULL"
302 key="select name from them where id = 'c'" partial=-1 affix=NULL starflags=0 opts=NULL
304 internal_search_find: file="NULL"
305 type=mysql key="select name from them where id = 'c'" opts=NULL
306 database lookup required for select name from them where id = 'c'
307 (tainted, quoted:mysql)
308 MySQL query: "select name from them where id = 'c'" opts 'NULL'
309 MYSQL new connection: host=127.0.0.1 port=PORT_N socket=NULL database=test user=root
311 creating new cache entry
313 check set acl_m0 = ok: ${lookup mysql {select name from them where id = '${quote_mysql:$local_part}'}}
315 search_open: mysql "NULL"
317 search_find: file="NULL"
318 key="select name from them where id = 'c'" partial=-1 affix=NULL starflags=0 opts="no_rd"
320 internal_search_find: file="NULL"
321 type=mysql key="select name from them where id = 'c'" opts="no_rd"
322 cached data found but wrong opts; database lookup required for select name from them where id = 'c'
325 tainted search query is not properly quoted (ACL warn, TESTSUITE/test-config 26): select name from them where id = 'c'
326 search_type NN (mysql) quoting -1 (none)
327 MySQL query: "select name from them where id = 'c'" opts 'no_rd'
328 MYSQL using cached connection for 127.0.0.1:PORT_N/test/root
330 replacing old cache entry
332 check set acl_m0 = FAIL: ${lookup mysql,no_rd {select name from them where id = '$local_part'}}
334 warn: condition test succeeded in ACL "check_recipient"
335 processing "warn" (TESTSUITE/test-config 31)
336 search_open: mysql "NULL"
338 search_find: file="NULL"
339 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"
341 internal_search_find: file="NULL"
342 type=mysql key="select name from them where id = 'c'" opts="servers=127.0.0.1::PORT_N/test/root/pass"
343 cached data found but wrong opts; database lookup required for select name from them where id = 'c'
344 (tainted, quoted:mysql)
345 MySQL query: "select name from them where id = 'c'" opts 'servers=127.0.0.1::PORT_N/test/root/pass'
346 MYSQL using cached connection for 127.0.0.1:PORT_N/test/root
348 replacing old cache entry
350 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}'}}
352 search_open: mysql "NULL"
354 search_find: file="NULL"
355 key="select name from them where id = 'c'" partial=-1 affix=NULL starflags=0 opts="servers=127.0.0.1::PORT_N"
357 internal_search_find: file="NULL"
358 type=mysql key="select name from them where id = 'c'" opts="servers=127.0.0.1::PORT_N"
359 cached data found but wrong opts; database lookup required for select name from them where id = 'c'
360 (tainted, quoted:mysql)
361 MySQL query: "select name from them where id = 'c'" opts 'servers=127.0.0.1::PORT_N'
362 MYSQL using cached connection for 127.0.0.1:PORT_N/test/root
364 replacing old cache entry
366 check set acl_m0 = ok: ${lookup mysql,servers=127.0.0.1::PORT_N {select name from them where id = '${quote_mysql:$local_part}'}}
368 search_open: mysql "NULL"
370 search_find: file="NULL"
371 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
373 internal_search_find: file="NULL"
374 type=mysql key="servers=127.0.0.1::PORT_N/test/root/pass; select name from them where id = 'c'" opts=NULL
375 database lookup required for servers=127.0.0.1::PORT_N/test/root/pass; select name from them where id = 'c'
376 (tainted, quoted:mysql)
377 MySQL query: "servers=127.0.0.1::PORT_N/test/root/pass; select name from them where id = 'c'" opts 'NULL'
378 lookup deferred: MySQL server "127.0.0.1:PORT_N/test/root/pass" is tainted
379 warn: condition test deferred in ACL "check_recipient"
381 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
382 processing "warn" (TESTSUITE/test-config 40)
383 check set acl_m0 = ok: hostlist
384 check hosts = net-mysql;select * from them where id='${quote_mysql:$local_part}'
385 host in "net-mysql;select * from them where id='c'"?
386 list element: net-mysql;select * from them where id='c'
387 search_open: mysql "NULL"
389 search_find: file="NULL"
390 key="select * from them where id='c'" partial=-1 affix=NULL starflags=0 opts=NULL
392 internal_search_find: file="NULL"
393 type=mysql key="select * from them where id='c'" opts=NULL
394 database lookup required for select * from them where id='c'
395 (tainted, quoted:mysql)
396 MySQL query: "select * from them where id='c'" opts 'NULL'
397 MYSQL using cached connection for 127.0.0.1:PORT_N/test/root
399 creating new cache entry
401 host in "net-mysql;select * from them where id='c'"? no (end of list)
402 warn: condition test failed in ACL "check_recipient"
403 processing "warn" (TESTSUITE/test-config 43)
404 check set acl_m0 = FAIL: hostlist
405 check hosts = <& net-mysql;servers=127.0.0.1::PORT_N/test/root/pass; select * from them where id='${quote_mysql:$local_part}'
406 host in "<& net-mysql;servers=127.0.0.1::PORT_N/test/root/pass; select * from them where id='c'"?
407 list element: net-mysql;servers=127.0.0.1::PORT_N/test/root/pass; select * from them where id='c'
408 search_open: mysql "NULL"
410 search_find: file="NULL"
411 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
413 internal_search_find: file="NULL"
414 type=mysql key="servers=127.0.0.1::PORT_N/test/root/pass; select * from them where id='c'" opts=NULL
415 database lookup required for servers=127.0.0.1::PORT_N/test/root/pass; select * from them where id='c'
416 (tainted, quoted:mysql)
417 MySQL query: "servers=127.0.0.1::PORT_N/test/root/pass; select * from them where id='c'" opts 'NULL'
418 lookup deferred: MySQL server "127.0.0.1:PORT_N/test/root/pass" is tainted
419 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'
420 warn: condition test deferred in ACL "check_recipient"
422 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
423 processing "warn" (TESTSUITE/test-config 48)
424 check set acl_m0 = FAIL: hostlist
425 check hosts = <& net-mysql,servers=127.0.0.1::PORT_N/test/root/pass; select * from them where id='${quote_mysql:$local_part}'
426 host in "<& net-mysql,servers=127.0.0.1::PORT_N/test/root/pass; select * from them where id='c'"?
427 list element: net-mysql,servers=127.0.0.1::PORT_N/test/root/pass; select * from them where id='c'
428 search_open: mysql "NULL"
430 search_find: file="NULL"
431 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 internal_search_find: file="NULL"
434 type=mysql key=" select * from them where id='c'" opts="servers=127.0.0.1::PORT_N/test/root/pass"
435 database lookup required for select * from them where id='c'
436 (tainted, quoted:mysql)
437 MySQL query: " select * from them where id='c'" opts 'servers=127.0.0.1::PORT_N/test/root/pass'
438 lookup deferred: MySQL server "127.0.0.1:PORT_N/test/root/pass" is tainted
439 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'
440 warn: condition test deferred in ACL "check_recipient"
442 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
443 processing "accept" (TESTSUITE/test-config 51)
444 check domains = +local_domains
445 d in "+local_domains"?
446 list element: +local_domains
447 start sublist local_domains
450 d in "@"? no (end of list)
451 end sublist local_domains
452 d in "+local_domains"? no (end of list)
453 accept: condition test failed in ACL "check_recipient"
454 processing "accept" (TESTSUITE/test-config 54)
455 check hosts = +relay_hosts
456 host in "+relay_hosts"?
457 list element: +relay_hosts
458 start sublist relay_hosts
459 host in "net-mysql;select * from them where id='10.0.0.0'"?
460 ╎list element: net-mysql;select * from them where id='10.0.0.0'
461 ╎search_open: mysql "NULL"
463 ╎search_find: file="NULL"
464 ╎ key="select * from them where id='10.0.0.0'" partial=-1 affix=NULL starflags=0 opts=NULL
466 ╎internal_search_find: file="NULL"
467 ╎ type=mysql key="select * from them where id='10.0.0.0'" opts=NULL
468 ╎database lookup required for select * from them where id='10.0.0.0'
469 ╎MySQL query: "select * from them where id='10.0.0.0'" opts 'NULL'
470 ╎MYSQL using cached connection for 127.0.0.1:PORT_N/test/root
471 ╎MYSQL: no data found
472 ╎creating new cache entry
474 host in "net-mysql;select * from them where id='10.0.0.0'"? no (end of list)
475 end sublist relay_hosts
476 host in "+relay_hosts"? no (end of list)
477 accept: condition test failed in ACL "check_recipient"
478 processing "deny" (TESTSUITE/test-config 55)
479 message: relay not permitted
480 deny: condition test succeeded in ACL "check_recipient"
481 end of ACL "check_recipient": DENY
482 SMTP>> 550 relay not permitted
484 H=(test) [10.0.0.0] F=<a@b> rejected RCPT <c@d>: relay not permitted
486 SMTP>> 221 myhost.test.ex closing connection
487 LOG: smtp_connection MAIN
488 SMTP connection from (test) [10.0.0.0] closed by QUIT
490 close MYSQL connection: 127.0.0.1:PORT_N/test/root
491 >>>>>>>>>>>>>>>> Exim pid=p1235 (fresh-exec) terminating with rc=0 >>>>>>>>>>>>>>>>
492 Exim version x.yz ....
493 changed uid/gid: forcing real = effective
494 uid=uuuu gid=CALLER_GID pid=p1236
495 SHELL in keep_environment?
497 list element: EXIM_TESTHARNESS_DISABLE_OCSPVALIDITYCHECK
498 EXIM_TEST_NUMBER in keep_environment?
500 list element: EXIM_TESTHARNESS_DISABLE_OCSPVALIDITYCHECK
501 PWD in keep_environment?
503 list element: EXIM_TESTHARNESS_DISABLE_OCSPVALIDITYCHECK
504 TERM in keep_environment?
506 list element: EXIM_TESTHARNESS_DISABLE_OCSPVALIDITYCHECK
507 USER in keep_environment?
509 list element: EXIM_TESTHARNESS_DISABLE_OCSPVALIDITYCHECK
510 SHLVL in keep_environment?
512 list element: EXIM_TESTHARNESS_DISABLE_OCSPVALIDITYCHECK
513 PATH in keep_environment?
515 _ in keep_environment?
517 list element: EXIM_TESTHARNESS_DISABLE_OCSPVALIDITYCHECK
518 PATH in keep_environment?
520 configuration file is TESTSUITE/test-config
522 changed uid/gid: privilege not needed
523 uid=EXIM_UID gid=EXIM_GID pid=p1236
524 seeking password data for user "CALLER": cache not available
525 getpwnam() succeeded uid=CALLER_UID gid=CALLER_GID
526 originator: uid=CALLER_UID gid=CALLER_GID login=CALLER name=CALLER_NAME
527 sender address = CALLER@myhost.test.ex
528 set_process_info: pppp accepting a local non-SMTP message from <CALLER@myhost.test.ex>
529 spool directory space = nnnnnK inodes = nnnnn check_space = 10240K inodes = 100 msg_size = 0
530 log directory space = nnnnnK inodes = nnnnn check_space = 10240K inodes = 100
531 Sender: CALLER@myhost.test.ex
537 qualify & rewrite recipients list
540 rewrite_one_header: type=F:
541 From: CALLER_NAME <CALLER@myhost.test.ex>
543 >>Headers after rewriting and local additions:
544 I Message-Id: <E10HmaX-0005vi-00@myhost.test.ex>
545 F From: CALLER_NAME <CALLER@myhost.test.ex>
546 Date: Tue, 2 Mar 1999 09:44:33 +0000
548 Data file name: TESTSUITE/spool//input//10HmaX-0005vi-00-D
549 Data file written for message 10HmaX-0005vi-00
550 >>Generated Received: header line
551 P Received: from CALLER by myhost.test.ex with local (Exim x.yz)
552 (envelope-from <CALLER@myhost.test.ex>)
554 for ph10@myhost.test.ex;
555 Tue, 2 Mar 1999 09:44:33 +0000
556 using ACL "check_notsmtp"
557 processing "accept" (TESTSUITE/test-config 58)
558 check set acl_m_qtest = ${quote_mysql:$recipients}
559 = ph10@myhost.test.ex
560 accept: condition test succeeded in ACL "check_notsmtp"
561 end of ACL "check_notsmtp": ACCEPT
562 Writing spool header file: TESTSUITE/spool//input//hdr.10HmaX-0005vi-00
563 DSN: **** SPOOL_OUT - address: <ph10@myhost.test.ex> errorsto: <NULL> orcpt: <NULL> dsn_flags: 0x0
564 Renaming spool header file: TESTSUITE/spool//input//10HmaX-0005vi-00-H
565 Size of headers = sss
567 <= CALLER@myhost.test.ex U=CALLER P=local S=sss
568 created log directory TESTSUITE/spool/log
570 exec TESTSUITE/eximdir/exim -DEXIM_PATH=TESTSUITE/eximdir/exim -C TESTSUITE/test-config -d=0xf7715cfd -MCd local-accept-delivery -odi -Mc 10HmaX-0005vi-00
571 Exim version x.yz ....
572 changed uid/gid: forcing real = effective
573 uid=uuuu gid=EXIM_GID pid=p1237
574 PATH in keep_environment?
576 SSLKEYLOGFILE in keep_environment?
578 list element: EXIM_TESTHARNESS_DISABLE_OCSPVALIDITYCHECK
579 PATH in keep_environment?
581 configuration file is TESTSUITE/test-config
584 dropping to exim gid; retaining priv uid
585 seeking password data for user "CALLER": cache not available
586 getpwnam() succeeded uid=CALLER_UID gid=CALLER_GID
587 set_process_info: pppp delivering specified messages
588 set_process_info: pppp delivering 10HmaX-0005vi-00
589 Trying spool file TESTSUITE/spool//input//10HmaX-0005vi-00-D
590 reading spool file 10HmaX-0005vi-00-H
591 user=CALLER uid=CALLER_UID gid=CALLER_GID sender=CALLER@myhost.test.ex
592 sender_local=1 ident=CALLER
595 ---- End of tree ----
597 **** SPOOL_IN - No additional fields
598 body_linecount=1 message_linecount=8
599 DSN: set orcpt: flags: 0x0
600 Delivery address list:
602 locking TESTSUITE/spool/db/retry.lockfile
603 locked TESTSUITE/spool/db/retry.lockfile
604 EXIM_DBOPEN: file <TESTSUITE/spool/db/retry> dir <TESTSUITE/spool/db> flags=O_RDONLY
605 returned from EXIM_DBOPEN: (nil)
606 failed to open DB file TESTSUITE/spool/db/retry: No such file or directory
607 no retry data available
608 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
609 Considering: ph10@myhost.test.ex
610 unique = ph10@myhost.test.ex
611 no domain retry record
612 no address retry record
613 ph10@myhost.test.ex: queued for routing
614 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
615 routing ph10@myhost.test.ex
616 --------> r1 router <--------
617 local_part=ph10 domain=myhost.test.ex
618 search_open: mysql "NULL"
619 search_find: file="NULL"
620 key="select name from them where id='ph10@myhost.test.ex'" partial=-1 affix=NULL starflags=0 opts=NULL
622 internal_search_find: file="NULL"
623 type=mysql key="select name from them where id='ph10@myhost.test.ex'" opts=NULL
624 database lookup required for select name from them where id='ph10@myhost.test.ex'
625 (tainted, quoted:mysql)
626 MySQL query: "select name from them where id='ph10@myhost.test.ex'" opts 'NULL'
627 MYSQL new connection: host=127.0.0.1 port=PORT_N socket=NULL database=test user=root
629 creating new cache entry
631 acl_m_qtest: <ph10@myhost.test.ex> lkup: <>
632 processing address_data
633 search_open: mysql "NULL"
635 search_find: file="NULL"
636 key="select name from them where id='ph10'" partial=-1 affix=NULL starflags=0 opts=NULL
638 internal_search_find: file="NULL"
639 type=mysql key="select name from them where id='ph10'" opts=NULL
640 database lookup required for select name from them where id='ph10'
643 tainted search query is not properly quoted (router r1, TESTSUITE/test-config 66): select name from them where id='ph10'
644 search_type NN (mysql) quoting -1 (none)
645 MySQL query: "select name from them where id='ph10'" opts 'NULL'
646 MYSQL using cached connection for 127.0.0.1:PORT_N/test/root
647 creating new cache entry
648 lookup yielded: Philip Hazel
650 r1 router called for ph10@myhost.test.ex
651 domain = myhost.test.ex
653 queued for t1 transport: local_part = ph10
654 domain = myhost.test.ex
656 domain_data=NULL local_part_data=NULL
658 envelope to: ph10@myhost.test.ex
660 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
668 close MYSQL connection: 127.0.0.1:PORT_N/test/root
669 >>>>>>>>>>>>>>>> Local deliveries >>>>>>>>>>>>>>>>
670 --------> ph10@myhost.test.ex <--------
671 locking TESTSUITE/spool/db/retry.lockfile
672 locked TESTSUITE/spool/db/retry.lockfile
673 EXIM_DBOPEN: file <TESTSUITE/spool/db/retry> dir <TESTSUITE/spool/db> flags=O_RDONLY
674 returned from EXIM_DBOPEN: (nil)
675 failed to open DB file TESTSUITE/spool/db/retry: No such file or directory
676 no retry data available
678 changed uid/gid: local delivery to ph10 <ph10@myhost.test.ex> transport=t1
679 uid=CALLER_UID gid=CALLER_GID pid=p1238
681 set_process_info: pppp delivering 10HmaX-0005vi-00 to ph10 using t1
682 appendfile transport entered
683 search_open: mysql "NULL"
684 search_find: file="NULL"
685 key="select id from them where id='ph10'" partial=-1 affix=NULL starflags=0 opts=NULL
687 internal_search_find: file="NULL"
688 type=mysql key="select id from them where id='ph10'" opts=NULL
689 database lookup required for select id from them where id='ph10'
692 tainted search query is not properly quoted (transport t1, TESTSUITE/test-config 79): select id from them where id='ph10'
693 search_type NN (mysql) quoting -1 (none)
694 MySQL query: "select id from them where id='ph10'" opts 'NULL'
695 MYSQL new connection: host=127.0.0.1 port=PORT_N socket=NULL database=test user=root
696 creating new cache entry
698 appendfile: mode=600 notify_comsat=0 quota=0 warning=0
699 file=TESTSUITE/test-mail/ph10 format=unix
700 message_prefix=From ${if def:return_path{$return_path}{MAILER-DAEMON}} ${tod_bsdinbox}\n
702 maildir_use_size_file=no
703 locking by lockfile fcntl
704 lock name: TESTSUITE/test-mail/ph10.lock
705 hitch name: TESTSUITE/test-mail/ph10.lock.test.ex.dddddddd.pppppppp
707 mailbox TESTSUITE/test-mail/ph10 is locked
708 writing to file TESTSUITE/test-mail/ph10
709 writing data block fd=dddd size=sss timeout=0
710 cannot use sendfile for body: spoolfile not wireformat
711 writing data block fd=dddd size=sss timeout=0
712 writing data block fd=dddd size=sss timeout=0
713 appendfile yields 0 with errno=dd more_errno=dd
715 close MYSQL connection: 127.0.0.1:PORT_N/test/root
716 journalling ph10@myhost.test.ex
717 t1 transport returned OK for ph10@myhost.test.ex
718 post-process ph10@myhost.test.ex (0)
719 ph10@myhost.test.ex delivered
721 => ph10 <ph10@myhost.test.ex> R=r1 T=t1
722 >>>>>>>>>>>>>>>> deliveries are done >>>>>>>>>>>>>>>>
723 changed uid/gid: post-delivery tidying
724 uid=EXIM_UID gid=EXIM_GID pid=p1237
725 set_process_info: pppp tidying up after delivering 10HmaX-0005vi-00
726 Processing retry items
728 ph10@myhost.test.ex: no retry items
731 end of retry processing
732 DSN: processing router : r1
733 DSN: processing successful delivery address: ph10@myhost.test.ex
734 DSN: Sender_address: CALLER@myhost.test.ex
735 DSN: orcpt: NULL flags: 0x0
736 DSN: envid: NULL ret: 0
737 DSN: Final recipient: ph10@myhost.test.ex
738 DSN: Remote SMTP server supports DSN: 0
739 DSN: not sending DSN success message
742 end delivery of 10HmaX-0005vi-00
745 >>>>>>>>>>>>>>>> Exim pid=p1237 (local-accept-delivery) terminating with rc=0 >>>>>>>>>>>>>>>>
747 >>>>>>>>>>>>>>>> Exim pid=p1236 (fresh-exec) terminating with rc=0 >>>>>>>>>>>>>>>>