Debug: mark up space/nl in lookup results
[exim.git] / test / stderr / 2610
1 ### start a db server
2 ### wait for db startup, set password on the root user
3 ### create testdb and extra users
4 Exim version x.yz ....
5 configuration file is TESTSUITE/test-config
6 admin user
7 dropping to exim gid; retaining priv uid
8  search_open: mysql "NULL"
9  search_find: file="NULL"
10    key="select name from them where id='ph10';" partial=-1 affix=NULL starflags=0 opts=NULL
11  LRU list:
12  internal_search_find: file="NULL"
13    type=mysql key="select name from them where id='ph10';" opts=NULL
14  database lookup required for select name from them where id='ph10';
15  MySQL query: "select name from them where id='ph10';" opts 'NULL'
16  MYSQL new connection: host=127.0.0.1 port=PORT_N socket=NULL database=test user=root
17  creating new cache entry
18  lookup yielded: Philip░Hazel
19  search_open: mysql "NULL"
20    cached open
21  search_find: file="NULL"
22    key="select name from them where id='ph10';" partial=-1 affix=NULL starflags=0 opts=NULL
23  LRU list:
24  internal_search_find: file="NULL"
25    type=mysql key="select name from them where id='ph10';" opts=NULL
26  cached data used for lookup of select name from them where id='ph10';
27  lookup yielded: Philip░Hazel
28  search_open: mysql "NULL"
29    cached open
30  search_find: file="NULL"
31    key="select name from them where id='xxxx';" partial=-1 affix=NULL starflags=0 opts=NULL
32  LRU list:
33  internal_search_find: file="NULL"
34    type=mysql key="select name from them where id='xxxx';" opts=NULL
35  database lookup required for select name from them where id='xxxx';
36  MySQL query: "select name from them where id='xxxx';" opts 'NULL'
37  MYSQL using cached connection for 127.0.0.1:PORT_N/test/root
38  MYSQL: no data found
39  creating new cache entry
40  lookup failed
41  search_open: mysql "NULL"
42    cached open
43  search_find: file="NULL"
44    key="select name from them where id='nothing';" partial=-1 affix=NULL starflags=0 opts=NULL
45  LRU list:
46  internal_search_find: file="NULL"
47    type=mysql key="select name from them where id='nothing';" opts=NULL
48  database lookup required for select name from them where id='nothing';
49  MySQL query: "select name from them where id='nothing';" opts 'NULL'
50  MYSQL using cached connection for 127.0.0.1:PORT_N/test/root
51  creating new cache entry
52  lookup yielded: 
53  search_open: mysql "NULL"
54    cached open
55  search_find: file="NULL"
56    key="select id,name from them where id='nothing';" partial=-1 affix=NULL starflags=0 opts=NULL
57  LRU list:
58  internal_search_find: file="NULL"
59    type=mysql key="select id,name from them where id='nothing';" opts=NULL
60  database lookup required for select id,name from them where id='nothing';
61  MySQL query: "select id,name from them where id='nothing';" opts 'NULL'
62  MYSQL using cached connection for 127.0.0.1:PORT_N/test/root
63  creating new cache entry
64  lookup yielded: id=nothing░name=""░
65  search_open: mysql "NULL"
66    cached open
67  search_find: file="NULL"
68    key="delete from them where id='nonexist';" partial=-1 affix=NULL starflags=0 opts=NULL
69  LRU list:
70  internal_search_find: file="NULL"
71    type=mysql key="delete from them where id='nonexist';" opts=NULL
72  database lookup required for delete from them where id='nonexist';
73  MySQL query: "delete from them where id='nonexist';" opts 'NULL'
74  MYSQL using cached connection for 127.0.0.1:PORT_N/test/root
75  MYSQL: query was not one that returns data
76  lookup forced cache cleanup
77  lookup yielded: 0
78  search_open: mysql "NULL"
79    cached open
80  search_find: file="NULL"
81    key="select * from them where id='quote';" partial=-1 affix=NULL starflags=0 opts=NULL
82  LRU list:
83  internal_search_find: file="NULL"
84    type=mysql key="select * from them where id='quote';" opts=NULL
85  database lookup required for select * from them where id='quote';
86  MySQL query: "select * from them where id='quote';" opts 'NULL'
87  MYSQL using cached connection for 127.0.0.1:PORT_N/test/root
88  MYSQL: no data found
89  creating new cache entry
90  lookup failed
91  search_open: mysql "NULL"
92    cached open
93  search_find: file="NULL"
94    key="select * from them where id='filter';" partial=-1 affix=NULL starflags=0 opts=NULL
95  LRU list:
96  internal_search_find: file="NULL"
97    type=mysql key="select * from them where id='filter';" opts=NULL
98  database lookup required for select * from them where id='filter';
99  MySQL query: "select * from them where id='filter';" opts 'NULL'
100  MYSQL using cached connection for 127.0.0.1:PORT_N/test/root
101  MYSQL: no data found
102  creating new cache entry
103  lookup failed
104  search_open: mysql "NULL"
105    cached open
106  search_find: file="NULL"
107    key="select * from them where id='quote2';" partial=-1 affix=NULL starflags=0 opts=NULL
108  LRU list:
109  internal_search_find: file="NULL"
110    type=mysql key="select * from them where id='quote2';" opts=NULL
111  database lookup required for select * from them where id='quote2';
112  MySQL query: "select * from them where id='quote2';" opts 'NULL'
113  MYSQL using cached connection for 127.0.0.1:PORT_N/test/root
114  creating new cache entry
115  lookup yielded: name="\"stquot"░id=quote2░
116  search_open: mysql "NULL"
117    cached open
118  search_find: file="NULL"
119    key="select * from them where id='nlonly';" partial=-1 affix=NULL starflags=0 opts=NULL
120  LRU list:
121  internal_search_find: file="NULL"
122    type=mysql key="select * from them where id='nlonly';" opts=NULL
123  database lookup required for select * from them where id='nlonly';
124  MySQL query: "select * from them where id='nlonly';" opts 'NULL'
125  MYSQL using cached connection for 127.0.0.1:PORT_N/test/root
126  MYSQL: no data found
127  creating new cache entry
128  lookup failed
129  search_open: mysql "NULL"
130    cached open
131  search_find: file="NULL"
132    key="servers=x:127.0.0.1::PORT_N; select name from them where id='ph10';" partial=-1 affix=NULL starflags=0 opts=NULL
133  LRU list:
134  internal_search_find: file="NULL"
135    type=mysql key="servers=x:127.0.0.1::PORT_N; select name from them where id='ph10';" opts=NULL
136  database lookup required for servers=x:127.0.0.1::PORT_N; select name from them where id='ph10';
137  MySQL query: "servers=x:127.0.0.1::PORT_N; select name from them where id='ph10';" opts 'NULL'
138 LOG: MAIN
139   Exim configuration error in line 89 of TESTSUITE/test-config:
140   WARNING: obsolete syntax used for lookup
141  lookup deferred: MySQL server "x" not found in mysql_servers
142  search_open: mysql "NULL"
143    cached open
144  search_find: file="NULL"
145    key="servers=127.0.0.1::PORT_N:x; select name from them where id='ph10';" partial=-1 affix=NULL starflags=0 opts=NULL
146  LRU list:
147  internal_search_find: file="NULL"
148    type=mysql key="servers=127.0.0.1::PORT_N:x; select name from them where id='ph10';" opts=NULL
149  database lookup required for servers=127.0.0.1::PORT_N:x; select name from them where id='ph10';
150  MySQL query: "servers=127.0.0.1::PORT_N:x; select name from them where id='ph10';" opts 'NULL'
151 LOG: MAIN
152   Exim configuration error in line 89 of TESTSUITE/test-config:
153   WARNING: obsolete syntax used for lookup
154  MYSQL using cached connection for 127.0.0.1:PORT_N/test/root
155  creating new cache entry
156  lookup yielded: Philip░Hazel
157  search_open: mysql "NULL"
158    cached open
159  search_find: file="NULL"
160    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
161  LRU list:
162  internal_search_find: file="NULL"
163    type=mysql key="servers=127.0.0.1::PORT_N/test/root/:x; select name from them where id='ph10';" opts=NULL
164  database lookup required for servers=127.0.0.1::PORT_N/test/root/:x; select name from them where id='ph10';
165  MySQL query: "servers=127.0.0.1::PORT_N/test/root/:x; select name from them where id='ph10';" opts 'NULL'
166 LOG: MAIN
167   Exim configuration error in line 89 of TESTSUITE/test-config:
168   WARNING: obsolete syntax used for lookup
169  MYSQL using cached connection for 127.0.0.1:PORT_N/test/root
170  creating new cache entry
171  lookup yielded: Philip░Hazel
172  search_open: mysql "NULL"
173    cached open
174  search_find: file="NULL"
175    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
176  LRU list:
177  internal_search_find: file="NULL"
178    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
179  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';
180  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'
181 LOG: MAIN
182   Exim configuration error in line 89 of TESTSUITE/test-config:
183   WARNING: obsolete syntax used for lookup
184  MYSQL new connection: host=ip4.ip4.ip4.ip4 port=PORT_N socket=NULL database=test user=root
185  creating new cache entry
186  lookup yielded: Philip░Hazel
187  search_open: mysql "NULL"
188    cached open
189  search_find: file="NULL"
190    key="servers=localhost(TESTSUITE/mysql/sock)/test/root/pass; select name from them where id='ph10';" partial=-1 affix=NULL starflags=0 opts=NULL
191  LRU list:
192  internal_search_find: file="NULL"
193    type=mysql key="servers=localhost(TESTSUITE/mysql/sock)/test/root/pass; select name from them where id='ph10';" opts=NULL
194  database lookup required for servers=localhost(TESTSUITE/mysql/sock)/test/root/pass; select name from them where id='ph10';
195  MySQL query: "servers=localhost(TESTSUITE/mysql/sock)/test/root/pass; select name from them where id='ph10';" opts 'NULL'
196 LOG: MAIN
197   Exim configuration error in line 89 of TESTSUITE/test-config:
198   WARNING: obsolete syntax used for lookup
199  MYSQL new connection: host=localhost port=0 socket=TESTSUITE/mysql/sock database=test user=root
200  creating new cache entry
201  lookup yielded: Philip░Hazel
202  search_open: mysql "NULL"
203    cached open
204  search_find: file="NULL"
205    key="SELECT name FROM them WHERE id IN ('ph10', 'aaaa');" partial=-1 affix=NULL starflags=0 opts=NULL
206  LRU list:
207  internal_search_find: file="NULL"
208    type=mysql key="SELECT name FROM them WHERE id IN ('ph10', 'aaaa');" opts=NULL
209  database lookup required for SELECT name FROM them WHERE id IN ('ph10', 'aaaa');
210  MySQL query: "SELECT name FROM them WHERE id IN ('ph10', 'aaaa');" opts 'NULL'
211  MYSQL using cached connection for 127.0.0.1:PORT_N/test/root
212  creating new cache entry
213  lookup yielded: Philip░Hazel↩
214  Aristotle
215  search_open: mysql "NULL"
216    cached open
217  search_find: file="NULL"
218    key="SELECT *    FROM them WHERE id IN ('ph10', 'aaaa');" partial=-1 affix=NULL starflags=0 opts=NULL
219  LRU list:
220  internal_search_find: file="NULL"
221    type=mysql key="SELECT *    FROM them WHERE id IN ('ph10', 'aaaa');" opts=NULL
222  database lookup required for SELECT *    FROM them WHERE id IN ('ph10', 'aaaa');
223  MySQL query: "SELECT *    FROM them WHERE id IN ('ph10', 'aaaa');" opts 'NULL'
224  MYSQL using cached connection for 127.0.0.1:PORT_N/test/root
225  creating new cache entry
226  lookup yielded: name="Philip░Hazel"░id=ph10░↩
227  name=Aristotle░id=aaaa░
228  search_open: mysql "NULL"
229    cached open
230  search_find: file="NULL"
231    key="delete from them where id='aaaa'" partial=-1 affix=NULL starflags=0 opts=NULL
232  LRU list:
233  internal_search_find: file="NULL"
234    type=mysql key="delete from them where id='aaaa'" opts=NULL
235  database lookup required for delete from them where id='aaaa'
236  MySQL query: "delete from them where id='aaaa'" opts 'NULL'
237  MYSQL using cached connection for 127.0.0.1:PORT_N/test/root
238  MYSQL: query was not one that returns data
239  lookup forced cache cleanup
240  lookup yielded: 1
241 search_tidyup called
242 close MYSQL connection: localhost(TESTSUITE/mysql/sock)/test/root
243 close MYSQL connection: ip4.ip4.ip4.ip4:1223/test/root
244 close MYSQL connection: 127.0.0.1:PORT_N/test/root
245 >>>>>>>>>>>>>>>> Exim pid=p1234 (fresh-exec) terminating with rc=0 >>>>>>>>>>>>>>>>
246 01:01:01 p1235  Exim version x.yz uid=CALLER_UID gid=CALLER_GID pid=p1235 D=fff9ffff
247 01:01:01 p1235  macros_trusted overridden to true by whitelisting
248 01:01:01 p1235  changed uid/gid: forcing real = effective
249 01:01:01 p1235    uid=uuuu gid=CALLER_GID pid=p1235
250 01:01:01 p1235  environment after trimming:
251 01:01:01 p1235   PATH=<munged>
252 01:01:01 p1235  adding SSLKEYLOGFILE=TESTSUITE/spool/sslkeys
253 01:01:01 p1235  configuration file is TESTSUITE/test-config
254 01:01:01 p1235  admin user
255 01:01:01 p1235  changed uid/gid: privilege not needed
256 01:01:01 p1235    uid=EXIM_UID gid=EXIM_GID pid=p1235
257 01:01:01 p1235  seeking password data for user "CALLER": cache not available
258 01:01:01 p1235  getpwnam() succeeded uid=CALLER_UID gid=CALLER_GID
259 01:01:01 p1235  try option gecos_pattern
260 01:01:01 p1235  try option gecos_name
261 01:01:01 p1235  try option unknown_login
262 01:01:01 p1235  originator: uid=CALLER_UID gid=CALLER_GID login=CALLER name=CALLER_NAME
263 01:01:01 p1235  sender address = CALLER@myhost.test.ex
264 01:01:01 p1235  try option smtp_active_hostname
265 01:01:01 p1235  sender_fullhost = [10.0.0.0]
266 01:01:01 p1235  sender_rcvhost = [10.0.0.0]
267 01:01:01 p1235  host in hosts_connection_nolog? no (option unset)
268 01:01:01 p1235  LOG: smtp_connection MAIN
269 01:01:01 p1235    SMTP connection from [10.0.0.0]
270 01:01:01 p1235  try option message_size_limit
271 01:01:01 p1235  host in host_lookup? no (option unset)
272 01:01:01 p1235  set_process_info: pppp handling incoming connection from [10.0.0.0]
273 01:01:01 p1235  host in host_reject_connection? no (option unset)
274 01:01:01 p1235  host in sender_unqualified_hosts? no (option unset)
275 01:01:01 p1235  host in recipient_unqualified_hosts? no (option unset)
276 01:01:01 p1235  host in helo_verify_hosts? no (option unset)
277 01:01:01 p1235  host in helo_try_verify_hosts? no (option unset)
278 01:01:01 p1235  host in helo_accept_junk_hosts? no (option unset)
279 01:01:01 p1235  try option acl_smtp_connect
280 01:01:01 p1235  try option smtp_banner
281 01:01:01 p1235   ╭considering: $smtp_active_hostname░ESMTP░Exim░$version_number░$tod_full
282 01:01:01 p1235   ├──────value: myhost.test.ex
283 01:01:01 p1235   ├considering: ░ESMTP░Exim░$version_number░$tod_full
284 01:01:01 p1235   ├───────text: ░ESMTP░Exim░
285 01:01:01 p1235   ├considering: $version_number░$tod_full
286 01:01:01 p1235   ├──────value: x.yz
287 01:01:01 p1235   ├considering: ░$tod_full
288 01:01:01 p1235   ├───────text: ░
289 01:01:01 p1235   ├considering: $tod_full
290 01:01:01 p1235   ├──────value: Tue,░2░Mar░1999░09:44:33░+0000
291 01:01:01 p1235   ├───expanded: $smtp_active_hostname░ESMTP░Exim░$version_number░$tod_full
292 01:01:01 p1235   ╰─────result: myhost.test.ex░ESMTP░Exim░x.yz░Tue,░2░Mar░1999░09:44:33░+0000
293 01:01:01 p1235  host in pipelining_connect_advertise_hosts?
294 01:01:01 p1235   list element: 
295 01:01:01 p1235  SMTP>> 220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000
296 01:01:01 p1235  smtp_setup_msg entered
297 01:01:01 p1235  SMTP<< helo test
298 01:01:01 p1235  test in helo_lookup_domains?
299 01:01:01 p1235   list element: @
300 01:01:01 p1235   list element: @[]
301 01:01:01 p1235  test in helo_lookup_domains? no (end of list)
302 01:01:01 p1235  sender_fullhost = (test) [10.0.0.0]
303 01:01:01 p1235  sender_rcvhost = [10.0.0.0] (helo=test)
304 01:01:01 p1235  set_process_info: pppp handling incoming connection from (test) [10.0.0.0]
305 01:01:01 p1235  spf_conn_init: test 10.0.0.0
306 01:01:01 p1235  SPF_dns_exim_new
307 01:01:01 p1235  try option acl_smtp_helo
308 01:01:01 p1235  SMTP>> 250 myhost.test.ex Hello test [10.0.0.0]
309 01:01:01 p1235  SMTP<< mail from:<a@b>
310 01:01:01 p1235  spool directory space = nnnnnK inodes = nnnnn check_space = 10240K inodes = 100 msg_size = 0
311 01:01:01 p1235  log directory space = nnnnnK inodes = nnnnn check_space = 10240K inodes = 100
312 01:01:01 p1235  try option acl_smtp_mail
313 01:01:01 p1235  SMTP>> 250 OK
314 01:01:01 p1235  SMTP<< rcpt to:<c@d>
315 01:01:01 p1235  try option acl_smtp_rcpt
316 01:01:01 p1235  using ACL "check_recipient"
317 01:01:01 p1235  processing "warn" (TESTSUITE/test-config 26)
318 01:01:01 p1235   ╭considering: ok:░░░░${lookup░mysql░░░░░░░░░░░░░░░░░░░░{select░name░from░them░where░id░=░'${quote_mysql:$local_part}'}}
319 01:01:01 p1235   ├───────text: ok:░░░░
320 01:01:01 p1235   ├considering: ${lookup░mysql░░░░░░░░░░░░░░░░░░░░{select░name░from░them░where░id░=░'${quote_mysql:$local_part}'}}
321 01:01:01 p1235    ╭considering: select░name░from░them░where░id░=░'${quote_mysql:$local_part}'}}
322 01:01:01 p1235    ├───────text: select░name░from░them░where░id░=░'
323 01:01:01 p1235    ├considering: ${quote_mysql:$local_part}'}}
324 01:01:01 p1235     ╭considering: $local_part}'}}
325 01:01:01 p1235     ├──────value: c
326 01:01:01 p1235                ╰──(tainted)
327 01:01:01 p1235     ├considering: }'}}
328 01:01:01 p1235     ├───expanded: $local_part
329 01:01:01 p1235     ╰─────result: c
330 01:01:01 p1235                ╰──(tainted)
331 01:01:01 p1235    ├─────op-res: c
332 01:01:01 p1235               ╰──(tainted, quoted:mysql)
333 01:01:01 p1235    ├considering: '}}
334 01:01:01 p1235    ├───────text: '
335 01:01:01 p1235    ├considering: }}
336 01:01:01 p1235    ├───expanded: select░name░from░them░where░id░=░'${quote_mysql:$local_part}'
337 01:01:01 p1235    ╰─────result: select░name░from░them░where░id░=░'c'
338 01:01:01 p1235               ╰──(tainted, quoted:mysql)
339 01:01:01 p1235   search_open: mysql "NULL"
340 01:01:01 p1235   search_find: file="NULL"
341 01:01:01 p1235     key="select name from them where id = 'c'" partial=-1 affix=NULL starflags=0 opts=NULL
342 01:01:01 p1235   LRU list:
343 01:01:01 p1235   internal_search_find: file="NULL"
344 01:01:01 p1235     type=mysql key="select name from them where id = 'c'" opts=NULL
345 01:01:01 p1235   database lookup required for select name from them where id = 'c'
346 01:01:01 p1235                                (tainted, quoted:mysql)
347 01:01:01 p1235   MySQL query: "select name from them where id = 'c'" opts 'NULL'
348 01:01:01 p1235   MYSQL new connection: host=127.0.0.1 port=PORT_N socket=NULL database=test user=root
349 01:01:01 p1235   MYSQL: no data found
350 01:01:01 p1235   creating new cache entry
351 01:01:01 p1235   lookup failed
352 01:01:01 p1235   ├───item-res: 
353 01:01:01 p1235   ├───expanded: ok:░░░░${lookup░mysql░░░░░░░░░░░░░░░░░░░░{select░name░from░them░where░id░=░'${quote_mysql:$local_part}'}}
354 01:01:01 p1235   ╰─────result: ok:░░░░
355 01:01:01 p1235  check set acl_m0 = ok:    ${lookup mysql                    {select name from them where id = '${quote_mysql:$local_part}'}}
356 01:01:01 p1235                   = ok:    
357 01:01:01 p1235   ╭considering: FAIL1:░${lookup░mysql,no_rd░░░░░░░░░░░░░░{select░name░from░them░where░id░=░'$local_part'}}
358 01:01:01 p1235   ├───────text: FAIL1:░
359 01:01:01 p1235   ├considering: ${lookup░mysql,no_rd░░░░░░░░░░░░░░{select░name░from░them░where░id░=░'$local_part'}}
360 01:01:01 p1235    ╭considering: select░name░from░them░where░id░=░'$local_part'}}
361 01:01:01 p1235    ├───────text: select░name░from░them░where░id░=░'
362 01:01:01 p1235    ├considering: $local_part'}}
363 01:01:01 p1235    ├──────value: c
364 01:01:01 p1235               ╰──(tainted)
365 01:01:01 p1235    ├considering: '}}
366 01:01:01 p1235    ├───────text: '
367 01:01:01 p1235    ├considering: }}
368 01:01:01 p1235    ├───expanded: select░name░from░them░where░id░=░'$local_part'
369 01:01:01 p1235    ╰─────result: select░name░from░them░where░id░=░'c'
370 01:01:01 p1235               ╰──(tainted)
371 01:01:01 p1235   search_open: mysql "NULL"
372 01:01:01 p1235     cached open
373 01:01:01 p1235   search_find: file="NULL"
374 01:01:01 p1235     key="select name from them where id = 'c'" partial=-1 affix=NULL starflags=0 opts="no_rd"
375 01:01:01 p1235   LRU list:
376 01:01:01 p1235   internal_search_find: file="NULL"
377 01:01:01 p1235     type=mysql key="select name from them where id = 'c'" opts="no_rd"
378 01:01:01 p1235   cached data found but wrong opts;  database lookup required for select name from them where id = 'c'
379 01:01:01 p1235                                (tainted)
380 01:01:01 p1235  LOG: MAIN PANIC
381 01:01:01 p1235    tainted search query is not properly quoted (ACL warn, TESTSUITE/test-config 26): select name from them where id = 'c'
382 01:01:01 p1235   search_type NN (mysql) quoting -1 (none)
383 01:01:01 p1235   MySQL query: "select name from them where id = 'c'" opts 'no_rd'
384 01:01:01 p1235   MYSQL using cached connection for 127.0.0.1:PORT_N/test/root
385 01:01:01 p1235   MYSQL: no data found
386 01:01:01 p1235   replacing old cache entry
387 01:01:01 p1235   lookup failed
388 01:01:01 p1235   ├───item-res: 
389 01:01:01 p1235   ├───expanded: FAIL1:░${lookup░mysql,no_rd░░░░░░░░░░░░░░{select░name░from░them░where░id░=░'$local_part'}}
390 01:01:01 p1235   ╰─────result: FAIL1:░
391 01:01:01 p1235  check set acl_m0 = FAIL1: ${lookup mysql,no_rd              {select name from them where id = '$local_part'}}
392 01:01:01 p1235                   = FAIL1: 
393 01:01:01 p1235  warn: condition test succeeded in ACL "check_recipient"
394 01:01:01 p1235  processing "warn" (TESTSUITE/test-config 31)
395 01:01:01 p1235   ╭considering: ok:░░░░${lookup░mysql,servers=127.0.0.1::PORT_N/test/root/pass░░░░░░{select░name░from░them░where░id░=░'${quote_mysql:$local_part}'}}
396 01:01:01 p1235   ├───────text: ok:░░░░
397 01:01:01 p1235   ├considering: ${lookup░mysql,servers=127.0.0.1::PORT_N/test/root/pass░░░░░░{select░name░from░them░where░id░=░'${quote_mysql:$local_part}'}}
398 01:01:01 p1235    ╭considering: select░name░from░them░where░id░=░'${quote_mysql:$local_part}'}}
399 01:01:01 p1235    ├───────text: select░name░from░them░where░id░=░'
400 01:01:01 p1235    ├considering: ${quote_mysql:$local_part}'}}
401 01:01:01 p1235     ╭considering: $local_part}'}}
402 01:01:01 p1235     ├──────value: c
403 01:01:01 p1235                ╰──(tainted)
404 01:01:01 p1235     ├considering: }'}}
405 01:01:01 p1235     ├───expanded: $local_part
406 01:01:01 p1235     ╰─────result: c
407 01:01:01 p1235                ╰──(tainted)
408 01:01:01 p1235    ├─────op-res: c
409 01:01:01 p1235               ╰──(tainted, quoted:mysql)
410 01:01:01 p1235    ├considering: '}}
411 01:01:01 p1235    ├───────text: '
412 01:01:01 p1235    ├considering: }}
413 01:01:01 p1235    ├───expanded: select░name░from░them░where░id░=░'${quote_mysql:$local_part}'
414 01:01:01 p1235    ╰─────result: select░name░from░them░where░id░=░'c'
415 01:01:01 p1235               ╰──(tainted, quoted:mysql)
416 01:01:01 p1235   search_open: mysql "NULL"
417 01:01:01 p1235     cached open
418 01:01:01 p1235   search_find: file="NULL"
419 01:01:01 p1235     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"
420 01:01:01 p1235   LRU list:
421 01:01:01 p1235   internal_search_find: file="NULL"
422 01:01:01 p1235     type=mysql key="select name from them where id = 'c'" opts="servers=127.0.0.1::PORT_N/test/root/pass"
423 01:01:01 p1235   cached data found but wrong opts;  database lookup required for select name from them where id = 'c'
424 01:01:01 p1235                                (tainted, quoted:mysql)
425 01:01:01 p1235   MySQL query: "select name from them where id = 'c'" opts 'servers=127.0.0.1::PORT_N/test/root/pass'
426 01:01:01 p1235   MYSQL using cached connection for 127.0.0.1:PORT_N/test/root
427 01:01:01 p1235   MYSQL: no data found
428 01:01:01 p1235   replacing old cache entry
429 01:01:01 p1235   lookup failed
430 01:01:01 p1235   ├───item-res: 
431 01:01:01 p1235   ├───expanded: ok:░░░░${lookup░mysql,servers=127.0.0.1::PORT_N/test/root/pass░░░░░░{select░name░from░them░where░id░=░'${quote_mysql:$local_part}'}}
432 01:01:01 p1235   ╰─────result: ok:░░░░
433 01:01:01 p1235  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}'}}
434 01:01:01 p1235                   = ok:    
435 01:01:01 p1235   ╭considering: ok:░░░░${lookup░mysql,servers=127.0.0.1::PORT_N░░░░{select░name░from░them░where░id░=░'${quote_mysql:$local_part}'}}
436 01:01:01 p1235   ├───────text: ok:░░░░
437 01:01:01 p1235   ├considering: ${lookup░mysql,servers=127.0.0.1::PORT_N░░░░{select░name░from░them░where░id░=░'${quote_mysql:$local_part}'}}
438 01:01:01 p1235    ╭considering: select░name░from░them░where░id░=░'${quote_mysql:$local_part}'}}
439 01:01:01 p1235    ├───────text: select░name░from░them░where░id░=░'
440 01:01:01 p1235    ├considering: ${quote_mysql:$local_part}'}}
441 01:01:01 p1235     ╭considering: $local_part}'}}
442 01:01:01 p1235     ├──────value: c
443 01:01:01 p1235                ╰──(tainted)
444 01:01:01 p1235     ├considering: }'}}
445 01:01:01 p1235     ├───expanded: $local_part
446 01:01:01 p1235     ╰─────result: c
447 01:01:01 p1235                ╰──(tainted)
448 01:01:01 p1235    ├─────op-res: c
449 01:01:01 p1235               ╰──(tainted, quoted:mysql)
450 01:01:01 p1235    ├considering: '}}
451 01:01:01 p1235    ├───────text: '
452 01:01:01 p1235    ├considering: }}
453 01:01:01 p1235    ├───expanded: select░name░from░them░where░id░=░'${quote_mysql:$local_part}'
454 01:01:01 p1235    ╰─────result: select░name░from░them░where░id░=░'c'
455 01:01:01 p1235               ╰──(tainted, quoted:mysql)
456 01:01:01 p1235   search_open: mysql "NULL"
457 01:01:01 p1235     cached open
458 01:01:01 p1235   search_find: file="NULL"
459 01:01:01 p1235     key="select name from them where id = 'c'" partial=-1 affix=NULL starflags=0 opts="servers=127.0.0.1::PORT_N"
460 01:01:01 p1235   LRU list:
461 01:01:01 p1235   internal_search_find: file="NULL"
462 01:01:01 p1235     type=mysql key="select name from them where id = 'c'" opts="servers=127.0.0.1::PORT_N"
463 01:01:01 p1235   cached data found but wrong opts;  database lookup required for select name from them where id = 'c'
464 01:01:01 p1235                                (tainted, quoted:mysql)
465 01:01:01 p1235   MySQL query: "select name from them where id = 'c'" opts 'servers=127.0.0.1::PORT_N'
466 01:01:01 p1235   MYSQL using cached connection for 127.0.0.1:PORT_N/test/root
467 01:01:01 p1235   MYSQL: no data found
468 01:01:01 p1235   replacing old cache entry
469 01:01:01 p1235   lookup failed
470 01:01:01 p1235   ├───item-res: 
471 01:01:01 p1235   ├───expanded: ok:░░░░${lookup░mysql,servers=127.0.0.1::PORT_N░░░░{select░name░from░them░where░id░=░'${quote_mysql:$local_part}'}}
472 01:01:01 p1235   ╰─────result: ok:░░░░
473 01:01:01 p1235  check set acl_m0 = ok:    ${lookup mysql,servers=127.0.0.1::PORT_N    {select name from them where id = '${quote_mysql:$local_part}'}}
474 01:01:01 p1235                   = ok:    
475 01:01:01 p1235   ╭considering: FAIL2:░${lookup░mysql░░░░░{servers=127.0.0.1::PORT_N/test/root/pass;░select░name░from░them░where░id░=░'${quote_mysql:$local_part}'}}
476 01:01:01 p1235   ├───────text: FAIL2:░
477 01:01:01 p1235   ├considering: ${lookup░mysql░░░░░{servers=127.0.0.1::PORT_N/test/root/pass;░select░name░from░them░where░id░=░'${quote_mysql:$local_part}'}}
478 01:01:01 p1235    ╭considering: servers=127.0.0.1::PORT_N/test/root/pass;░select░name░from░them░where░id░=░'${quote_mysql:$local_part}'}}
479 01:01:01 p1235    ├───────text: servers=127.0.0.1::PORT_N/test/root/pass;░select░name░from░them░where░id░=░'
480 01:01:01 p1235    ├considering: ${quote_mysql:$local_part}'}}
481 01:01:01 p1235     ╭considering: $local_part}'}}
482 01:01:01 p1235     ├──────value: c
483 01:01:01 p1235                ╰──(tainted)
484 01:01:01 p1235     ├considering: }'}}
485 01:01:01 p1235     ├───expanded: $local_part
486 01:01:01 p1235     ╰─────result: c
487 01:01:01 p1235                ╰──(tainted)
488 01:01:01 p1235    ├─────op-res: c
489 01:01:01 p1235               ╰──(tainted, quoted:mysql)
490 01:01:01 p1235    ├considering: '}}
491 01:01:01 p1235    ├───────text: '
492 01:01:01 p1235    ├considering: }}
493 01:01:01 p1235    ├───expanded: servers=127.0.0.1::PORT_N/test/root/pass;░select░name░from░them░where░id░=░'${quote_mysql:$local_part}'
494 01:01:01 p1235    ╰─────result: servers=127.0.0.1::PORT_N/test/root/pass;░select░name░from░them░where░id░=░'c'
495 01:01:01 p1235               ╰──(tainted, quoted:mysql)
496 01:01:01 p1235   search_open: mysql "NULL"
497 01:01:01 p1235     cached open
498 01:01:01 p1235   search_find: file="NULL"
499 01:01:01 p1235     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
500 01:01:01 p1235   LRU list:
501 01:01:01 p1235   internal_search_find: file="NULL"
502 01:01:01 p1235     type=mysql key="servers=127.0.0.1::PORT_N/test/root/pass; select name from them where id = 'c'" opts=NULL
503 01:01:01 p1235   database lookup required for servers=127.0.0.1::PORT_N/test/root/pass; select name from them where id = 'c'
504 01:01:01 p1235                                (tainted, quoted:mysql)
505 01:01:01 p1235   MySQL query: "servers=127.0.0.1::PORT_N/test/root/pass; select name from them where id = 'c'" opts 'NULL'
506 01:01:01 p1235  LOG: MAIN
507 01:01:01 p1235    Exim configuration error in line 89 of TESTSUITE/test-config:
508 01:01:01 p1235    WARNING: obsolete syntax used for lookup
509 01:01:01 p1235   lookup deferred: MySQL server "127.0.0.1:PORT_N/test" is tainted
510 01:01:01 p1235   ├failed to expand: FAIL2: ${lookup mysql     {servers=127.0.0.1::PORT_N/test/root/pass; select name from them where id = '${quote_mysql:$local_part}'}}
511 01:01:01 p1235   ╰───error message: lookup of "servers=127.0.0.1::PORT_N/test/root/pass; select name from them where id = 'c'" gave DEFER: MySQL server "127.0.0.1:1223/test" is tainted
512 01:01:01 p1235  warn: condition test deferred in ACL "check_recipient"
513 01:01:01 p1235  LOG: MAIN
514 01:01:01 p1235    H=(test) [10.0.0.0] Warning: ACL "warn" statement skipped: condition test deferred: MySQL server "127.0.0.1:PORT_N/test" is tainted
515 01:01:01 p1235  processing "warn" (TESTSUITE/test-config 39)
516 01:01:01 p1235   ╭considering: FAIL3:░${lookup░mysql░░░░░{servers=127.0.0.1::PORT_N;░select░name░from░them░where░id░=░'$local_part'}}
517 01:01:01 p1235   ├───────text: FAIL3:░
518 01:01:01 p1235   ├considering: ${lookup░mysql░░░░░{servers=127.0.0.1::PORT_N;░select░name░from░them░where░id░=░'$local_part'}}
519 01:01:01 p1235    ╭considering: servers=127.0.0.1::PORT_N;░select░name░from░them░where░id░=░'$local_part'}}
520 01:01:01 p1235    ├───────text: servers=127.0.0.1::PORT_N;░select░name░from░them░where░id░=░'
521 01:01:01 p1235    ├considering: $local_part'}}
522 01:01:01 p1235    ├──────value: c
523 01:01:01 p1235               ╰──(tainted)
524 01:01:01 p1235    ├considering: '}}
525 01:01:01 p1235    ├───────text: '
526 01:01:01 p1235    ├considering: }}
527 01:01:01 p1235    ├───expanded: servers=127.0.0.1::PORT_N;░select░name░from░them░where░id░=░'$local_part'
528 01:01:01 p1235    ╰─────result: servers=127.0.0.1::PORT_N;░select░name░from░them░where░id░=░'c'
529 01:01:01 p1235               ╰──(tainted)
530 01:01:01 p1235   search_open: mysql "NULL"
531 01:01:01 p1235     cached open
532 01:01:01 p1235   search_find: file="NULL"
533 01:01:01 p1235     key="servers=127.0.0.1::PORT_N; select name from them where id = 'c'" partial=-1 affix=NULL starflags=0 opts=NULL
534 01:01:01 p1235   LRU list:
535 01:01:01 p1235   internal_search_find: file="NULL"
536 01:01:01 p1235     type=mysql key="servers=127.0.0.1::PORT_N; select name from them where id = 'c'" opts=NULL
537 01:01:01 p1235   database lookup required for servers=127.0.0.1::PORT_N; select name from them where id = 'c'
538 01:01:01 p1235                                (tainted)
539 01:01:01 p1235  LOG: MAIN PANIC
540 01:01:01 p1235    tainted search query is not properly quoted (ACL warn, TESTSUITE/test-config 39): select name from them where id = 'c'
541 01:01:01 p1235   search_type NN (mysql) quoting -1 (none)
542 01:01:01 p1235   MySQL query: "servers=127.0.0.1::PORT_N; select name from them where id = 'c'" opts 'NULL'
543 01:01:01 p1235  LOG: MAIN
544 01:01:01 p1235    Exim configuration error in line 89 of TESTSUITE/test-config:
545 01:01:01 p1235    WARNING: obsolete syntax used for lookup
546 01:01:01 p1235   MYSQL using cached connection for 127.0.0.1:PORT_N/test/root
547 01:01:01 p1235   MYSQL: no data found
548 01:01:01 p1235   creating new cache entry
549 01:01:01 p1235   lookup failed
550 01:01:01 p1235   ├───item-res: 
551 01:01:01 p1235   ├───expanded: FAIL3:░${lookup░mysql░░░░░{servers=127.0.0.1::PORT_N;░select░name░from░them░where░id░=░'$local_part'}}
552 01:01:01 p1235   ╰─────result: FAIL3:░
553 01:01:01 p1235  check set acl_m0 = FAIL3: ${lookup mysql     {servers=127.0.0.1::PORT_N; select name from them where id = '$local_part'}}
554 01:01:01 p1235                   = FAIL3: 
555 01:01:01 p1235  warn: condition test succeeded in ACL "check_recipient"
556 01:01:01 p1235  processing "warn" (TESTSUITE/test-config 42)
557 01:01:01 p1235  check set acl_m0 = ok:    hostlist
558 01:01:01 p1235  check hosts = net-mysql;select * from them where id='${quote_mysql:$local_part}'
559 01:01:01 p1235   ╭considering: net-mysql;select░*░from░them░where░id='${quote_mysql:$local_part}'
560 01:01:01 p1235   ├───────text: net-mysql;select░*░from░them░where░id='
561 01:01:01 p1235   ├considering: ${quote_mysql:$local_part}'
562 01:01:01 p1235    ╭considering: $local_part}'
563 01:01:01 p1235    ├──────value: c
564 01:01:01 p1235               ╰──(tainted)
565 01:01:01 p1235    ├considering: }'
566 01:01:01 p1235    ├───expanded: $local_part
567 01:01:01 p1235    ╰─────result: c
568 01:01:01 p1235               ╰──(tainted)
569 01:01:01 p1235   ├─────op-res: c
570 01:01:01 p1235              ╰──(tainted, quoted:mysql)
571 01:01:01 p1235   ├considering: '
572 01:01:01 p1235   ├───────text: '
573 01:01:01 p1235   ├───expanded: net-mysql;select░*░from░them░where░id='${quote_mysql:$local_part}'
574 01:01:01 p1235   ╰─────result: net-mysql;select░*░from░them░where░id='c'
575 01:01:01 p1235              ╰──(tainted, quoted:mysql)
576 01:01:01 p1235  host in "net-mysql;select * from them where id='c'"?
577 01:01:01 p1235   list element: net-mysql;select * from them where id='c'
578 01:01:01 p1235   search_open: mysql "NULL"
579 01:01:01 p1235     cached open
580 01:01:01 p1235   search_find: file="NULL"
581 01:01:01 p1235     key="select * from them where id='c'" partial=-1 affix=NULL starflags=0 opts=NULL
582 01:01:01 p1235   LRU list:
583 01:01:01 p1235   internal_search_find: file="NULL"
584 01:01:01 p1235     type=mysql key="select * from them where id='c'" opts=NULL
585 01:01:01 p1235   database lookup required for select * from them where id='c'
586 01:01:01 p1235                                (tainted, quoted:mysql)
587 01:01:01 p1235   MySQL query: "select * from them where id='c'" opts 'NULL'
588 01:01:01 p1235   MYSQL using cached connection for 127.0.0.1:PORT_N/test/root
589 01:01:01 p1235   MYSQL: no data found
590 01:01:01 p1235   creating new cache entry
591 01:01:01 p1235   lookup failed
592 01:01:01 p1235  host in "net-mysql;select * from them where id='c'"? no (end of list)
593 01:01:01 p1235  warn: condition test failed in ACL "check_recipient"
594 01:01:01 p1235  processing "warn" (TESTSUITE/test-config 45)
595 01:01:01 p1235  check set acl_m0 = FAIL4: hostlist
596 01:01:01 p1235  check hosts = <& net-mysql;servers=127.0.0.1::PORT_N/test/root/pass; select * from them where id='${quote_mysql:$local_part}'
597 01:01:01 p1235   ╭considering: <&░net-mysql;servers=127.0.0.1::PORT_N/test/root/pass;░select░*░from░them░where░id='${quote_mysql:$local_part}'
598 01:01:01 p1235   ├───────text: <&░net-mysql;servers=127.0.0.1::PORT_N/test/root/pass;░select░*░from░them░where░id='
599 01:01:01 p1235   ├considering: ${quote_mysql:$local_part}'
600 01:01:01 p1235    ╭considering: $local_part}'
601 01:01:01 p1235    ├──────value: c
602 01:01:01 p1235               ╰──(tainted)
603 01:01:01 p1235    ├considering: }'
604 01:01:01 p1235    ├───expanded: $local_part
605 01:01:01 p1235    ╰─────result: c
606 01:01:01 p1235               ╰──(tainted)
607 01:01:01 p1235   ├─────op-res: c
608 01:01:01 p1235              ╰──(tainted, quoted:mysql)
609 01:01:01 p1235   ├considering: '
610 01:01:01 p1235   ├───────text: '
611 01:01:01 p1235   ├───expanded: <&░net-mysql;servers=127.0.0.1::PORT_N/test/root/pass;░select░*░from░them░where░id='${quote_mysql:$local_part}'
612 01:01:01 p1235   ╰─────result: <&░net-mysql;servers=127.0.0.1::PORT_N/test/root/pass;░select░*░from░them░where░id='c'
613 01:01:01 p1235              ╰──(tainted, quoted:mysql)
614 01:01:01 p1235  host in "<& net-mysql;servers=127.0.0.1::PORT_N/test/root/pass; select * from them where id='c'"?
615 01:01:01 p1235   list element: net-mysql;servers=127.0.0.1::PORT_N/test/root/pass; select * from them where id='c'
616 01:01:01 p1235   search_open: mysql "NULL"
617 01:01:01 p1235     cached open
618 01:01:01 p1235   search_find: file="NULL"
619 01:01:01 p1235     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
620 01:01:01 p1235   LRU list:
621 01:01:01 p1235   internal_search_find: file="NULL"
622 01:01:01 p1235     type=mysql key="servers=127.0.0.1::PORT_N/test/root/pass; select * from them where id='c'" opts=NULL
623 01:01:01 p1235   database lookup required for servers=127.0.0.1::PORT_N/test/root/pass; select * from them where id='c'
624 01:01:01 p1235                                (tainted, quoted:mysql)
625 01:01:01 p1235   MySQL query: "servers=127.0.0.1::PORT_N/test/root/pass; select * from them where id='c'" opts 'NULL'
626 01:01:01 p1235  LOG: MAIN
627 01:01:01 p1235    Exim configuration error in line 89 of TESTSUITE/test-config:
628 01:01:01 p1235    WARNING: obsolete syntax used for lookup
629 01:01:01 p1235   lookup deferred: MySQL server "127.0.0.1:PORT_N/test" is tainted
630 01:01:01 p1235  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'
631 01:01:01 p1235  warn: condition test deferred in ACL "check_recipient"
632 01:01:01 p1235  LOG: MAIN
633 01:01:01 p1235    H=(test) [10.0.0.0] Warning: ACL "warn" statement skipped: condition test deferred: MySQL server "127.0.0.1:PORT_N/test" is tainted
634 01:01:01 p1235  processing "warn" (TESTSUITE/test-config 50)
635 01:01:01 p1235  check set acl_m0 = FAIL5: hostlist
636 01:01:01 p1235  check hosts = <& net-mysql,servers=127.0.0.1::PORT_N/test/root/pass; select * from them where id='${quote_mysql:$local_part}'
637 01:01:01 p1235   ╭considering: <&░net-mysql,servers=127.0.0.1::PORT_N/test/root/pass;░select░*░from░them░where░id='${quote_mysql:$local_part}'
638 01:01:01 p1235   ├───────text: <&░net-mysql,servers=127.0.0.1::PORT_N/test/root/pass;░select░*░from░them░where░id='
639 01:01:01 p1235   ├considering: ${quote_mysql:$local_part}'
640 01:01:01 p1235    ╭considering: $local_part}'
641 01:01:01 p1235    ├──────value: c
642 01:01:01 p1235               ╰──(tainted)
643 01:01:01 p1235    ├considering: }'
644 01:01:01 p1235    ├───expanded: $local_part
645 01:01:01 p1235    ╰─────result: c
646 01:01:01 p1235               ╰──(tainted)
647 01:01:01 p1235   ├─────op-res: c
648 01:01:01 p1235              ╰──(tainted, quoted:mysql)
649 01:01:01 p1235   ├considering: '
650 01:01:01 p1235   ├───────text: '
651 01:01:01 p1235   ├───expanded: <&░net-mysql,servers=127.0.0.1::PORT_N/test/root/pass;░select░*░from░them░where░id='${quote_mysql:$local_part}'
652 01:01:01 p1235   ╰─────result: <&░net-mysql,servers=127.0.0.1::PORT_N/test/root/pass;░select░*░from░them░where░id='c'
653 01:01:01 p1235              ╰──(tainted, quoted:mysql)
654 01:01:01 p1235  host in "<& net-mysql,servers=127.0.0.1::PORT_N/test/root/pass; select * from them where id='c'"?
655 01:01:01 p1235   list element: net-mysql,servers=127.0.0.1::PORT_N/test/root/pass; select * from them where id='c'
656 01:01:01 p1235   search_open: mysql "NULL"
657 01:01:01 p1235     cached open
658 01:01:01 p1235   search_find: file="NULL"
659 01:01:01 p1235     key=" select * from them where id='c'" partial=-1 affix=NULL starflags=0 opts="servers=127.0.0.1::PORT_N/test/root/pass"
660 01:01:01 p1235   LRU list:
661 01:01:01 p1235   internal_search_find: file="NULL"
662 01:01:01 p1235     type=mysql key=" select * from them where id='c'" opts="servers=127.0.0.1::PORT_N/test/root/pass"
663 01:01:01 p1235   database lookup required for  select * from them where id='c'
664 01:01:01 p1235                                (tainted, quoted:mysql)
665 01:01:01 p1235   MySQL query: " select * from them where id='c'" opts 'servers=127.0.0.1::PORT_N/test/root/pass'
666 01:01:01 p1235   lookup deferred: MySQL server "127.0.0.1:PORT_N/test" is tainted
667 01:01:01 p1235  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'
668 01:01:01 p1235  warn: condition test deferred in ACL "check_recipient"
669 01:01:01 p1235  LOG: MAIN
670 01:01:01 p1235    H=(test) [10.0.0.0] Warning: ACL "warn" statement skipped: condition test deferred: MySQL server "127.0.0.1:PORT_N/test" is tainted
671 01:01:01 p1235  processing "accept" (TESTSUITE/test-config 53)
672 01:01:01 p1235  check domains = +local_domains
673 01:01:01 p1235  d in "+local_domains"?
674 01:01:01 p1235   list element: +local_domains
675 01:01:01 p1235    start sublist local_domains
676 01:01:01 p1235     d in "@"?
677 01:01:01 p1235     ╎list element: @
678 01:01:01 p1235     d in "@"? no (end of list)
679 01:01:01 p1235    end sublist local_domains
680 01:01:01 p1235  d in "+local_domains"? no (end of list)
681 01:01:01 p1235  accept: condition test failed in ACL "check_recipient"
682 01:01:01 p1235  processing "accept" (TESTSUITE/test-config 56)
683 01:01:01 p1235  check hosts = +relay_hosts
684 01:01:01 p1235  host in "+relay_hosts"?
685 01:01:01 p1235   list element: +relay_hosts
686 01:01:01 p1235    start sublist relay_hosts
687 01:01:01 p1235     ╎╭considering: net-mysql;select░*░from░them░where░id='$sender_host_address'
688 01:01:01 p1235     ╎├───────text: net-mysql;select░*░from░them░where░id='
689 01:01:01 p1235     ╎├considering: $sender_host_address'
690 01:01:01 p1235     ╎├──────value: 10.0.0.0
691 01:01:01 p1235     ╎├considering: '
692 01:01:01 p1235     ╎├───────text: '
693 01:01:01 p1235     ╎├───expanded: net-mysql;select░*░from░them░where░id='$sender_host_address'
694 01:01:01 p1235     ╎╰─────result: net-mysql;select░*░from░them░where░id='10.0.0.0'
695 01:01:01 p1235     host in "net-mysql;select * from them where id='10.0.0.0'"?
696 01:01:01 p1235     ╎list element: net-mysql;select * from them where id='10.0.0.0'
697 01:01:01 p1235     ╎search_open: mysql "NULL"
698 01:01:01 p1235     ╎  cached open
699 01:01:01 p1235     ╎search_find: file="NULL"
700 01:01:01 p1235     ╎  key="select * from them where id='10.0.0.0'" partial=-1 affix=NULL starflags=0 opts=NULL
701 01:01:01 p1235     ╎LRU list:
702 01:01:01 p1235     ╎internal_search_find: file="NULL"
703 01:01:01 p1235     ╎  type=mysql key="select * from them where id='10.0.0.0'" opts=NULL
704 01:01:01 p1235     ╎database lookup required for select * from them where id='10.0.0.0'
705 01:01:01 p1235     ╎MySQL query: "select * from them where id='10.0.0.0'" opts 'NULL'
706 01:01:01 p1235     ╎MYSQL using cached connection for 127.0.0.1:PORT_N/test/root
707 01:01:01 p1235     ╎MYSQL: no data found
708 01:01:01 p1235     ╎creating new cache entry
709 01:01:01 p1235     ╎lookup failed
710 01:01:01 p1235     host in "net-mysql;select * from them where id='10.0.0.0'"? no (end of list)
711 01:01:01 p1235    end sublist relay_hosts
712 01:01:01 p1235  host in "+relay_hosts"? no (end of list)
713 01:01:01 p1235  accept: condition test failed in ACL "check_recipient"
714 01:01:01 p1235  processing "deny" (TESTSUITE/test-config 57)
715 01:01:01 p1235    message: relay not permitted
716 01:01:01 p1235  deny: condition test succeeded in ACL "check_recipient"
717 01:01:01 p1235  end of ACL "check_recipient": DENY
718 01:01:01 p1235  SMTP>> 550 relay not permitted
719 01:01:01 p1235  LOG: MAIN REJECT
720 01:01:01 p1235    H=(test) [10.0.0.0] F=<a@b> rejected RCPT <c@d>: relay not permitted
721 01:01:01 p1235  SMTP<< quit
722 01:01:01 p1235  try option acl_smtp_quit
723 01:01:01 p1235  SMTP>> 221 myhost.test.ex closing connection
724 01:01:01 p1235  LOG: smtp_connection MAIN
725 01:01:01 p1235    SMTP connection from (test) [10.0.0.0] D=qqs closed by QUIT
726 01:01:01 p1235  search_tidyup called
727 01:01:01 p1235  close MYSQL connection: 127.0.0.1:PORT_N/test/root
728 01:01:01 p1235  >>>>>>>>>>>>>>>> Exim pid=p1235 (fresh-exec) terminating with rc=0 >>>>>>>>>>>>>>>>
729 Exim version x.yz ....
730 changed uid/gid: forcing real = effective
731   uid=uuuu gid=CALLER_GID pid=p1236
732 configuration file is TESTSUITE/test-config
733 admin user
734 changed uid/gid: privilege not needed
735   uid=EXIM_UID gid=EXIM_GID pid=p1236
736 seeking password data for user "CALLER": cache not available
737 getpwnam() succeeded uid=CALLER_UID gid=CALLER_GID
738 originator: uid=CALLER_UID gid=CALLER_GID login=CALLER name=CALLER_NAME
739 sender address = CALLER@myhost.test.ex
740 set_process_info: pppp accepting a local non-SMTP message from <CALLER@myhost.test.ex>
741 spool directory space = nnnnnK inodes = nnnnn check_space = 10240K inodes = 100 msg_size = 0
742 log directory space = nnnnnK inodes = nnnnn check_space = 10240K inodes = 100
743 Sender: CALLER@myhost.test.ex
744 Recipients:
745   ph10
746 search_tidyup called
747 >>Headers received:
748
749 qualify & rewrite recipients list
750 rewrite rules on sender address
751 qualify and rewrite headers
752  rewrite_one_header: type=F:
753    From: CALLER_NAME <CALLER@myhost.test.ex>
754 search_tidyup called
755 >>Headers after rewriting and local additions:
756  I Message-Id: <E10HmaX-000000005vi-0000@myhost.test.ex>
757  F From: CALLER_NAME <CALLER@myhost.test.ex>
758    Date: Tue, 2 Mar 1999 09:44:33 +0000
759
760 Data file name: TESTSUITE/spool//input//10HmaX-000000005vi-0000-D
761 Data file written for message 10HmaX-000000005vi-0000
762 >>Generated Received: header line
763 P Received: from CALLER by myhost.test.ex with local (Exim x.yz)
764         (envelope-from <CALLER@myhost.test.ex>)
765         id 10HmaX-000000005vi-0000
766         for ph10@myhost.test.ex;
767         Tue, 2 Mar 1999 09:44:33 +0000
768 using ACL "check_notsmtp"
769 processing "accept" (TESTSUITE/test-config 60)
770 check set acl_m_qtest = ${quote_mysql:$recipients}
771                       = ph10@myhost.test.ex
772 accept: condition test succeeded in ACL "check_notsmtp"
773 end of ACL "check_notsmtp": ACCEPT
774 Writing spool header file: TESTSUITE/spool//input//hdr.10HmaX-000000005vi-0000
775 DSN: **** SPOOL_OUT - address: <ph10@myhost.test.ex> errorsto: <NULL> orcpt: <NULL> dsn_flags: 0x0
776 Renaming spool header file: TESTSUITE/spool//input//10HmaX-000000005vi-0000-H
777 Size of headers = sss
778 LOG: MAIN
779   <= CALLER@myhost.test.ex U=CALLER P=local S=sss
780 created log directory TESTSUITE/spool/log
781 search_tidyup called
782 exec TESTSUITE/eximdir/exim -DEXIM_PATH=TESTSUITE/eximdir/exim -C TESTSUITE/test-config -d=0xf7715cfd -MCd local-accept-delivery -odi -Mc 10HmaX-000000005vi-0000
783 Exim version x.yz ....
784 changed uid/gid: forcing real = effective
785   uid=uuuu gid=EXIM_GID pid=p1237
786 configuration file is TESTSUITE/test-config
787 trusted user
788 admin user
789 dropping to exim gid; retaining priv uid
790 seeking password data for user "CALLER": cache not available
791 getpwnam() succeeded uid=CALLER_UID gid=CALLER_GID
792 set_process_info: pppp delivering specified messages
793 set_process_info: pppp delivering 10HmaX-000000005vi-0000
794 Trying spool file TESTSUITE/spool//input//10HmaX-000000005vi-0000-D
795 reading spool file 10HmaX-000000005vi-0000-H
796 user=CALLER uid=CALLER_UID gid=CALLER_GID sender=CALLER@myhost.test.ex
797 sender_local=1 ident=CALLER
798 Non-recipients:
799  Empty Tree
800 ---- End of tree ----
801 recipients_count=1
802 **** SPOOL_IN - No additional fields
803 body_linecount=1 message_linecount=8
804 DSN: set orcpt:   flags: 0x0
805 Delivery address list:
806   ph10@myhost.test.ex 
807  locking TESTSUITE/spool/db/retry.lockfile
808  locked  TESTSUITE/spool/db/retry.lockfile
809  EXIM_DBOPEN: file <TESTSUITE/spool/db/retry> dir <TESTSUITE/spool/db> flags=O_RDONLY
810  returned from EXIM_DBOPEN: (nil)
811  failed to open DB file TESTSUITE/spool/db/retry: No such file or directory
812 no retry data available
813 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
814 Considering: ph10@myhost.test.ex
815 unique = ph10@myhost.test.ex
816 no   domain  retry record
817 no   address retry record
818 ph10@myhost.test.ex: queued for routing
819 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
820 routing ph10@myhost.test.ex
821 --------> r1 router <--------
822 local_part=ph10 domain=myhost.test.ex
823  search_open: mysql "NULL"
824  search_find: file="NULL"
825    key="select name from them where id='ph10@myhost.test.ex'" partial=-1 affix=NULL starflags=0 opts=NULL
826  LRU list:
827  internal_search_find: file="NULL"
828    type=mysql key="select name from them where id='ph10@myhost.test.ex'" opts=NULL
829  database lookup required for select name from them where id='ph10@myhost.test.ex'
830                               (tainted, quoted:mysql)
831  MySQL query: "select name from them where id='ph10@myhost.test.ex'" opts 'NULL'
832  MYSQL new connection: host=127.0.0.1 port=PORT_N socket=NULL database=test user=root
833  MYSQL: no data found
834  creating new cache entry
835  lookup failed
836 acl_m_qtest: <ph10@myhost.test.ex> lkup: <>
837 processing address_data
838  search_open: mysql "NULL"
839    cached open
840  search_find: file="NULL"
841    key="select name from them where id='ph10' limit 1" partial=-1 affix=NULL starflags=0 opts=NULL
842  LRU list:
843  internal_search_find: file="NULL"
844    type=mysql key="select name from them where id='ph10' limit 1" opts=NULL
845  database lookup required for select name from them where id='ph10' limit 1
846                               (tainted)
847 LOG: MAIN PANIC
848   tainted search query is not properly quoted (router r1, TESTSUITE/test-config 68): select name from them where id='ph10' limit 1
849  search_type NN (mysql) quoting -1 (none)
850  MySQL query: "select name from them where id='ph10' limit 1" opts 'NULL'
851  MYSQL using cached connection for 127.0.0.1:PORT_N/test/root
852  creating new cache entry
853  lookup yielded: Philip░Hazel
854 calling r1 router
855 r1 router called for ph10@myhost.test.ex
856   domain = myhost.test.ex
857 set transport t1
858 queued for t1 transport: local_part = ph10
859 domain = myhost.test.ex
860   errors_to=NULL
861   domain_data=NULL local_part_data=NULL
862 routed by r1 router
863   envelope to: ph10@myhost.test.ex
864   transport: t1
865 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
866 After routing:
867   Local deliveries:
868     ph10@myhost.test.ex
869   Remote deliveries:
870   Failed addresses:
871   Deferred addresses:
872 search_tidyup called
873 close MYSQL connection: 127.0.0.1:PORT_N/test/root
874 >>>>>>>>>>>>>>>> Local deliveries >>>>>>>>>>>>>>>>
875 --------> ph10@myhost.test.ex <--------
876  locking TESTSUITE/spool/db/retry.lockfile
877  locked  TESTSUITE/spool/db/retry.lockfile
878  EXIM_DBOPEN: file <TESTSUITE/spool/db/retry> dir <TESTSUITE/spool/db> flags=O_RDONLY
879  returned from EXIM_DBOPEN: (nil)
880  failed to open DB file TESTSUITE/spool/db/retry: No such file or directory
881 no retry data available
882 search_tidyup called
883 changed uid/gid: local delivery to ph10 <ph10@myhost.test.ex> transport=t1
884   uid=CALLER_UID gid=CALLER_GID pid=p1238
885   home=NULL current=/
886 set_process_info: pppp delivering 10HmaX-000000005vi-0000 to ph10 using t1
887 appendfile transport entered
888  search_open: mysql "NULL"
889  search_find: file="NULL"
890    key="select id from them where id='ph10'" partial=-1 affix=NULL starflags=0 opts=NULL
891  LRU list:
892  internal_search_find: file="NULL"
893    type=mysql key="select id from them where id='ph10'" opts=NULL
894  database lookup required for select id from them where id='ph10'
895                               (tainted)
896 LOG: MAIN
897   tainted search query is not properly quoted (transport t1, TESTSUITE/test-config 82): select id from them where id='ph10'
898  search_type NN (mysql) quoting -1 (none)
899  MySQL query: "select id from them where id='ph10'" opts 'NULL'
900  MYSQL new connection: host=127.0.0.1 port=PORT_N socket=NULL database=test user=root
901  creating new cache entry
902  lookup yielded: ph10
903 appendfile: mode=600 notify_comsat=0 quota=0 warning=0
904   file=TESTSUITE/test-mail/ph10 format=unix
905   message_prefix=From ${if def:return_path{$return_path}{MAILER-DAEMON}} ${tod_bsdinbox}\n
906   message_suffix=\n
907   maildir_use_size_file=no
908   locking by lockfile fcntl 
909 lock name: TESTSUITE/test-mail/ph10.lock
910 hitch name: TESTSUITE/test-mail/ph10.lock.test.ex.dddddddd.pppppppp
911 lock file created
912 mailbox TESTSUITE/test-mail/ph10 is locked
913 writing to file TESTSUITE/test-mail/ph10
914 writing data block fd=dddd size=sss timeout=0
915 cannot use sendfile for body: spoolfile not wireformat
916 writing data block fd=dddd size=sss timeout=0
917 writing data block fd=dddd size=sss timeout=0
918 appendfile yields 0 with errno=dd more_errno=dd
919 search_tidyup called
920 close MYSQL connection: 127.0.0.1:PORT_N/test/root
921 journalling ph10@myhost.test.ex
922 t1 transport returned OK for ph10@myhost.test.ex
923 post-process ph10@myhost.test.ex (0)
924 ph10@myhost.test.ex delivered
925 LOG: MAIN
926   => ph10 <ph10@myhost.test.ex> R=r1 T=t1
927 >>>>>>>>>>>>>>>> deliveries are done >>>>>>>>>>>>>>>>
928 changed uid/gid: post-delivery tidying
929   uid=EXIM_UID gid=EXIM_GID pid=p1237
930 set_process_info: pppp tidying up after delivering 10HmaX-000000005vi-0000
931 Processing retry items
932 Succeeded addresses:
933  ph10@myhost.test.ex: no retry items
934 Failed addresses:
935 Deferred addresses:
936 end of retry processing
937 DSN: processing router : r1
938 DSN: processing successful delivery address: ph10@myhost.test.ex
939 DSN: Sender_address: CALLER@myhost.test.ex
940 DSN: orcpt: NULL  flags: 0x0
941 DSN: envid: NULL  ret: 0
942 DSN: Final recipient: ph10@myhost.test.ex
943 DSN: Remote SMTP server supports DSN: 0
944 DSN: not sending DSN success message
945 LOG: MAIN
946   Completed
947 end delivery of 10HmaX-000000005vi-0000
948 search_tidyup called
949 search_tidyup called
950 >>>>>>>>>>>>>>>> Exim pid=p1237 (local-accept-delivery) terminating with rc=0 >>>>>>>>>>>>>>>>
951 search_tidyup called
952 >>>>>>>>>>>>>>>> Exim pid=p1236 (fresh-exec) terminating with rc=0 >>>>>>>>>>>>>>>>