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'
139 Exim configuration error in line 87 of TESTSUITE/test-config:
140 WARNING: obslete syntax used for lookup
142 lookup deferred: MySQL server "x" not found in mysql_servers
143 search_open: mysql "NULL"
145 search_find: file="NULL"
146 key="servers=127.0.0.1::PORT_N:x; select name from them where id='ph10';" partial=-1 affix=NULL starflags=0 opts=NULL
148 internal_search_find: file="NULL"
149 type=mysql key="servers=127.0.0.1::PORT_N:x; select name from them where id='ph10';" opts=NULL
150 database lookup required for servers=127.0.0.1::PORT_N:x; select name from them where id='ph10';
151 MySQL query: "servers=127.0.0.1::PORT_N:x; select name from them where id='ph10';" opts 'NULL'
153 Exim configuration error in line 87 of TESTSUITE/test-config:
154 WARNING: obslete syntax used for lookup
156 MYSQL using cached connection for 127.0.0.1:PORT_N/test/root
157 creating new cache entry
158 lookup yielded: Philip Hazel
159 search_open: mysql "NULL"
161 search_find: file="NULL"
162 key="servers=127.0.0.1::PORT_N/test/root/:x; select name from them where id='ph10';" partial=-1 affix=NULL starflags=0 opts=NULL
164 internal_search_find: file="NULL"
165 type=mysql key="servers=127.0.0.1::PORT_N/test/root/:x; select name from them where id='ph10';" opts=NULL
166 database lookup required for servers=127.0.0.1::PORT_N/test/root/:x; select name from them where id='ph10';
167 MySQL query: "servers=127.0.0.1::PORT_N/test/root/:x; select name from them where id='ph10';" opts 'NULL'
169 Exim configuration error in line 87 of TESTSUITE/test-config:
170 WARNING: obslete syntax used for lookup
172 MYSQL using cached connection for 127.0.0.1:PORT_N/test/root
173 creating new cache entry
174 lookup yielded: Philip Hazel
175 search_open: mysql "NULL"
177 search_find: file="NULL"
178 key="servers=ip4.ip4.ip4.ip4::1223/test/root/:127.0.0.1::PORT_N; select name from them where id='ph10';" partial=-1 affix=NULL starflags=0 opts=NULL
180 internal_search_find: file="NULL"
181 type=mysql key="servers=ip4.ip4.ip4.ip4::1223/test/root/:127.0.0.1::PORT_N; select name from them where id='ph10';" opts=NULL
182 database lookup required for servers=ip4.ip4.ip4.ip4::1223/test/root/:127.0.0.1::PORT_N; select name from them where id='ph10';
183 MySQL query: "servers=ip4.ip4.ip4.ip4::1223/test/root/:127.0.0.1::PORT_N; select name from them where id='ph10';" opts 'NULL'
185 Exim configuration error in line 87 of TESTSUITE/test-config:
186 WARNING: obslete syntax used for lookup
188 MYSQL new connection: host=ip4.ip4.ip4.ip4 port=PORT_N socket=NULL database=test user=root
189 creating new cache entry
190 lookup yielded: Philip Hazel
191 search_open: mysql "NULL"
193 search_find: file="NULL"
194 key="servers=localhost(TESTSUITE/mysql/sock)/test/root/pass; select name from them where id='ph10';" partial=-1 affix=NULL starflags=0 opts=NULL
196 internal_search_find: file="NULL"
197 type=mysql key="servers=localhost(TESTSUITE/mysql/sock)/test/root/pass; select name from them where id='ph10';" opts=NULL
198 database lookup required for servers=localhost(TESTSUITE/mysql/sock)/test/root/pass; select name from them where id='ph10';
199 MySQL query: "servers=localhost(TESTSUITE/mysql/sock)/test/root/pass; select name from them where id='ph10';" opts 'NULL'
201 Exim configuration error in line 87 of TESTSUITE/test-config:
202 WARNING: obslete syntax used for lookup
204 MYSQL new connection: host=localhost port=0 socket=TESTSUITE/mysql/sock database=test user=root
205 creating new cache entry
206 lookup yielded: Philip Hazel
207 search_open: mysql "NULL"
209 search_find: file="NULL"
210 key="SELECT name FROM them WHERE id IN ('ph10', 'aaaa');" partial=-1 affix=NULL starflags=0 opts=NULL
212 internal_search_find: file="NULL"
213 type=mysql key="SELECT name FROM them WHERE id IN ('ph10', 'aaaa');" opts=NULL
214 database lookup required for SELECT name FROM them WHERE id IN ('ph10', 'aaaa');
215 MySQL query: "SELECT name FROM them WHERE id IN ('ph10', 'aaaa');" opts 'NULL'
216 MYSQL using cached connection for 127.0.0.1:PORT_N/test/root
217 creating new cache entry
218 lookup yielded: Philip Hazel
220 search_open: mysql "NULL"
222 search_find: file="NULL"
223 key="SELECT * FROM them WHERE id IN ('ph10', 'aaaa');" partial=-1 affix=NULL starflags=0 opts=NULL
225 internal_search_find: file="NULL"
226 type=mysql key="SELECT * FROM them WHERE id IN ('ph10', 'aaaa');" opts=NULL
227 database lookup required for SELECT * FROM them WHERE id IN ('ph10', 'aaaa');
228 MySQL query: "SELECT * FROM them WHERE id IN ('ph10', 'aaaa');" opts 'NULL'
229 MYSQL using cached connection for 127.0.0.1:PORT_N/test/root
230 creating new cache entry
231 lookup yielded: name="Philip Hazel" id=ph10
232 name=Aristotle id=aaaa
233 search_open: mysql "NULL"
235 search_find: file="NULL"
236 key="delete from them where id='aaaa'" partial=-1 affix=NULL starflags=0 opts=NULL
238 internal_search_find: file="NULL"
239 type=mysql key="delete from them where id='aaaa'" opts=NULL
240 database lookup required for delete from them where id='aaaa'
241 MySQL query: "delete from them where id='aaaa'" opts 'NULL'
242 MYSQL using cached connection for 127.0.0.1:PORT_N/test/root
243 MYSQL: query was not one that returns data
244 lookup forced cache cleanup
247 close MYSQL connection: localhost(TESTSUITE/mysql/sock)/test/root
248 close MYSQL connection: ip4.ip4.ip4.ip4:1223/test/root
249 close MYSQL connection: 127.0.0.1:PORT_N/test/root
250 >>>>>>>>>>>>>>>> Exim pid=p1234 (fresh-exec) terminating with rc=0 >>>>>>>>>>>>>>>>
251 Exim version x.yz ....
252 changed uid/gid: forcing real = effective
253 uid=uuuu gid=CALLER_GID pid=p1235
254 configuration file is TESTSUITE/test-config
256 changed uid/gid: privilege not needed
257 uid=EXIM_UID gid=EXIM_GID pid=p1235
258 seeking password data for user "CALLER": cache not available
259 getpwnam() succeeded uid=CALLER_UID gid=CALLER_GID
260 originator: uid=CALLER_UID gid=CALLER_GID login=CALLER name=CALLER_NAME
261 sender address = CALLER@myhost.test.ex
262 sender_fullhost = [10.0.0.0]
263 sender_rcvhost = [10.0.0.0]
264 host in hosts_connection_nolog? no (option unset)
265 LOG: smtp_connection MAIN
266 SMTP connection from [10.0.0.0]
267 host in host_lookup? no (option unset)
268 set_process_info: pppp handling incoming connection from [10.0.0.0]
269 host in host_reject_connection? no (option unset)
270 host in sender_unqualified_hosts? no (option unset)
271 host in recipient_unqualified_hosts? no (option unset)
272 host in helo_verify_hosts? no (option unset)
273 host in helo_try_verify_hosts? no (option unset)
274 host in helo_accept_junk_hosts? no (option unset)
275 SMTP>> 220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000
276 smtp_setup_msg entered
278 test in helo_lookup_domains?
281 test in helo_lookup_domains? no (end of list)
282 sender_fullhost = (test) [10.0.0.0]
283 sender_rcvhost = [10.0.0.0] (helo=test)
284 set_process_info: pppp handling incoming connection from (test) [10.0.0.0]
285 SMTP>> 250 myhost.test.ex Hello test [10.0.0.0]
286 SMTP<< mail from:<a@b>
287 spool directory space = nnnnnK inodes = nnnnn check_space = 10240K inodes = 100 msg_size = 0
288 log directory space = nnnnnK inodes = nnnnn check_space = 10240K inodes = 100
291 using ACL "check_recipient"
292 processing "warn" (TESTSUITE/test-config 26)
293 search_open: mysql "NULL"
294 search_find: file="NULL"
295 key="select name from them where id = 'c'" partial=-1 affix=NULL starflags=0 opts=NULL
297 internal_search_find: file="NULL"
298 type=mysql key="select name from them where id = 'c'" opts=NULL
299 database lookup required for select name from them where id = 'c'
300 (tainted, quoted:mysql)
301 MySQL query: "select name from them where id = 'c'" opts 'NULL'
302 MYSQL new connection: host=127.0.0.1 port=PORT_N socket=NULL database=test user=root
304 creating new cache entry
306 check set acl_m0 = ok: ${lookup mysql {select name from them where id = '${quote_mysql:$local_part}'}}
308 search_open: mysql "NULL"
310 search_find: file="NULL"
311 key="select name from them where id = 'c'" partial=-1 affix=NULL starflags=0 opts="no_rd"
313 internal_search_find: file="NULL"
314 type=mysql key="select name from them where id = 'c'" opts="no_rd"
315 cached data found but wrong opts; database lookup required for select name from them where id = 'c'
318 tainted search query is not properly quoted (ACL warn, TESTSUITE/test-config 26): select name from them where id = 'c'
319 search_type NN (mysql) quoting -1 (none)
320 MySQL query: "select name from them where id = 'c'" opts 'no_rd'
321 MYSQL using cached connection for 127.0.0.1:PORT_N/test/root
323 replacing old cache entry
325 check set acl_m0 = FAIL: ${lookup mysql,no_rd {select name from them where id = '$local_part'}}
327 warn: condition test succeeded in ACL "check_recipient"
328 processing "warn" (TESTSUITE/test-config 31)
329 search_open: mysql "NULL"
331 search_find: file="NULL"
332 key="select name from them where id = 'c'" partial=-1 affix=NULL starflags=0 opts="servers=127.0.0.1::PORT_N/test/root/pass"
334 internal_search_find: file="NULL"
335 type=mysql key="select name from them where id = 'c'" opts="servers=127.0.0.1::PORT_N/test/root/pass"
336 cached data found but wrong opts; database lookup required for select name from them where id = 'c'
337 (tainted, quoted:mysql)
338 MySQL query: "select name from them where id = 'c'" opts 'servers=127.0.0.1::PORT_N/test/root/pass'
339 MYSQL using cached connection for 127.0.0.1:PORT_N/test/root
341 replacing old cache entry
343 check set acl_m0 = ok: ${lookup mysql,servers=127.0.0.1::PORT_N/test/root/pass {select name from them where id = '${quote_mysql:$local_part}'}}
345 search_open: mysql "NULL"
347 search_find: file="NULL"
348 key="select name from them where id = 'c'" partial=-1 affix=NULL starflags=0 opts="servers=127.0.0.1::PORT_N"
350 internal_search_find: file="NULL"
351 type=mysql key="select name from them where id = 'c'" opts="servers=127.0.0.1::PORT_N"
352 cached data found but wrong opts; database lookup required for select name from them where id = 'c'
353 (tainted, quoted:mysql)
354 MySQL query: "select name from them where id = 'c'" opts 'servers=127.0.0.1::PORT_N'
355 MYSQL using cached connection for 127.0.0.1:PORT_N/test/root
357 replacing old cache entry
359 check set acl_m0 = ok: ${lookup mysql,servers=127.0.0.1::PORT_N {select name from them where id = '${quote_mysql:$local_part}'}}
361 search_open: mysql "NULL"
363 search_find: file="NULL"
364 key="servers=127.0.0.1::PORT_N/test/root/pass; select name from them where id = 'c'" partial=-1 affix=NULL starflags=0 opts=NULL
366 internal_search_find: file="NULL"
367 type=mysql key="servers=127.0.0.1::PORT_N/test/root/pass; select name from them where id = 'c'" opts=NULL
368 database lookup required for servers=127.0.0.1::PORT_N/test/root/pass; select name from them where id = 'c'
369 (tainted, quoted:mysql)
370 MySQL query: "servers=127.0.0.1::PORT_N/test/root/pass; select name from them where id = 'c'" opts 'NULL'
372 Exim configuration error in line 87 of TESTSUITE/test-config:
373 WARNING: obslete syntax used for lookup
375 lookup deferred: MySQL server "127.0.0.1:PORT_N/test/root/pass" is tainted
376 warn: condition test deferred in ACL "check_recipient"
378 H=(test) [10.0.0.0] Warning: ACL "warn" statement skipped: condition test deferred: MySQL server "127.0.0.1:PORT_N/test/root/pass" is tainted
379 processing "warn" (TESTSUITE/test-config 40)
380 check set acl_m0 = ok: hostlist
381 check hosts = net-mysql;select * from them where id='${quote_mysql:$local_part}'
382 host in "net-mysql;select * from them where id='c'"?
383 list element: net-mysql;select * from them where id='c'
384 search_open: mysql "NULL"
386 search_find: file="NULL"
387 key="select * from them where id='c'" partial=-1 affix=NULL starflags=0 opts=NULL
389 internal_search_find: file="NULL"
390 type=mysql key="select * from them where id='c'" opts=NULL
391 database lookup required for select * from them where id='c'
392 (tainted, quoted:mysql)
393 MySQL query: "select * from them where id='c'" opts 'NULL'
394 MYSQL using cached connection for 127.0.0.1:PORT_N/test/root
396 creating new cache entry
398 host in "net-mysql;select * from them where id='c'"? no (end of list)
399 warn: condition test failed in ACL "check_recipient"
400 processing "warn" (TESTSUITE/test-config 43)
401 check set acl_m0 = FAIL: hostlist
402 check hosts = <& net-mysql;servers=127.0.0.1::PORT_N/test/root/pass; select * from them where id='${quote_mysql:$local_part}'
403 host in "<& net-mysql;servers=127.0.0.1::PORT_N/test/root/pass; select * from them where id='c'"?
404 list element: net-mysql;servers=127.0.0.1::PORT_N/test/root/pass; select * from them where id='c'
405 search_open: mysql "NULL"
407 search_find: file="NULL"
408 key="servers=127.0.0.1::PORT_N/test/root/pass; select * from them where id='c'" partial=-1 affix=NULL starflags=0 opts=NULL
410 internal_search_find: file="NULL"
411 type=mysql key="servers=127.0.0.1::PORT_N/test/root/pass; select * from them where id='c'" opts=NULL
412 database lookup required for servers=127.0.0.1::PORT_N/test/root/pass; select * from them where id='c'
413 (tainted, quoted:mysql)
414 MySQL query: "servers=127.0.0.1::PORT_N/test/root/pass; select * from them where id='c'" opts 'NULL'
416 Exim configuration error in line 87 of TESTSUITE/test-config:
417 WARNING: obslete syntax used for lookup
419 lookup deferred: MySQL server "127.0.0.1:PORT_N/test/root/pass" is tainted
420 host in "<& net-mysql;servers=127.0.0.1::PORT_N/test/root/pass; select * from them where id='c'"? list match deferred for net-mysql;servers=127.0.0.1::1223/test/root/pass; select * from them where id='c'
421 warn: condition test deferred in ACL "check_recipient"
423 H=(test) [10.0.0.0] Warning: ACL "warn" statement skipped: condition test deferred: MySQL server "127.0.0.1:PORT_N/test/root/pass" is tainted
424 processing "warn" (TESTSUITE/test-config 48)
425 check set acl_m0 = FAIL: hostlist
426 check hosts = <& net-mysql,servers=127.0.0.1::PORT_N/test/root/pass; select * from them where id='${quote_mysql:$local_part}'
427 host in "<& net-mysql,servers=127.0.0.1::PORT_N/test/root/pass; select * from them where id='c'"?
428 list element: net-mysql,servers=127.0.0.1::PORT_N/test/root/pass; select * from them where id='c'
429 search_open: mysql "NULL"
431 search_find: file="NULL"
432 key=" select * from them where id='c'" partial=-1 affix=NULL starflags=0 opts="servers=127.0.0.1::PORT_N/test/root/pass"
434 internal_search_find: file="NULL"
435 type=mysql key=" select * from them where id='c'" opts="servers=127.0.0.1::PORT_N/test/root/pass"
436 database lookup required for select * from them where id='c'
437 (tainted, quoted:mysql)
438 MySQL query: " select * from them where id='c'" opts 'servers=127.0.0.1::PORT_N/test/root/pass'
439 lookup deferred: MySQL server "127.0.0.1:PORT_N/test/root/pass" is tainted
440 host in "<& net-mysql,servers=127.0.0.1::PORT_N/test/root/pass; select * from them where id='c'"? list match deferred for net-mysql,servers=127.0.0.1::1223/test/root/pass; select * from them where id='c'
441 warn: condition test deferred in ACL "check_recipient"
443 H=(test) [10.0.0.0] Warning: ACL "warn" statement skipped: condition test deferred: MySQL server "127.0.0.1:PORT_N/test/root/pass" is tainted
444 processing "accept" (TESTSUITE/test-config 51)
445 check domains = +local_domains
446 d in "+local_domains"?
447 list element: +local_domains
448 start sublist local_domains
451 d in "@"? no (end of list)
452 end sublist local_domains
453 d in "+local_domains"? no (end of list)
454 accept: condition test failed in ACL "check_recipient"
455 processing "accept" (TESTSUITE/test-config 54)
456 check hosts = +relay_hosts
457 host in "+relay_hosts"?
458 list element: +relay_hosts
459 start sublist relay_hosts
460 host in "net-mysql;select * from them where id='10.0.0.0'"?
461 ╎list element: net-mysql;select * from them where id='10.0.0.0'
462 ╎search_open: mysql "NULL"
464 ╎search_find: file="NULL"
465 ╎ key="select * from them where id='10.0.0.0'" partial=-1 affix=NULL starflags=0 opts=NULL
467 ╎internal_search_find: file="NULL"
468 ╎ type=mysql key="select * from them where id='10.0.0.0'" opts=NULL
469 ╎database lookup required for select * from them where id='10.0.0.0'
470 ╎MySQL query: "select * from them where id='10.0.0.0'" opts 'NULL'
471 ╎MYSQL using cached connection for 127.0.0.1:PORT_N/test/root
472 ╎MYSQL: no data found
473 ╎creating new cache entry
475 host in "net-mysql;select * from them where id='10.0.0.0'"? no (end of list)
476 end sublist relay_hosts
477 host in "+relay_hosts"? no (end of list)
478 accept: condition test failed in ACL "check_recipient"
479 processing "deny" (TESTSUITE/test-config 55)
480 message: relay not permitted
481 deny: condition test succeeded in ACL "check_recipient"
482 end of ACL "check_recipient": DENY
483 SMTP>> 550 relay not permitted
485 H=(test) [10.0.0.0] F=<a@b> rejected RCPT <c@d>: relay not permitted
487 SMTP>> 221 myhost.test.ex closing connection
488 LOG: smtp_connection MAIN
489 SMTP connection from (test) [10.0.0.0] D=qqs closed by QUIT
491 close MYSQL connection: 127.0.0.1:PORT_N/test/root
492 >>>>>>>>>>>>>>>> Exim pid=p1235 (fresh-exec) terminating with rc=0 >>>>>>>>>>>>>>>>
493 Exim version x.yz ....
494 changed uid/gid: forcing real = effective
495 uid=uuuu gid=CALLER_GID pid=p1236
496 configuration file is TESTSUITE/test-config
498 changed uid/gid: privilege not needed
499 uid=EXIM_UID gid=EXIM_GID pid=p1236
500 seeking password data for user "CALLER": cache not available
501 getpwnam() succeeded uid=CALLER_UID gid=CALLER_GID
502 originator: uid=CALLER_UID gid=CALLER_GID login=CALLER name=CALLER_NAME
503 sender address = CALLER@myhost.test.ex
504 set_process_info: pppp accepting a local non-SMTP message from <CALLER@myhost.test.ex>
505 spool directory space = nnnnnK inodes = nnnnn check_space = 10240K inodes = 100 msg_size = 0
506 log directory space = nnnnnK inodes = nnnnn check_space = 10240K inodes = 100
507 Sender: CALLER@myhost.test.ex
513 qualify & rewrite recipients list
514 rewrite rules on sender address
515 qualify and rewrite headers
516 rewrite_one_header: type=F:
517 From: CALLER_NAME <CALLER@myhost.test.ex>
519 >>Headers after rewriting and local additions:
520 I Message-Id: <E10HmaX-000000005vi-0000@myhost.test.ex>
521 F From: CALLER_NAME <CALLER@myhost.test.ex>
522 Date: Tue, 2 Mar 1999 09:44:33 +0000
524 Data file name: TESTSUITE/spool//input//10HmaX-000000005vi-0000-D
525 Data file written for message 10HmaX-000000005vi-0000
526 >>Generated Received: header line
527 P Received: from CALLER by myhost.test.ex with local (Exim x.yz)
528 (envelope-from <CALLER@myhost.test.ex>)
529 id 10HmaX-000000005vi-0000
530 for ph10@myhost.test.ex;
531 Tue, 2 Mar 1999 09:44:33 +0000
532 using ACL "check_notsmtp"
533 processing "accept" (TESTSUITE/test-config 58)
534 check set acl_m_qtest = ${quote_mysql:$recipients}
535 = ph10@myhost.test.ex
536 accept: condition test succeeded in ACL "check_notsmtp"
537 end of ACL "check_notsmtp": ACCEPT
538 Writing spool header file: TESTSUITE/spool//input//hdr.10HmaX-000000005vi-0000
539 DSN: **** SPOOL_OUT - address: <ph10@myhost.test.ex> errorsto: <NULL> orcpt: <NULL> dsn_flags: 0x0
540 Renaming spool header file: TESTSUITE/spool//input//10HmaX-000000005vi-0000-H
541 Size of headers = sss
543 <= CALLER@myhost.test.ex U=CALLER P=local S=sss
544 created log directory TESTSUITE/spool/log
546 exec TESTSUITE/eximdir/exim -DEXIM_PATH=TESTSUITE/eximdir/exim -C TESTSUITE/test-config -d=0xf7715cfd -MCd local-accept-delivery -odi -Mc 10HmaX-000000005vi-0000
547 Exim version x.yz ....
548 changed uid/gid: forcing real = effective
549 uid=uuuu gid=EXIM_GID pid=p1237
550 configuration file is TESTSUITE/test-config
553 dropping to exim gid; retaining priv uid
554 seeking password data for user "CALLER": cache not available
555 getpwnam() succeeded uid=CALLER_UID gid=CALLER_GID
556 set_process_info: pppp delivering specified messages
557 set_process_info: pppp delivering 10HmaX-000000005vi-0000
558 Trying spool file TESTSUITE/spool//input//10HmaX-000000005vi-0000-D
559 reading spool file 10HmaX-000000005vi-0000-H
560 user=CALLER uid=CALLER_UID gid=CALLER_GID sender=CALLER@myhost.test.ex
561 sender_local=1 ident=CALLER
564 ---- End of tree ----
566 **** SPOOL_IN - No additional fields
567 body_linecount=1 message_linecount=8
568 DSN: set orcpt: flags: 0x0
569 Delivery address list:
571 locking TESTSUITE/spool/db/retry.lockfile
572 locked TESTSUITE/spool/db/retry.lockfile
573 EXIM_DBOPEN: file <TESTSUITE/spool/db/retry> dir <TESTSUITE/spool/db> flags=O_RDONLY
574 returned from EXIM_DBOPEN: (nil)
575 failed to open DB file TESTSUITE/spool/db/retry: No such file or directory
576 no retry data available
577 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
578 Considering: ph10@myhost.test.ex
579 unique = ph10@myhost.test.ex
580 no domain retry record
581 no address retry record
582 ph10@myhost.test.ex: queued for routing
583 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
584 routing ph10@myhost.test.ex
585 --------> r1 router <--------
586 local_part=ph10 domain=myhost.test.ex
587 search_open: mysql "NULL"
588 search_find: file="NULL"
589 key="select name from them where id='ph10@myhost.test.ex'" partial=-1 affix=NULL starflags=0 opts=NULL
591 internal_search_find: file="NULL"
592 type=mysql key="select name from them where id='ph10@myhost.test.ex'" opts=NULL
593 database lookup required for select name from them where id='ph10@myhost.test.ex'
594 (tainted, quoted:mysql)
595 MySQL query: "select name from them where id='ph10@myhost.test.ex'" opts 'NULL'
596 MYSQL new connection: host=127.0.0.1 port=PORT_N socket=NULL database=test user=root
598 creating new cache entry
600 acl_m_qtest: <ph10@myhost.test.ex> lkup: <>
601 processing address_data
602 search_open: mysql "NULL"
604 search_find: file="NULL"
605 key="select name from them where id='ph10' limit 1" partial=-1 affix=NULL starflags=0 opts=NULL
607 internal_search_find: file="NULL"
608 type=mysql key="select name from them where id='ph10' limit 1" opts=NULL
609 database lookup required for select name from them where id='ph10' limit 1
612 tainted search query is not properly quoted (router r1, TESTSUITE/test-config 66): select name from them where id='ph10' limit 1
613 search_type NN (mysql) quoting -1 (none)
614 MySQL query: "select name from them where id='ph10' limit 1" opts 'NULL'
615 MYSQL using cached connection for 127.0.0.1:PORT_N/test/root
616 creating new cache entry
617 lookup yielded: Philip Hazel
619 r1 router called for ph10@myhost.test.ex
620 domain = myhost.test.ex
622 queued for t1 transport: local_part = ph10
623 domain = myhost.test.ex
625 domain_data=NULL local_part_data=NULL
627 envelope to: ph10@myhost.test.ex
629 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
637 close MYSQL connection: 127.0.0.1:PORT_N/test/root
638 >>>>>>>>>>>>>>>> Local deliveries >>>>>>>>>>>>>>>>
639 --------> ph10@myhost.test.ex <--------
640 locking TESTSUITE/spool/db/retry.lockfile
641 locked TESTSUITE/spool/db/retry.lockfile
642 EXIM_DBOPEN: file <TESTSUITE/spool/db/retry> dir <TESTSUITE/spool/db> flags=O_RDONLY
643 returned from EXIM_DBOPEN: (nil)
644 failed to open DB file TESTSUITE/spool/db/retry: No such file or directory
645 no retry data available
647 changed uid/gid: local delivery to ph10 <ph10@myhost.test.ex> transport=t1
648 uid=CALLER_UID gid=CALLER_GID pid=p1238
650 set_process_info: pppp delivering 10HmaX-000000005vi-0000 to ph10 using t1
651 appendfile transport entered
652 search_open: mysql "NULL"
653 search_find: file="NULL"
654 key="select id from them where id='ph10'" partial=-1 affix=NULL starflags=0 opts=NULL
656 internal_search_find: file="NULL"
657 type=mysql key="select id from them where id='ph10'" opts=NULL
658 database lookup required for select id from them where id='ph10'
661 tainted search query is not properly quoted (transport t1, TESTSUITE/test-config 80): select id from them where id='ph10'
662 search_type NN (mysql) quoting -1 (none)
663 MySQL query: "select id from them where id='ph10'" opts 'NULL'
664 MYSQL new connection: host=127.0.0.1 port=PORT_N socket=NULL database=test user=root
665 creating new cache entry
667 appendfile: mode=600 notify_comsat=0 quota=0 warning=0
668 file=TESTSUITE/test-mail/ph10 format=unix
669 message_prefix=From ${if def:return_path{$return_path}{MAILER-DAEMON}} ${tod_bsdinbox}\n
671 maildir_use_size_file=no
672 locking by lockfile fcntl
673 lock name: TESTSUITE/test-mail/ph10.lock
674 hitch name: TESTSUITE/test-mail/ph10.lock.test.ex.dddddddd.pppppppp
676 mailbox TESTSUITE/test-mail/ph10 is locked
677 writing to file TESTSUITE/test-mail/ph10
678 writing data block fd=dddd size=sss timeout=0
679 cannot use sendfile for body: spoolfile not wireformat
680 writing data block fd=dddd size=sss timeout=0
681 writing data block fd=dddd size=sss timeout=0
682 appendfile yields 0 with errno=dd more_errno=dd
684 close MYSQL connection: 127.0.0.1:PORT_N/test/root
685 journalling ph10@myhost.test.ex
686 t1 transport returned OK for ph10@myhost.test.ex
687 post-process ph10@myhost.test.ex (0)
688 ph10@myhost.test.ex delivered
690 => ph10 <ph10@myhost.test.ex> R=r1 T=t1
691 >>>>>>>>>>>>>>>> deliveries are done >>>>>>>>>>>>>>>>
692 changed uid/gid: post-delivery tidying
693 uid=EXIM_UID gid=EXIM_GID pid=p1237
694 set_process_info: pppp tidying up after delivering 10HmaX-000000005vi-0000
695 Processing retry items
697 ph10@myhost.test.ex: no retry items
700 end of retry processing
701 DSN: processing router : r1
702 DSN: processing successful delivery address: ph10@myhost.test.ex
703 DSN: Sender_address: CALLER@myhost.test.ex
704 DSN: orcpt: NULL flags: 0x0
705 DSN: envid: NULL ret: 0
706 DSN: Final recipient: ph10@myhost.test.ex
707 DSN: Remote SMTP server supports DSN: 0
708 DSN: not sending DSN success message
711 end delivery of 10HmaX-000000005vi-0000
714 >>>>>>>>>>>>>>>> Exim pid=p1237 (local-accept-delivery) terminating with rc=0 >>>>>>>>>>>>>>>>
716 >>>>>>>>>>>>>>>> Exim pid=p1236 (fresh-exec) terminating with rc=0 >>>>>>>>>>>>>>>>