Improve queryprogram behaviour when not running as root.
[users/jgh/exim.git] / test / stderr / 9200
1 Exim version x.yz ....
2 configuration file is TESTSUITE/test-config
3 admin user
4 search_open: pgsql "NULL"
5 search_find: file="NULL"
6   key="select name from them where id='CALLER';" partial=-1 affix=NULL starflags=0
7 LRU list:
8 internal_search_find: file="NULL"
9   type=pgsql key="select name from them where id='CALLER';"
10 database lookup required for select name from them where id='CALLER';
11 PGSQL query: select name from them where id='CALLER';
12 PGSQL new connection: host=localhost port= database=test user=CALLER
13 lookup yielded: Philip Hazel
14 search_open: pgsql "NULL"
15   cached open
16 search_find: file="NULL"
17   key="select name from them where id='CALLER';" partial=-1 affix=NULL starflags=0
18 LRU list:
19 internal_search_find: file="NULL"
20   type=pgsql key="select name from them where id='CALLER';"
21 cached data used for lookup of select name from them where id='CALLER';
22 lookup yielded: Philip Hazel
23 search_open: pgsql "NULL"
24   cached open
25 search_find: file="NULL"
26   key="select name from them where id='xxxx';" partial=-1 affix=NULL starflags=0
27 LRU list:
28 internal_search_find: file="NULL"
29   type=pgsql key="select name from them where id='xxxx';"
30 database lookup required for select name from them where id='xxxx';
31 PGSQL query: select name from them where id='xxxx';
32 PGSQL using cached connection for localhost/test/CALLER
33 PGSQL: no data found
34 lookup failed
35 search_open: pgsql "NULL"
36   cached open
37 search_find: file="NULL"
38   key="select name from them where id='nothing';" partial=-1 affix=NULL starflags=0
39 LRU list:
40 internal_search_find: file="NULL"
41   type=pgsql key="select name from them where id='nothing';"
42 database lookup required for select name from them where id='nothing';
43 PGSQL query: select name from them where id='nothing';
44 PGSQL using cached connection for localhost/test/CALLER
45 lookup yielded: 
46 search_open: pgsql "NULL"
47   cached open
48 search_find: file="NULL"
49   key="select id,name from them where id='nothing';" partial=-1 affix=NULL starflags=0
50 LRU list:
51 internal_search_find: file="NULL"
52   type=pgsql key="select id,name from them where id='nothing';"
53 database lookup required for select id,name from them where id='nothing';
54 PGSQL query: select id,name from them where id='nothing';
55 PGSQL using cached connection for localhost/test/CALLER
56 lookup yielded: id=nothing name="" 
57 search_open: pgsql "NULL"
58   cached open
59 search_find: file="NULL"
60   key="delete from them where id='nonexist';" partial=-1 affix=NULL starflags=0
61 LRU list:
62 internal_search_find: file="NULL"
63   type=pgsql key="delete from them where id='nonexist';"
64 database lookup required for delete from them where id='nonexist';
65 PGSQL query: delete from them where id='nonexist';
66 PGSQL using cached connection for localhost/test/CALLER
67 PGSQL: command does not return any data but was successful. Rows affected: 0
68 lookup forced cache cleanup
69 lookup yielded: 0
70 search_open: pgsql "NULL"
71   cached open
72 search_find: file="NULL"
73   key="select * from them where id='quote2';" partial=-1 affix=NULL starflags=0
74 LRU list:
75 internal_search_find: file="NULL"
76   type=pgsql key="select * from them where id='quote2';"
77 database lookup required for select * from them where id='quote2';
78 PGSQL query: select * from them where id='quote2';
79 PGSQL using cached connection for localhost/test/CALLER
80 lookup yielded: name="\"stquot" id=quote2 
81 search_open: pgsql "NULL"
82   cached open
83 search_find: file="NULL"
84   key="select * from them where id='newline';" partial=-1 affix=NULL starflags=0
85 LRU list:
86 internal_search_find: file="NULL"
87   type=pgsql key="select * from them where id='newline';"
88 database lookup required for select * from them where id='newline';
89 PGSQL query: select * from them where id='newline';
90 PGSQL using cached connection for localhost/test/CALLER
91 lookup yielded: name="before
92 after" id=newline 
93 search_open: pgsql "NULL"
94   cached open
95 search_find: file="NULL"
96   key="select * from them where id='tab';" partial=-1 affix=NULL starflags=0
97 LRU list:
98 internal_search_find: file="NULL"
99   type=pgsql key="select * from them where id='tab';"
100 database lookup required for select * from them where id='tab';
101 PGSQL query: select * from them where id='tab';
102 PGSQL using cached connection for localhost/test/CALLER
103 lookup yielded: name="x x" id=tab 
104 search_tidyup called
105 close PGSQL connection: localhost/test/CALLER
106 >>>>>>>>>>>>>>>> Exim pid=pppp terminating with rc=0 >>>>>>>>>>>>>>>>
107 Exim version x.yz ....
108 changed uid/gid: forcing real = effective
109   uid=uuuu gid=CALLER_GID pid=pppp
110 configuration file is TESTSUITE/test-config
111 admin user
112 changed uid/gid: privilege not needed
113   uid=EXIM_UID gid=EXIM_GID pid=pppp
114 originator: uid=CALLER_UID gid=CALLER_GID login=CALLER name=CALLER_NAME
115 sender address = CALLER@myhost.test.ex
116 sender_fullhost = [10.0.0.0]
117 sender_rcvhost = [10.0.0.0]
118 host in hosts_connection_nolog? no (option unset)
119 LOG: smtp_connection MAIN
120   SMTP connection from [10.0.0.0]
121 host in host_lookup? no (option unset)
122 set_process_info: pppp handling incoming connection from [10.0.0.0]
123 host in host_reject_connection? no (option unset)
124 host in sender_unqualified_hosts? no (option unset)
125 host in recipient_unqualified_hosts? no (option unset)
126 host in helo_verify_hosts? no (option unset)
127 host in helo_try_verify_hosts? no (option unset)
128 host in helo_accept_junk_hosts? no (option unset)
129 SMTP>> 220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000\r
130 smtp_setup_msg entered
131 SMTP<< mail from:<a@b>
132 SMTP>> 250 OK\r
133 SMTP<< rcpt to:<c@d>
134 using ACL "check_recipient"
135 processing "accept"
136 check domains = +local_domains
137 d in "@"? no (end of list)
138 d in "+local_domains"? no (end of list)
139 accept: condition test failed
140 processing "accept"
141 check hosts = +relay_hosts
142 search_open: pgsql "NULL"
143 search_find: file="NULL"
144   key="select * from them where id='10.0.0.0'" partial=-1 affix=NULL starflags=0
145 LRU list:
146 internal_search_find: file="NULL"
147   type=pgsql key="select * from them where id='10.0.0.0'"
148 database lookup required for select * from them where id='10.0.0.0'
149 PGSQL query: select * from them where id='10.0.0.0'
150 PGSQL new connection: host=localhost port= database=test user=CALLER
151 PGSQL: no data found
152 lookup failed
153 host in "net-pgsql;select * from them where id='10.0.0.0'"? no (end of list)
154 host in "+relay_hosts"? no (end of list)
155 accept: condition test failed
156 processing "deny"
157 deny: condition test succeeded
158 SMTP>> 550 relay not permitted\r
159 LOG: MAIN REJECT
160   H=[10.0.0.0] F=<a@b> rejected RCPT <c@d>: relay not permitted
161 SMTP<< rcpt to:<c@d>
162 using ACL "check_recipient"
163 processing "accept"
164 check domains = +local_domains
165 d in "@"? no (end of list)
166 d in "+local_domains"? no (end of list)
167 accept: condition test failed
168 processing "accept"
169 check hosts = +relay_hosts
170 search_open: pgsql "NULL"
171   cached open
172 search_find: file="NULL"
173   key="select * from them where id='10.0.0.0'" partial=-1 affix=NULL starflags=0
174 LRU list:
175 internal_search_find: file="NULL"
176   type=pgsql key="select * from them where id='10.0.0.0'"
177 cached data used for lookup of select * from them where id='10.0.0.0'
178 lookup failed
179 host in "net-pgsql;select * from them where id='10.0.0.0'"? no (end of list)
180 host in "+relay_hosts"? no (end of list)
181 accept: condition test failed
182 processing "deny"
183 deny: condition test succeeded
184 SMTP>> 550 relay not permitted\r
185 LOG: MAIN REJECT
186   H=[10.0.0.0] F=<a@b> rejected RCPT <c@d>: relay not permitted
187 SMTP<< quit
188 SMTP>> 221 myhost.test.ex closing connection\r
189 LOG: smtp_connection MAIN
190   SMTP connection from [10.0.0.0] closed by QUIT
191 search_tidyup called
192 close PGSQL connection: localhost/test/CALLER
193 >>>>>>>>>>>>>>>> Exim pid=pppp terminating with rc=0 >>>>>>>>>>>>>>>>
194 Exim version x.yz ....
195 changed uid/gid: forcing real = effective
196   uid=uuuu gid=CALLER_GID pid=pppp
197 configuration file is TESTSUITE/test-config
198 admin user
199 changed uid/gid: privilege not needed
200   uid=EXIM_UID gid=EXIM_GID pid=pppp
201 originator: uid=CALLER_UID gid=CALLER_GID login=CALLER name=CALLER_NAME
202 sender address = CALLER@myhost.test.ex
203 set_process_info: pppp accepting a local non-SMTP message from <CALLER@myhost.test.ex>
204 Sender: CALLER@myhost.test.ex
205 Recipients:
206   CALLER
207 search_tidyup called
208 >>Headers received:
209
210 rewrite_one_header: type=F:
211   From: CALLER_NAME <CALLER@myhost.test.ex>
212 search_tidyup called
213 >>Headers after rewriting and local additions:
214 I Message-Id: <E10HmaX-0005vi-00@myhost.test.ex>
215 F From: CALLER_NAME <CALLER@myhost.test.ex>
216   Date: Tue, 2 Mar 1999 09:44:33 +0000
217
218 Data file written for message 10HmaX-0005vi-00
219 >>Generated Received: header line
220 P Received: from CALLER by myhost.test.ex with local (Exim x.yz)
221         (envelope-from <CALLER@myhost.test.ex>)
222         id 10HmaX-0005vi-00
223         for CALLER@myhost.test.ex; Tue, 2 Mar 1999 09:44:33 +0000
224 calling local_scan(); timeout=300
225 local_scan() returned 0 NULL
226 Writing spool header file
227 Size of headers = sss
228 LOG: MAIN
229   <= CALLER@myhost.test.ex U=CALLER P=local S=sss
230 created log directory TESTSUITE/spool/log
231 search_tidyup called
232 exec TESTSUITE/eximdir/exim -DEXIM_PATH=TESTSUITE/eximdir/exim -C TESTSUITE/test-config -d=0xfbb95cfd -odi -Mc 10HmaX-0005vi-00
233 Exim version x.yz ....
234 changed uid/gid: forcing real = effective
235   uid=uuuu gid=EXIM_GID pid=pppp
236 configuration file is TESTSUITE/test-config
237 trusted user
238 admin user
239 skipping ACL configuration - not needed
240 set_process_info: pppp delivering specified messages
241 set_process_info: pppp delivering 10HmaX-0005vi-00
242 reading spool file 10HmaX-0005vi-00-H
243 user=CALLER uid=CALLER_UID gid=CALLER_GID sender=CALLER@myhost.test.ex
244 sender_local=1 ident=CALLER
245 Non-recipients:
246 Empty Tree
247 ---- End of tree ----
248 recipients_count=1
249 body_linecount=1 message_linecount=7
250 Delivery address list:
251   CALLER@myhost.test.ex 
252 locking TESTSUITE/spool/db/retry.lockfile
253 locked TESTSUITE/spool/db/retry.lockfile
254 EXIM_DBOPEN(TESTSUITE/spool/db/retry)
255 returned from EXIM_DBOPEN
256 ensuring TESTSUITE/spool/db/retry.lockfile is owned by exim
257 no retry data available
258 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
259 Considering: CALLER@myhost.test.ex
260 unique = CALLER@myhost.test.ex
261 no domain retry record
262 no address retry record
263 CALLER@myhost.test.ex: queued for routing
264 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
265 routing CALLER@myhost.test.ex
266 --------> r1 router <--------
267 local_part=CALLER domain=myhost.test.ex
268 processing address_data
269 search_open: pgsql "NULL"
270 search_find: file="NULL"
271   key="select name from them where id='CALLER'" partial=-1 affix=NULL starflags=0
272 LRU list:
273 internal_search_find: file="NULL"
274   type=pgsql key="select name from them where id='CALLER'"
275 database lookup required for select name from them where id='CALLER'
276 PGSQL query: select name from them where id='CALLER'
277 PGSQL new connection: host=localhost port= database=test user=CALLER
278 lookup yielded: Philip Hazel
279 calling r1 router
280 r1 router called for CALLER@myhost.test.ex
281   domain = myhost.test.ex
282 set transport t1
283 queued for t1 transport: local_part = CALLER
284 domain = myhost.test.ex
285   errors_to=NULL
286   domain_data=NULL localpart_data=NULL
287 routed by r1 router
288   envelope to: CALLER@myhost.test.ex
289   transport: t1
290 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
291 After routing:
292   Local deliveries:
293     CALLER@myhost.test.ex
294   Remote deliveries:
295   Failed addresses:
296   Deferred addresses:
297 search_tidyup called
298 close PGSQL connection: localhost/test/CALLER
299 >>>>>>>>>>>>>>>> Local deliveries >>>>>>>>>>>>>>>>
300 --------> CALLER@myhost.test.ex <--------
301 locking TESTSUITE/spool/db/retry.lockfile
302 locked TESTSUITE/spool/db/retry.lockfile
303 EXIM_DBOPEN(TESTSUITE/spool/db/retry)
304 returned from EXIM_DBOPEN
305 no retry data available
306 search_tidyup called
307 changed uid/gid: local delivery to CALLER <CALLER@myhost.test.ex> transport=t1
308   uid=CALLER_UID gid=CALLER_GID pid=pppp
309   home=NULL current=/
310 set_process_info: pppp delivering 10HmaX-0005vi-00 to CALLER using t1
311 appendfile transport entered
312 search_open: pgsql "NULL"
313 search_find: file="NULL"
314   key="select id from them where id='CALLER'" partial=-1 affix=NULL starflags=0
315 LRU list:
316 internal_search_find: file="NULL"
317   type=pgsql key="select id from them where id='CALLER'"
318 database lookup required for select id from them where id='CALLER'
319 PGSQL query: select id from them where id='CALLER'
320 PGSQL new connection: host=localhost port= database=test user=CALLER
321 lookup yielded: CALLER
322 appendfile: mode=600 notify_comsat=0 quota=0 warning=0
323   file=TESTSUITE/test-mail/CALLER format=unix
324   message_prefix=From ${if def:return_path{$return_path}{MAILER-DAEMON}} ${tod_bsdinbox}\n
325   message_suffix=\n
326   maildir_use_size_file=no
327   locking by lockfile fcntl 
328 lock name: TESTSUITE/test-mail/CALLER.lock
329 hitch name: TESTSUITE/test-mail/CALLER.lock.test.ex.dddddddd.pppppppp
330 lock file created
331 mailbox TESTSUITE/test-mail/CALLER is locked
332 writing to file TESTSUITE/test-mail/CALLER
333 writing data block fd=8 size=sss timeout=0
334 writing data block fd=8 size=sss timeout=0
335 writing data block fd=8 size=sss timeout=0
336 appendfile yields 0 with errno=dd more_errno=dd
337 search_tidyup called
338 close PGSQL connection: localhost/test/CALLER
339 journalling CALLER@myhost.test.ex
340 t1 transport returned OK for CALLER@myhost.test.ex
341 post-process CALLER@myhost.test.ex (0)
342 CALLER@myhost.test.ex delivered
343 LOG: MAIN
344   => CALLER <CALLER@myhost.test.ex> R=r1 T=t1
345 >>>>>>>>>>>>>>>> deliveries are done >>>>>>>>>>>>>>>>
346 changed uid/gid: post-delivery tidying
347   uid=EXIM_UID gid=EXIM_GID pid=pppp
348 set_process_info: pppp tidying up after delivering 10HmaX-0005vi-00
349 Processing retry items
350 Succeeded addresses:
351 CALLER@myhost.test.ex: no retry items
352 Failed addresses:
353 Deferred addresses:
354 end of retry processing
355 LOG: MAIN
356   Completed
357 end delivery of 10HmaX-0005vi-00
358 search_tidyup called
359 search_tidyup called
360 >>>>>>>>>>>>>>>> Exim pid=pppp terminating with rc=0 >>>>>>>>>>>>>>>>
361 search_tidyup called
362 >>>>>>>>>>>>>>>> Exim pid=pppp terminating with rc=0 >>>>>>>>>>>>>>>>
363 Exim version x.yz ....
364 configuration file is TESTSUITE/test-config
365 admin user
366 search_open: pgsql "NULL"
367 search_find: file="NULL"
368   key="select name from them where id='CALLER';" partial=-1 affix=NULL starflags=0
369 LRU list:
370 internal_search_find: file="NULL"
371   type=pgsql key="select name from them where id='CALLER';"
372 database lookup required for select name from them where id='CALLER';
373 PGSQL query: select name from them where id='CALLER';
374 PGSQL new connection: socket=/tmp/.s.PGSQL.5432 database=test user=CALLER
375 lookup yielded: Philip Hazel
376 search_tidyup called
377 close PGSQL connection: (/tmp/.s.PGSQL.5432)/test/CALLER
378 >>>>>>>>>>>>>>>> Exim pid=pppp terminating with rc=0 >>>>>>>>>>>>>>>>