2 WARNING: enabling "trust" authentication for local connections
3 You can change this by editing pg_hba.conf or using the option -A, or
4 --auth-local and --auth-host, the next time you run initdb.
6 configuration file is TESTSUITE/test-config
8 dropping to exim gid; retaining priv uid
9 search_open: pgsql "NULL"
10 search_find: file="NULL"
11 key="select name from them where id='ph10';" partial=-1 affix=NULL starflags=0 opts=NULL
13 internal_search_find: file="NULL"
14 type=pgsql key="select name from them where id='ph10';" opts=NULL
15 database lookup required for select name from them where id='ph10';
16 PostgreSQL query: "select name from them where id='ph10';" opts 'NULL'
17 PGSQL new connection: host=localhost port=1223 database=test user=CALLER
18 creating new cache entry
19 lookup yielded: Philip Hazel
20 search_open: pgsql "NULL"
22 search_find: file="NULL"
23 key="select name from them where id='ph10';" partial=-1 affix=NULL starflags=0 opts=NULL
25 internal_search_find: file="NULL"
26 type=pgsql key="select name from them where id='ph10';" opts=NULL
27 cached data used for lookup of select name from them where id='ph10';
28 lookup yielded: Philip Hazel
29 search_open: pgsql "NULL"
31 search_find: file="NULL"
32 key="select name from them where id='xxxx';" partial=-1 affix=NULL starflags=0 opts=NULL
34 internal_search_find: file="NULL"
35 type=pgsql key="select name from them where id='xxxx';" opts=NULL
36 database lookup required for select name from them where id='xxxx';
37 PostgreSQL query: "select name from them where id='xxxx';" opts 'NULL'
38 PGSQL using cached connection for localhost:1223/test/CALLER
40 creating new cache entry
42 search_open: pgsql "NULL"
44 search_find: file="NULL"
45 key="select name from them where id='nothing';" partial=-1 affix=NULL starflags=0 opts=NULL
47 internal_search_find: file="NULL"
48 type=pgsql key="select name from them where id='nothing';" opts=NULL
49 database lookup required for select name from them where id='nothing';
50 PostgreSQL query: "select name from them where id='nothing';" opts 'NULL'
51 PGSQL using cached connection for localhost:1223/test/CALLER
52 creating new cache entry
54 search_open: pgsql "NULL"
56 search_find: file="NULL"
57 key="select id,name from them where id='nothing';" partial=-1 affix=NULL starflags=0 opts=NULL
59 internal_search_find: file="NULL"
60 type=pgsql key="select id,name from them where id='nothing';" opts=NULL
61 database lookup required for select id,name from them where id='nothing';
62 PostgreSQL query: "select id,name from them where id='nothing';" opts 'NULL'
63 PGSQL using cached connection for localhost:1223/test/CALLER
64 creating new cache entry
65 lookup yielded: id=nothing name=""
66 search_open: pgsql "NULL"
68 search_find: file="NULL"
69 key="delete from them where id='nonexist';" partial=-1 affix=NULL starflags=0 opts=NULL
71 internal_search_find: file="NULL"
72 type=pgsql key="delete from them where id='nonexist';" opts=NULL
73 database lookup required for delete from them where id='nonexist';
74 PostgreSQL query: "delete from them where id='nonexist';" opts 'NULL'
75 PGSQL using cached connection for localhost:1223/test/CALLER
76 PGSQL: command does not return any data but was successful. Rows affected: 0
77 lookup forced cache cleanup
79 search_open: pgsql "NULL"
81 search_find: file="NULL"
82 key="select * from them where id='quote2';" partial=-1 affix=NULL starflags=0 opts=NULL
84 internal_search_find: file="NULL"
85 type=pgsql key="select * from them where id='quote2';" opts=NULL
86 database lookup required for select * from them where id='quote2';
87 PostgreSQL query: "select * from them where id='quote2';" opts 'NULL'
88 PGSQL using cached connection for localhost:1223/test/CALLER
89 creating new cache entry
90 lookup yielded: name="\"stquot" id=quote2
91 search_open: pgsql "NULL"
93 search_find: file="NULL"
94 key="select * from them where id='newline';" partial=-1 affix=NULL starflags=0 opts=NULL
96 internal_search_find: file="NULL"
97 type=pgsql key="select * from them where id='newline';" opts=NULL
98 database lookup required for select * from them where id='newline';
99 PostgreSQL query: "select * from them where id='newline';" opts 'NULL'
100 PGSQL using cached connection for localhost:1223/test/CALLER
101 creating new cache entry
102 lookup yielded: name="before
\r
104 search_open: pgsql "NULL"
106 search_find: file="NULL"
107 key="select * from them where id='tab';" partial=-1 affix=NULL starflags=0 opts=NULL
109 internal_search_find: file="NULL"
110 type=pgsql key="select * from them where id='tab';" opts=NULL
111 database lookup required for select * from them where id='tab';
112 PostgreSQL query: "select * from them where id='tab';" opts 'NULL'
113 PGSQL using cached connection for localhost:1223/test/CALLER
114 creating new cache entry
115 lookup yielded: name="x x" id=tab
116 search_open: pgsql "NULL"
118 search_find: file="NULL"
119 key="select * from them where name='''stquot';" partial=-1 affix=NULL starflags=0 opts=NULL
121 internal_search_find: file="NULL"
122 type=pgsql key="select * from them where name='''stquot';" opts=NULL
123 database lookup required for select * from them where name='''stquot';
124 PostgreSQL query: "select * from them where name='''stquot';" opts 'NULL'
125 PGSQL using cached connection for localhost:1223/test/CALLER
126 creating new cache entry
127 lookup yielded: name='stquot id=quote1
128 search_open: pgsql "NULL"
130 search_find: file="NULL"
131 key="servers=x:localhost; select name from them where id='ph10';" partial=-1 affix=NULL starflags=0 opts=NULL
133 internal_search_find: file="NULL"
134 type=pgsql key="servers=x:localhost; select name from them where id='ph10';" opts=NULL
135 database lookup required for servers=x:localhost; select name from them where id='ph10';
136 PostgreSQL query: "servers=x:localhost; select name from them where id='ph10';" opts 'NULL'
137 lookup deferred: PostgreSQL server "x" not found in pgsql_servers
138 search_open: pgsql "NULL"
140 search_find: file="NULL"
141 key="servers=localhost::1223:x; select name from them where id='ph10';" partial=-1 affix=NULL starflags=0 opts=NULL
143 internal_search_find: file="NULL"
144 type=pgsql key="servers=localhost::1223:x; select name from them where id='ph10';" opts=NULL
145 database lookup required for servers=localhost::1223:x; select name from them where id='ph10';
146 PostgreSQL query: "servers=localhost::1223:x; select name from them where id='ph10';" opts 'NULL'
147 PGSQL using cached connection for localhost:1223/test/CALLER
148 creating new cache entry
149 lookup yielded: Philip Hazel
150 search_open: pgsql "NULL"
152 search_find: file="NULL"
153 key="servers=localhost::1223/test/CALLER/:x; select name from them where id='ph10';" partial=-1 affix=NULL starflags=0 opts=NULL
155 internal_search_find: file="NULL"
156 type=pgsql key="servers=localhost::1223/test/CALLER/:x; select name from them where id='ph10';" opts=NULL
157 database lookup required for servers=localhost::1223/test/CALLER/:x; select name from them where id='ph10';
158 PostgreSQL query: "servers=localhost::1223/test/CALLER/:x; select name from them where id='ph10';" opts 'NULL'
159 PGSQL using cached connection for localhost:1223/test/CALLER
160 creating new cache entry
161 lookup yielded: Philip Hazel
162 search_open: pgsql "NULL"
164 search_find: file="NULL"
165 key="servers=(TESTSUITE/pgsql/.s.PGSQL.1223)/test/CALLER/:x; select name from them where id='ph10';" partial=-1 affix=NULL starflags=0 opts=NULL
167 internal_search_find: file="NULL"
168 type=pgsql key="servers=(TESTSUITE/pgsql/.s.PGSQL.1223)/test/CALLER/:x; select name from them where id='ph10';" opts=NULL
169 database lookup required for servers=(TESTSUITE/pgsql/.s.PGSQL.1223)/test/CALLER/:x; select name from them where id='ph10';
170 PostgreSQL query: "servers=(TESTSUITE/pgsql/.s.PGSQL.1223)/test/CALLER/:x; select name from them where id='ph10';" opts 'NULL'
171 PGSQL new connection: socket=TESTSUITE/pgsql/.s.PGSQL.1223 database=test user=CALLER
172 creating new cache entry
173 lookup yielded: Philip Hazel
174 search_open: pgsql "NULL"
176 search_find: file="NULL"
177 key="SELECT name FROM them WHERE id IN ('ph10', 'aaaa');" partial=-1 affix=NULL starflags=0 opts=NULL
179 internal_search_find: file="NULL"
180 type=pgsql key="SELECT name FROM them WHERE id IN ('ph10', 'aaaa');" opts=NULL
181 database lookup required for SELECT name FROM them WHERE id IN ('ph10', 'aaaa');
182 PostgreSQL query: "SELECT name FROM them WHERE id IN ('ph10', 'aaaa');" opts 'NULL'
183 PGSQL using cached connection for localhost:1223/test/CALLER
184 creating new cache entry
185 lookup yielded: Philip Hazel
187 search_open: pgsql "NULL"
189 search_find: file="NULL"
190 key="SELECT * FROM them WHERE id IN ('ph10', 'aaaa');" partial=-1 affix=NULL starflags=0 opts=NULL
192 internal_search_find: file="NULL"
193 type=pgsql key="SELECT * FROM them WHERE id IN ('ph10', 'aaaa');" opts=NULL
194 database lookup required for SELECT * FROM them WHERE id IN ('ph10', 'aaaa');
195 PostgreSQL query: "SELECT * FROM them WHERE id IN ('ph10', 'aaaa');" opts 'NULL'
196 PGSQL using cached connection for localhost:1223/test/CALLER
197 creating new cache entry
198 lookup yielded: name="Philip Hazel" id=ph10
199 name=Aristotle id=aaaa
200 search_open: pgsql "NULL"
202 search_find: file="NULL"
203 key="delete from them where id='aaaa'" partial=-1 affix=NULL starflags=0 opts=NULL
205 internal_search_find: file="NULL"
206 type=pgsql key="delete from them where id='aaaa'" opts=NULL
207 database lookup required for delete from them where id='aaaa'
208 PostgreSQL query: "delete from them where id='aaaa'" opts 'NULL'
209 PGSQL using cached connection for localhost:1223/test/CALLER
210 PGSQL: command does not return any data but was successful. Rows affected: 1
211 lookup forced cache cleanup
214 close PGSQL connection: (TESTSUITE/pgsql/.s.PGSQL.1223)/test/CALLER
215 close PGSQL connection: localhost:1223/test/CALLER
216 >>>>>>>>>>>>>>>> Exim pid=pppp (fresh-exec) terminating with rc=0 >>>>>>>>>>>>>>>>
217 Exim version x.yz ....
218 changed uid/gid: forcing real = effective
219 uid=uuuu gid=CALLER_GID pid=pppp
220 configuration file is TESTSUITE/test-config
222 changed uid/gid: privilege not needed
223 uid=EXIM_UID gid=EXIM_GID pid=pppp
224 seeking password data for user "CALLER": cache not available
225 getpwnam() succeeded uid=CALLER_UID gid=CALLER_GID
226 originator: uid=CALLER_UID gid=CALLER_GID login=CALLER name=CALLER_NAME
227 sender address = CALLER@myhost.test.ex
228 sender_fullhost = [10.0.0.0]
229 sender_rcvhost = [10.0.0.0]
230 host in hosts_connection_nolog? no (option unset)
231 LOG: smtp_connection MAIN
232 SMTP connection from [10.0.0.0]
233 host in host_lookup? no (option unset)
234 set_process_info: pppp handling incoming connection from [10.0.0.0]
235 host in host_reject_connection? no (option unset)
236 host in sender_unqualified_hosts? no (option unset)
237 host in recipient_unqualified_hosts? no (option unset)
238 host in helo_verify_hosts? no (option unset)
239 host in helo_try_verify_hosts? no (option unset)
240 host in helo_accept_junk_hosts? no (option unset)
241 SMTP>> 220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000
242 smtp_setup_msg entered
244 test in helo_lookup_domains? no (end of list)
245 sender_fullhost = (test) [10.0.0.0]
246 sender_rcvhost = [10.0.0.0] (helo=test)
247 set_process_info: pppp handling incoming connection from (test) [10.0.0.0]
248 SMTP>> 250 myhost.test.ex Hello test [10.0.0.0]
249 SMTP<< mail from:<a@b>
250 spool directory space = nnnnnK inodes = nnnnn check_space = 10240K inodes = 100 msg_size = 0
251 log directory space = nnnnnK inodes = nnnnn check_space = 10240K inodes = 100
254 using ACL "check_recipient"
255 processing "warn" (TESTSUITE/test-config 27)
256 search_open: pgsql "NULL"
257 search_find: file="NULL"
258 key="select name from them where id = 'c'" partial=-1 affix=NULL starflags=0 opts=NULL
260 internal_search_find: file="NULL"
261 type=pgsql key="select name from them where id = 'c'" opts=NULL
262 database lookup required for select name from them where id = 'c'
263 (tainted, quoted:pgsql)
264 PostgreSQL query: "select name from them where id = 'c'" opts 'NULL'
265 PGSQL new connection: host=localhost port=1223 database=test user=CALLER
267 creating new cache entry
269 check set acl_m0 = ok: ${lookup pgsql {select name from them where id = '${quote_pgsql:$local_part}'}}
271 search_open: pgsql "NULL"
273 search_find: file="NULL"
274 key="select name from them where id = 'c'" partial=-1 affix=NULL starflags=0 opts="cache=no_rd"
276 internal_search_find: file="NULL"
277 type=pgsql key="select name from them where id = 'c'" opts=NULL
278 cached data found but no_rd option set; database lookup required for select name from them where id = 'c'
281 tainted search query is not properly quoted (ACL warn, TESTSUITE/test-config 27): select name from them where id = 'c'
282 search_type NN (pgsql) quoting -1 (none)
283 PostgreSQL query: "select name from them where id = 'c'" opts 'NULL'
284 PGSQL using cached connection for localhost:1223/test/CALLER
286 replacing old cache entry
288 check set acl_m0 = FAIL: ${lookup pgsql,cache=no_rd {select name from them where id = '$local_part'}}
290 warn: condition test succeeded in ACL "check_recipient"
291 processing "warn" (TESTSUITE/test-config 32)
292 search_open: pgsql "NULL"
294 search_find: file="NULL"
295 key="select name from them where id = 'c'" partial=-1 affix=NULL starflags=0 opts="servers=localhost::1223/test/CALLER/"
297 internal_search_find: file="NULL"
298 type=pgsql key="select name from them where id = 'c'" opts="servers=localhost::1223/test/CALLER/"
299 cached data found but wrong opts; database lookup required for select name from them where id = 'c'
300 (tainted, quoted:pgsql)
301 PostgreSQL query: "select name from them where id = 'c'" opts 'servers=localhost::1223/test/CALLER/'
302 PGSQL using cached connection for localhost:1223/test/CALLER
304 replacing old cache entry
306 check set acl_m0 = ok: ${lookup pgsql,servers=localhost::1223/test/CALLER/ {select name from them where id = '${quote_pgsql:$local_part}'}}
308 search_open: pgsql "NULL"
310 search_find: file="NULL"
311 key="select name from them where id = 'c'" partial=-1 affix=NULL starflags=0 opts="servers=localhost::1223"
313 internal_search_find: file="NULL"
314 type=pgsql key="select name from them where id = 'c'" opts="servers=localhost::1223"
315 cached data found but wrong opts; database lookup required for select name from them where id = 'c'
316 (tainted, quoted:pgsql)
317 PostgreSQL query: "select name from them where id = 'c'" opts 'servers=localhost::1223'
318 PGSQL using cached connection for localhost:1223/test/CALLER
320 replacing old cache entry
322 check set acl_m0 = ok: ${lookup pgsql,servers=localhost::1223 {select name from them where id = '${quote_pgsql:$local_part}'}}
324 search_open: pgsql "NULL"
326 search_find: file="NULL"
327 key="servers=localhost::1223/test/CALLER/; select name from them where id = 'c'" partial=-1 affix=NULL starflags=0 opts=NULL
329 internal_search_find: file="NULL"
330 type=pgsql key="servers=localhost::1223/test/CALLER/; select name from them where id = 'c'" opts=NULL
331 database lookup required for servers=localhost::1223/test/CALLER/; select name from them where id = 'c'
332 (tainted, quoted:pgsql)
333 PostgreSQL query: "servers=localhost::1223/test/CALLER/; select name from them where id = 'c'" opts 'NULL'
334 lookup deferred: PostgreSQL server "localhost:1223/test/CALLER/" is tainted
335 warn: condition test deferred in ACL "check_recipient"
337 H=(test) [10.0.0.0] Warning: ACL "warn" statement skipped: condition test deferred: PostgreSQL server "localhost:1223/test/CALLER/" is tainted
338 processing "warn" (TESTSUITE/test-config 41)
339 check set acl_m0 = ok: hostlist
340 check hosts = net-pgsql;select * from them where id='${quote_pgsql:$local_part}'
341 search_open: pgsql "NULL"
343 search_find: file="NULL"
344 key="select * from them where id='c'" partial=-1 affix=NULL starflags=0 opts=NULL
346 internal_search_find: file="NULL"
347 type=pgsql key="select * from them where id='c'" opts=NULL
348 database lookup required for select * from them where id='c'
349 (tainted, quoted:pgsql)
350 PostgreSQL query: "select * from them where id='c'" opts 'NULL'
351 PGSQL using cached connection for localhost:1223/test/CALLER
353 creating new cache entry
355 host in "net-pgsql;select * from them where id='c'"? no (end of list)
356 warn: condition test failed in ACL "check_recipient"
357 processing "warn" (TESTSUITE/test-config 44)
358 check set acl_m0 = FAIL: hostlist
359 check hosts = <& net-pgsql;servers=localhost::1223/test/CALLER/; select * from them where id='${quote_pgsql:$local_part}'
360 search_open: pgsql "NULL"
362 search_find: file="NULL"
363 key="servers=localhost::1223/test/CALLER/; select * from them where id='c'" partial=-1 affix=NULL starflags=0 opts=NULL
365 internal_search_find: file="NULL"
366 type=pgsql key="servers=localhost::1223/test/CALLER/; select * from them where id='c'" opts=NULL
367 database lookup required for servers=localhost::1223/test/CALLER/; select * from them where id='c'
368 (tainted, quoted:pgsql)
369 PostgreSQL query: "servers=localhost::1223/test/CALLER/; select * from them where id='c'" opts 'NULL'
370 lookup deferred: PostgreSQL server "localhost:1223/test/CALLER/" is tainted
371 host in "<& net-pgsql;servers=localhost::1223/test/CALLER/; select * from them where id='c'"? list match deferred for net-pgsql;servers=localhost::1223/test/CALLER/; select * from them where id='c'
372 warn: condition test deferred in ACL "check_recipient"
374 H=(test) [10.0.0.0] Warning: ACL "warn" statement skipped: condition test deferred: PostgreSQL server "localhost:1223/test/CALLER/" is tainted
375 processing "warn" (TESTSUITE/test-config 49)
376 check set acl_m0 = FAIL: hostlist
377 check hosts = <& net-pgsql,servers=localhost::1223/test/CALLER/; select * from them where id='${quote_pgsql:$local_part}'
378 search_open: pgsql "NULL"
380 search_find: file="NULL"
381 key=" select * from them where id='c'" partial=-1 affix=NULL starflags=0 opts="servers=localhost::1223/test/CALLER/"
383 internal_search_find: file="NULL"
384 type=pgsql key=" select * from them where id='c'" opts="servers=localhost::1223/test/CALLER/"
385 database lookup required for select * from them where id='c'
386 (tainted, quoted:pgsql)
387 PostgreSQL query: " select * from them where id='c'" opts 'servers=localhost::1223/test/CALLER/'
388 lookup deferred: PostgreSQL server "localhost:1223/test/CALLER/" is tainted
389 host in "<& net-pgsql,servers=localhost::1223/test/CALLER/; select * from them where id='c'"? list match deferred for net-pgsql,servers=localhost::1223/test/CALLER/; select * from them where id='c'
390 warn: condition test deferred in ACL "check_recipient"
392 H=(test) [10.0.0.0] Warning: ACL "warn" statement skipped: condition test deferred: PostgreSQL server "localhost:1223/test/CALLER/" is tainted
393 processing "accept" (TESTSUITE/test-config 52)
394 check domains = +local_domains
395 d in "@"? no (end of list)
396 d in "+local_domains"? no (end of list)
397 accept: condition test failed in ACL "check_recipient"
398 processing "accept" (TESTSUITE/test-config 53)
399 check hosts = +relay_hosts
400 search_open: pgsql "NULL"
402 search_find: file="NULL"
403 key="select * from them where id='10.0.0.0'" partial=-1 affix=NULL starflags=0 opts=NULL
405 internal_search_find: file="NULL"
406 type=pgsql key="select * from them where id='10.0.0.0'" opts=NULL
407 database lookup required for select * from them where id='10.0.0.0'
408 PostgreSQL query: "select * from them where id='10.0.0.0'" opts 'NULL'
409 PGSQL using cached connection for localhost:1223/test/CALLER
411 creating new cache entry
413 host in "net-pgsql;select * from them where id='10.0.0.0'"? no (end of list)
414 host in "+relay_hosts"? no (end of list)
415 accept: condition test failed in ACL "check_recipient"
416 processing "deny" (TESTSUITE/test-config 54)
417 message: relay not permitted
418 deny: condition test succeeded in ACL "check_recipient"
419 end of ACL "check_recipient": DENY
420 SMTP>> 550 relay not permitted
422 H=(test) [10.0.0.0] F=<a@b> rejected RCPT <c@d>: relay not permitted
424 using ACL "check_recipient"
425 processing "warn" (TESTSUITE/test-config 27)
426 search_open: pgsql "NULL"
428 search_find: file="NULL"
429 key="select name from them where id = 'c'" partial=-1 affix=NULL starflags=0 opts=NULL
431 internal_search_find: file="NULL"
432 type=pgsql key="select name from them where id = 'c'" opts=NULL
433 cached data found but wrong opts; database lookup required for select name from them where id = 'c'
434 (tainted, quoted:pgsql)
435 PostgreSQL query: "select name from them where id = 'c'" opts 'NULL'
436 PGSQL using cached connection for localhost:1223/test/CALLER
438 replacing old cache entry
440 check set acl_m0 = ok: ${lookup pgsql {select name from them where id = '${quote_pgsql:$local_part}'}}
442 search_open: pgsql "NULL"
444 search_find: file="NULL"
445 key="select name from them where id = 'c'" partial=-1 affix=NULL starflags=0 opts="cache=no_rd"
447 internal_search_find: file="NULL"
448 type=pgsql key="select name from them where id = 'c'" opts=NULL
449 cached data found but no_rd option set; database lookup required for select name from them where id = 'c'
452 tainted search query is not properly quoted (ACL warn, TESTSUITE/test-config 27): select name from them where id = 'c'
453 search_type NN (pgsql) quoting -1 (none)
454 PostgreSQL query: "select name from them where id = 'c'" opts 'NULL'
455 PGSQL using cached connection for localhost:1223/test/CALLER
457 replacing old cache entry
459 check set acl_m0 = FAIL: ${lookup pgsql,cache=no_rd {select name from them where id = '$local_part'}}
461 warn: condition test succeeded in ACL "check_recipient"
462 processing "warn" (TESTSUITE/test-config 32)
463 search_open: pgsql "NULL"
465 search_find: file="NULL"
466 key="select name from them where id = 'c'" partial=-1 affix=NULL starflags=0 opts="servers=localhost::1223/test/CALLER/"
468 internal_search_find: file="NULL"
469 type=pgsql key="select name from them where id = 'c'" opts="servers=localhost::1223/test/CALLER/"
470 cached data found but wrong opts; database lookup required for select name from them where id = 'c'
471 (tainted, quoted:pgsql)
472 PostgreSQL query: "select name from them where id = 'c'" opts 'servers=localhost::1223/test/CALLER/'
473 PGSQL using cached connection for localhost:1223/test/CALLER
475 replacing old cache entry
477 check set acl_m0 = ok: ${lookup pgsql,servers=localhost::1223/test/CALLER/ {select name from them where id = '${quote_pgsql:$local_part}'}}
479 search_open: pgsql "NULL"
481 search_find: file="NULL"
482 key="select name from them where id = 'c'" partial=-1 affix=NULL starflags=0 opts="servers=localhost::1223"
484 internal_search_find: file="NULL"
485 type=pgsql key="select name from them where id = 'c'" opts="servers=localhost::1223"
486 cached data found but wrong opts; database lookup required for select name from them where id = 'c'
487 (tainted, quoted:pgsql)
488 PostgreSQL query: "select name from them where id = 'c'" opts 'servers=localhost::1223'
489 PGSQL using cached connection for localhost:1223/test/CALLER
491 replacing old cache entry
493 check set acl_m0 = ok: ${lookup pgsql,servers=localhost::1223 {select name from them where id = '${quote_pgsql:$local_part}'}}
495 search_open: pgsql "NULL"
497 search_find: file="NULL"
498 key="servers=localhost::1223/test/CALLER/; select name from them where id = 'c'" partial=-1 affix=NULL starflags=0 opts=NULL
500 internal_search_find: file="NULL"
501 type=pgsql key="servers=localhost::1223/test/CALLER/; select name from them where id = 'c'" opts=NULL
502 database lookup required for servers=localhost::1223/test/CALLER/; select name from them where id = 'c'
503 (tainted, quoted:pgsql)
504 PostgreSQL query: "servers=localhost::1223/test/CALLER/; select name from them where id = 'c'" opts 'NULL'
505 lookup deferred: PostgreSQL server "localhost:1223/test/CALLER/" is tainted
506 warn: condition test deferred in ACL "check_recipient"
508 H=(test) [10.0.0.0] Warning: ACL "warn" statement skipped: condition test deferred: PostgreSQL server "localhost:1223/test/CALLER/" is tainted
509 processing "warn" (TESTSUITE/test-config 41)
510 check set acl_m0 = ok: hostlist
511 check hosts = net-pgsql;select * from them where id='${quote_pgsql:$local_part}'
512 search_open: pgsql "NULL"
514 search_find: file="NULL"
515 key="select * from them where id='c'" partial=-1 affix=NULL starflags=0 opts=NULL
517 internal_search_find: file="NULL"
518 type=pgsql key="select * from them where id='c'" opts=NULL
519 cached data used for lookup of select * from them where id='c'
521 host in "net-pgsql;select * from them where id='c'"? no (end of list)
522 warn: condition test failed in ACL "check_recipient"
523 processing "warn" (TESTSUITE/test-config 44)
524 check set acl_m0 = FAIL: hostlist
525 check hosts = <& net-pgsql;servers=localhost::1223/test/CALLER/; select * from them where id='${quote_pgsql:$local_part}'
526 search_open: pgsql "NULL"
528 search_find: file="NULL"
529 key="servers=localhost::1223/test/CALLER/; select * from them where id='c'" partial=-1 affix=NULL starflags=0 opts=NULL
531 internal_search_find: file="NULL"
532 type=pgsql key="servers=localhost::1223/test/CALLER/; select * from them where id='c'" opts=NULL
533 database lookup required for servers=localhost::1223/test/CALLER/; select * from them where id='c'
534 (tainted, quoted:pgsql)
535 PostgreSQL query: "servers=localhost::1223/test/CALLER/; select * from them where id='c'" opts 'NULL'
536 lookup deferred: PostgreSQL server "localhost:1223/test/CALLER/" is tainted
537 host in "<& net-pgsql;servers=localhost::1223/test/CALLER/; select * from them where id='c'"? list match deferred for net-pgsql;servers=localhost::1223/test/CALLER/; select * from them where id='c'
538 warn: condition test deferred in ACL "check_recipient"
540 H=(test) [10.0.0.0] Warning: ACL "warn" statement skipped: condition test deferred: PostgreSQL server "localhost:1223/test/CALLER/" is tainted
541 processing "warn" (TESTSUITE/test-config 49)
542 check set acl_m0 = FAIL: hostlist
543 check hosts = <& net-pgsql,servers=localhost::1223/test/CALLER/; select * from them where id='${quote_pgsql:$local_part}'
544 search_open: pgsql "NULL"
546 search_find: file="NULL"
547 key=" select * from them where id='c'" partial=-1 affix=NULL starflags=0 opts="servers=localhost::1223/test/CALLER/"
549 internal_search_find: file="NULL"
550 type=pgsql key=" select * from them where id='c'" opts="servers=localhost::1223/test/CALLER/"
551 database lookup required for select * from them where id='c'
552 (tainted, quoted:pgsql)
553 PostgreSQL query: " select * from them where id='c'" opts 'servers=localhost::1223/test/CALLER/'
554 lookup deferred: PostgreSQL server "localhost:1223/test/CALLER/" is tainted
555 host in "<& net-pgsql,servers=localhost::1223/test/CALLER/; select * from them where id='c'"? list match deferred for net-pgsql,servers=localhost::1223/test/CALLER/; select * from them where id='c'
556 warn: condition test deferred in ACL "check_recipient"
558 H=(test) [10.0.0.0] Warning: ACL "warn" statement skipped: condition test deferred: PostgreSQL server "localhost:1223/test/CALLER/" is tainted
559 processing "accept" (TESTSUITE/test-config 52)
560 check domains = +local_domains
561 d in "@"? no (end of list)
562 d in "+local_domains"? no (end of list)
563 accept: condition test failed in ACL "check_recipient"
564 processing "accept" (TESTSUITE/test-config 53)
565 check hosts = +relay_hosts
566 search_open: pgsql "NULL"
568 search_find: file="NULL"
569 key="select * from them where id='10.0.0.0'" partial=-1 affix=NULL starflags=0 opts=NULL
571 internal_search_find: file="NULL"
572 type=pgsql key="select * from them where id='10.0.0.0'" opts=NULL
573 cached data used for lookup of select * from them where id='10.0.0.0'
575 host in "net-pgsql;select * from them where id='10.0.0.0'"? no (end of list)
576 host in "+relay_hosts"? no (end of list)
577 accept: condition test failed in ACL "check_recipient"
578 processing "deny" (TESTSUITE/test-config 54)
579 message: relay not permitted
580 deny: condition test succeeded in ACL "check_recipient"
581 end of ACL "check_recipient": DENY
582 SMTP>> 550 relay not permitted
584 H=(test) [10.0.0.0] F=<a@b> rejected RCPT <c@d>: relay not permitted
586 SMTP>> 221 myhost.test.ex closing connection
587 LOG: smtp_connection MAIN
588 SMTP connection from (test) [10.0.0.0] closed by QUIT
590 close PGSQL connection: localhost:1223/test/CALLER
591 >>>>>>>>>>>>>>>> Exim pid=pppp (fresh-exec) terminating with rc=0 >>>>>>>>>>>>>>>>
592 Exim version x.yz ....
593 changed uid/gid: forcing real = effective
594 uid=uuuu gid=CALLER_GID pid=pppp
595 configuration file is TESTSUITE/test-config
597 changed uid/gid: privilege not needed
598 uid=EXIM_UID gid=EXIM_GID pid=pppp
599 seeking password data for user "CALLER": cache not available
600 getpwnam() succeeded uid=CALLER_UID gid=CALLER_GID
601 originator: uid=CALLER_UID gid=CALLER_GID login=CALLER name=CALLER_NAME
602 sender address = CALLER@myhost.test.ex
603 set_process_info: pppp accepting a local non-SMTP message from <CALLER@myhost.test.ex>
604 spool directory space = nnnnnK inodes = nnnnn check_space = 10240K inodes = 100 msg_size = 0
605 log directory space = nnnnnK inodes = nnnnn check_space = 10240K inodes = 100
606 Sender: CALLER@myhost.test.ex
612 qualify & rewrite recipients list
615 rewrite_one_header: type=F:
616 From: CALLER_NAME <CALLER@myhost.test.ex>
618 >>Headers after rewriting and local additions:
619 I Message-Id: <E10HmaX-0005vi-00@myhost.test.ex>
620 F From: CALLER_NAME <CALLER@myhost.test.ex>
621 Date: Tue, 2 Mar 1999 09:44:33 +0000
623 Data file name: TESTSUITE/spool//input//10HmaX-0005vi-00-D
624 Data file written for message 10HmaX-0005vi-00
625 >>Generated Received: header line
626 P Received: from CALLER by myhost.test.ex with local (Exim x.yz)
627 (envelope-from <CALLER@myhost.test.ex>)
629 for CALLER@myhost.test.ex;
630 Tue, 2 Mar 1999 09:44:33 +0000
631 Writing spool header file: TESTSUITE/spool//input//hdr.10HmaX-0005vi-00
632 DSN: **** SPOOL_OUT - address: <CALLER@myhost.test.ex> errorsto: <NULL> orcpt: <NULL> dsn_flags: 0x0
633 Renaming spool header file: TESTSUITE/spool//input//10HmaX-0005vi-00-H
634 Size of headers = sss
636 <= CALLER@myhost.test.ex U=CALLER P=local S=sss
637 created log directory TESTSUITE/spool/log
639 exec TESTSUITE/eximdir/exim -DEXIM_PATH=TESTSUITE/eximdir/exim -C TESTSUITE/test-config -d=0xf7715cfd -MCd local-accept-delivery -odi -Mc 10HmaX-0005vi-00
640 Exim version x.yz ....
641 changed uid/gid: forcing real = effective
642 uid=uuuu gid=EXIM_GID pid=pppp
643 configuration file is TESTSUITE/test-config
646 dropping to exim gid; retaining priv uid
647 seeking password data for user "CALLER": cache not available
648 getpwnam() succeeded uid=CALLER_UID gid=CALLER_GID
649 set_process_info: pppp delivering specified messages
650 set_process_info: pppp delivering 10HmaX-0005vi-00
651 Trying spool file TESTSUITE/spool//input//10HmaX-0005vi-00-D
652 reading spool file 10HmaX-0005vi-00-H
653 user=CALLER uid=CALLER_UID gid=CALLER_GID sender=CALLER@myhost.test.ex
654 sender_local=1 ident=CALLER
657 ---- End of tree ----
659 **** SPOOL_IN - No additional fields
660 body_linecount=1 message_linecount=8
661 DSN: set orcpt: flags: 0x0
662 Delivery address list:
663 CALLER@myhost.test.ex
664 locking TESTSUITE/spool/db/retry.lockfile
665 locked TESTSUITE/spool/db/retry.lockfile
666 EXIM_DBOPEN: file <TESTSUITE/spool/db/retry> dir <TESTSUITE/spool/db> flags=O_RDONLY
667 returned from EXIM_DBOPEN: (nil)
668 failed to open DB file TESTSUITE/spool/db/retry: No such file or directory
669 no retry data available
670 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
671 Considering: CALLER@myhost.test.ex
672 unique = CALLER@myhost.test.ex
673 no domain retry record
674 no address retry record
675 CALLER@myhost.test.ex: queued for routing
676 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
677 routing CALLER@myhost.test.ex
678 --------> r1 router <--------
679 local_part=CALLER domain=myhost.test.ex
680 processing address_data
681 search_open: pgsql "NULL"
682 search_find: file="NULL"
683 key="select name from them where id='ph10'" partial=-1 affix=NULL starflags=0 opts=NULL
685 internal_search_find: file="NULL"
686 type=pgsql key="select name from them where id='ph10'" opts=NULL
687 database lookup required for select name from them where id='ph10'
688 PostgreSQL query: "select name from them where id='ph10'" opts 'NULL'
689 PGSQL new connection: host=localhost port=1223 database=test user=CALLER
690 creating new cache entry
691 lookup yielded: Philip Hazel
693 r1 router called for CALLER@myhost.test.ex
694 domain = myhost.test.ex
696 queued for t1 transport: local_part = CALLER
697 domain = myhost.test.ex
699 domain_data=NULL local_part_data=NULL
701 envelope to: CALLER@myhost.test.ex
703 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
706 CALLER@myhost.test.ex
711 close PGSQL connection: localhost:1223/test/CALLER
712 >>>>>>>>>>>>>>>> Local deliveries >>>>>>>>>>>>>>>>
713 --------> CALLER@myhost.test.ex <--------
714 locking TESTSUITE/spool/db/retry.lockfile
715 locked TESTSUITE/spool/db/retry.lockfile
716 EXIM_DBOPEN: file <TESTSUITE/spool/db/retry> dir <TESTSUITE/spool/db> flags=O_RDONLY
717 returned from EXIM_DBOPEN: (nil)
718 failed to open DB file TESTSUITE/spool/db/retry: No such file or directory
719 no retry data available
721 changed uid/gid: local delivery to CALLER <CALLER@myhost.test.ex> transport=t1
722 uid=CALLER_UID gid=CALLER_GID pid=pppp
724 set_process_info: pppp delivering 10HmaX-0005vi-00 to CALLER using t1
725 appendfile transport entered
726 search_open: pgsql "NULL"
727 search_find: file="NULL"
728 key="select id from them where id='ph10'" partial=-1 affix=NULL starflags=0 opts=NULL
730 internal_search_find: file="NULL"
731 type=pgsql key="select id from them where id='ph10'" opts=NULL
732 database lookup required for select id from them where id='ph10'
733 PostgreSQL query: "select id from them where id='ph10'" opts 'NULL'
734 PGSQL new connection: host=localhost port=1223 database=test user=CALLER
735 creating new cache entry
737 appendfile: mode=600 notify_comsat=0 quota=0 warning=0
738 file=TESTSUITE/test-mail/ph10 format=unix
739 message_prefix=From ${if def:return_path{$return_path}{MAILER-DAEMON}} ${tod_bsdinbox}\n
741 maildir_use_size_file=no
742 locking by lockfile fcntl
743 lock name: TESTSUITE/test-mail/ph10.lock
744 hitch name: TESTSUITE/test-mail/ph10.lock.test.ex.dddddddd.pppppppp
746 mailbox TESTSUITE/test-mail/ph10 is locked
747 writing to file TESTSUITE/test-mail/ph10
748 writing data block fd=dddd size=sss timeout=0
749 cannot use sendfile for body: spoolfile not wireformat
750 writing data block fd=dddd size=sss timeout=0
751 writing data block fd=dddd size=sss timeout=0
752 appendfile yields 0 with errno=dd more_errno=dd
754 close PGSQL connection: localhost:1223/test/CALLER
755 journalling CALLER@myhost.test.ex
756 t1 transport returned OK for CALLER@myhost.test.ex
757 post-process CALLER@myhost.test.ex (0)
758 CALLER@myhost.test.ex delivered
760 => CALLER <CALLER@myhost.test.ex> R=r1 T=t1
761 >>>>>>>>>>>>>>>> deliveries are done >>>>>>>>>>>>>>>>
762 changed uid/gid: post-delivery tidying
763 uid=EXIM_UID gid=EXIM_GID pid=pppp
764 set_process_info: pppp tidying up after delivering 10HmaX-0005vi-00
765 Processing retry items
767 CALLER@myhost.test.ex: no retry items
770 end of retry processing
771 DSN: processing router : r1
772 DSN: processing successful delivery address: CALLER@myhost.test.ex
773 DSN: Sender_address: CALLER@myhost.test.ex
774 DSN: orcpt: NULL flags: 0x0
775 DSN: envid: NULL ret: 0
776 DSN: Final recipient: CALLER@myhost.test.ex
777 DSN: Remote SMTP server supports DSN: 0
778 DSN: not sending DSN success message
781 end delivery of 10HmaX-0005vi-00
784 >>>>>>>>>>>>>>>> Exim pid=pppp (local-accept-delivery) terminating with rc=0 >>>>>>>>>>>>>>>>
786 >>>>>>>>>>>>>>>> Exim pid=pppp (fresh-exec) terminating with rc=0 >>>>>>>>>>>>>>>>
787 Exim version x.yz ....
788 configuration file is TESTSUITE/test-config
790 dropping to exim gid; retaining priv uid
791 search_open: pgsql "NULL"
792 search_find: file="NULL"
793 key="select name from them where id='ph10';" partial=-1 affix=NULL starflags=0 opts=NULL
795 internal_search_find: file="NULL"
796 type=pgsql key="select name from them where id='ph10';" opts=NULL
797 database lookup required for select name from them where id='ph10';
798 PostgreSQL query: "select name from them where id='ph10';" opts 'NULL'
799 PGSQL new connection: socket=TESTSUITE/pgsql/.s.PGSQL.1223 database=test user=CALLER
800 creating new cache entry
801 lookup yielded: Philip Hazel
803 close PGSQL connection: (TESTSUITE/pgsql/.s.PGSQL.1223)/test/CALLER
804 >>>>>>>>>>>>>>>> Exim pid=pppp (fresh-exec) terminating with rc=0 >>>>>>>>>>>>>>>>
806 ******** SERVER ********