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
13 internal_search_find: file="NULL"
14 type=pgsql key="select name from them where id='ph10';"
15 database lookup required for select name from them where id='ph10';
16 PostgreSQL query: select name from them where id='ph10';
17 PGSQL new connection: host=localhost port=1223 database=test user=CALLER
18 lookup yielded: Philip Hazel
19 search_open: pgsql "NULL"
21 search_find: file="NULL"
22 key="select name from them where id='ph10';" partial=-1 affix=NULL starflags=0
24 internal_search_find: file="NULL"
25 type=pgsql key="select name from them where id='ph10';"
26 cached data used for lookup of select name from them where id='ph10';
27 lookup yielded: Philip Hazel
28 search_open: pgsql "NULL"
30 search_find: file="NULL"
31 key="select name from them where id='xxxx';" partial=-1 affix=NULL starflags=0
33 internal_search_find: file="NULL"
34 type=pgsql key="select name from them where id='xxxx';"
35 database lookup required for select name from them where id='xxxx';
36 PostgreSQL query: select name from them where id='xxxx';
37 PGSQL using cached connection for localhost:1223/test/CALLER
40 search_open: pgsql "NULL"
42 search_find: file="NULL"
43 key="select name from them where id='nothing';" partial=-1 affix=NULL starflags=0
45 internal_search_find: file="NULL"
46 type=pgsql key="select name from them where id='nothing';"
47 database lookup required for select name from them where id='nothing';
48 PostgreSQL query: select name from them where id='nothing';
49 PGSQL using cached connection for localhost:1223/test/CALLER
51 search_open: pgsql "NULL"
53 search_find: file="NULL"
54 key="select id,name from them where id='nothing';" partial=-1 affix=NULL starflags=0
56 internal_search_find: file="NULL"
57 type=pgsql key="select id,name from them where id='nothing';"
58 database lookup required for select id,name from them where id='nothing';
59 PostgreSQL query: select id,name from them where id='nothing';
60 PGSQL using cached connection for localhost:1223/test/CALLER
61 lookup yielded: id=nothing name=""
62 search_open: pgsql "NULL"
64 search_find: file="NULL"
65 key="delete from them where id='nonexist';" partial=-1 affix=NULL starflags=0
67 internal_search_find: file="NULL"
68 type=pgsql key="delete from them where id='nonexist';"
69 database lookup required for delete from them where id='nonexist';
70 PostgreSQL query: delete from them where id='nonexist';
71 PGSQL using cached connection for localhost:1223/test/CALLER
72 PGSQL: command does not return any data but was successful. Rows affected: 0
73 lookup forced cache cleanup
75 search_open: pgsql "NULL"
77 search_find: file="NULL"
78 key="select * from them where id='quote2';" partial=-1 affix=NULL starflags=0
80 internal_search_find: file="NULL"
81 type=pgsql key="select * from them where id='quote2';"
82 database lookup required for select * from them where id='quote2';
83 PostgreSQL query: select * from them where id='quote2';
84 PGSQL using cached connection for localhost:1223/test/CALLER
85 lookup yielded: name="\"stquot" id=quote2
86 search_open: pgsql "NULL"
88 search_find: file="NULL"
89 key="select * from them where id='newline';" partial=-1 affix=NULL starflags=0
91 internal_search_find: file="NULL"
92 type=pgsql key="select * from them where id='newline';"
93 database lookup required for select * from them where id='newline';
94 PostgreSQL query: select * from them where id='newline';
95 PGSQL using cached connection for localhost:1223/test/CALLER
96 lookup yielded: name="before
\r
98 search_open: pgsql "NULL"
100 search_find: file="NULL"
101 key="select * from them where id='tab';" partial=-1 affix=NULL starflags=0
103 internal_search_find: file="NULL"
104 type=pgsql key="select * from them where id='tab';"
105 database lookup required for select * from them where id='tab';
106 PostgreSQL query: select * from them where id='tab';
107 PGSQL using cached connection for localhost:1223/test/CALLER
108 lookup yielded: name="x x" id=tab
109 search_open: pgsql "NULL"
111 search_find: file="NULL"
112 key="select * from them where name='''stquot';" partial=-1 affix=NULL starflags=0
114 internal_search_find: file="NULL"
115 type=pgsql key="select * from them where name='''stquot';"
116 database lookup required for select * from them where name='''stquot';
117 PostgreSQL query: select * from them where name='''stquot';
118 PGSQL using cached connection for localhost:1223/test/CALLER
119 lookup yielded: name='stquot id=quote1
120 search_open: pgsql "NULL"
122 search_find: file="NULL"
123 key="servers=x:localhost; select name from them where id='ph10';" partial=-1 affix=NULL starflags=0
125 internal_search_find: file="NULL"
126 type=pgsql key="servers=x:localhost; select name from them where id='ph10';"
127 database lookup required for servers=x:localhost; select name from them where id='ph10';
128 PostgreSQL query: servers=x:localhost; select name from them where id='ph10';
129 lookup deferred: PostgreSQL server "x" not found in pgsql_servers
130 search_open: pgsql "NULL"
132 search_find: file="NULL"
133 key="servers=localhost::1223:x; select name from them where id='ph10';" partial=-1 affix=NULL starflags=0
135 internal_search_find: file="NULL"
136 type=pgsql key="servers=localhost::1223:x; select name from them where id='ph10';"
137 database lookup required for servers=localhost::1223:x; select name from them where id='ph10';
138 PostgreSQL query: servers=localhost::1223:x; select name from them where id='ph10';
139 PGSQL using cached connection for localhost:1223/test/CALLER
140 lookup yielded: Philip Hazel
141 search_open: pgsql "NULL"
143 search_find: file="NULL"
144 key="servers=localhost::1223/test/CALLER/:x; select name from them where id='ph10';" partial=-1 affix=NULL starflags=0
146 internal_search_find: file="NULL"
147 type=pgsql key="servers=localhost::1223/test/CALLER/:x; select name from them where id='ph10';"
148 database lookup required for servers=localhost::1223/test/CALLER/:x; select name from them where id='ph10';
149 PostgreSQL query: servers=localhost::1223/test/CALLER/:x; select name from them where id='ph10';
150 PGSQL using cached connection for localhost:1223/test/CALLER
151 lookup yielded: Philip Hazel
152 search_open: pgsql "NULL"
154 search_find: file="NULL"
155 key="servers=(TESTSUITE/pgsql/.s.PGSQL.1223)/test/CALLER/:x; select name from them where id='ph10';" partial=-1 affix=NULL starflags=0
157 internal_search_find: file="NULL"
158 type=pgsql key="servers=(TESTSUITE/pgsql/.s.PGSQL.1223)/test/CALLER/:x; select name from them where id='ph10';"
159 database lookup required for servers=(TESTSUITE/pgsql/.s.PGSQL.1223)/test/CALLER/:x; select name from them where id='ph10';
160 PostgreSQL query: servers=(TESTSUITE/pgsql/.s.PGSQL.1223)/test/CALLER/:x; select name from them where id='ph10';
161 PGSQL new connection: socket=TESTSUITE/pgsql/.s.PGSQL.1223 database=test user=CALLER
162 lookup yielded: Philip Hazel
163 search_open: pgsql "NULL"
165 search_find: file="NULL"
166 key="SELECT name FROM them WHERE id IN ('ph10', 'aaaa');" partial=-1 affix=NULL starflags=0
168 internal_search_find: file="NULL"
169 type=pgsql key="SELECT name FROM them WHERE id IN ('ph10', 'aaaa');"
170 database lookup required for SELECT name FROM them WHERE id IN ('ph10', 'aaaa');
171 PostgreSQL query: SELECT name FROM them WHERE id IN ('ph10', 'aaaa');
172 PGSQL using cached connection for localhost:1223/test/CALLER
173 lookup yielded: Philip Hazel
175 search_open: pgsql "NULL"
177 search_find: file="NULL"
178 key="SELECT * FROM them WHERE id IN ('ph10', 'aaaa');" partial=-1 affix=NULL starflags=0
180 internal_search_find: file="NULL"
181 type=pgsql key="SELECT * FROM them WHERE id IN ('ph10', 'aaaa');"
182 database lookup required for SELECT * FROM them WHERE id IN ('ph10', 'aaaa');
183 PostgreSQL query: SELECT * FROM them WHERE id IN ('ph10', 'aaaa');
184 PGSQL using cached connection for localhost:1223/test/CALLER
185 lookup yielded: name="Philip Hazel" id=ph10
186 name=Aristotle id=aaaa
187 search_open: pgsql "NULL"
189 search_find: file="NULL"
190 key="delete from them where id='aaaa'" partial=-1 affix=NULL starflags=0
192 internal_search_find: file="NULL"
193 type=pgsql key="delete from them where id='aaaa'"
194 database lookup required for delete from them where id='aaaa'
195 PostgreSQL query: delete from them where id='aaaa'
196 PGSQL using cached connection for localhost:1223/test/CALLER
197 PGSQL: command does not return any data but was successful. Rows affected: 1
198 lookup forced cache cleanup
201 close PGSQL connection: (TESTSUITE/pgsql/.s.PGSQL.1223)/test/CALLER
202 close PGSQL connection: localhost:1223/test/CALLER
203 >>>>>>>>>>>>>>>> Exim pid=pppp (main: expansion test) terminating with rc=0 >>>>>>>>>>>>>>>>
204 Exim version x.yz ....
205 changed uid/gid: forcing real = effective
206 uid=uuuu gid=CALLER_GID pid=pppp
207 configuration file is TESTSUITE/test-config
209 changed uid/gid: privilege not needed
210 uid=EXIM_UID gid=EXIM_GID pid=pppp
211 seeking password data for user "CALLER": cache not available
212 getpwnam() succeeded uid=CALLER_UID gid=CALLER_GID
213 originator: uid=CALLER_UID gid=CALLER_GID login=CALLER name=CALLER_NAME
214 sender address = CALLER@myhost.test.ex
215 sender_fullhost = [10.0.0.0]
216 sender_rcvhost = [10.0.0.0]
217 host in hosts_connection_nolog? no (option unset)
218 LOG: smtp_connection MAIN
219 SMTP connection from [10.0.0.0]
220 host in host_lookup? no (option unset)
221 set_process_info: pppp handling incoming connection from [10.0.0.0]
222 host in host_reject_connection? no (option unset)
223 host in sender_unqualified_hosts? no (option unset)
224 host in recipient_unqualified_hosts? no (option unset)
225 host in helo_verify_hosts? no (option unset)
226 host in helo_try_verify_hosts? no (option unset)
227 host in helo_accept_junk_hosts? no (option unset)
228 SMTP>> 220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000
229 smtp_setup_msg entered
230 SMTP<< mail from:<a@b>
231 spool directory space = nnnnnK inodes = nnnnn check_space = 10240K inodes = 100 msg_size = 0
232 log directory space = nnnnnK inodes = nnnnn check_space = 10240K inodes = 100
235 using ACL "check_recipient"
236 processing "accept" (TESTSUITE/test-config 25)
237 check domains = +local_domains
238 d in "@"? no (end of list)
239 d in "+local_domains"? no (end of list)
240 accept: condition test failed in ACL "check_recipient"
241 processing "accept" (TESTSUITE/test-config 26)
242 check hosts = +relay_hosts
243 search_open: pgsql "NULL"
244 search_find: file="NULL"
245 key="select * from them where id='10.0.0.0'" partial=-1 affix=NULL starflags=0
247 internal_search_find: file="NULL"
248 type=pgsql key="select * from them where id='10.0.0.0'"
249 database lookup required for select * from them where id='10.0.0.0'
250 PostgreSQL query: select * from them where id='10.0.0.0'
251 PGSQL new connection: host=localhost port=1223 database=test user=CALLER
254 host in "net-pgsql;select * from them where id='10.0.0.0'"? no (end of list)
255 host in "+relay_hosts"? no (end of list)
256 accept: condition test failed in ACL "check_recipient"
257 processing "deny" (TESTSUITE/test-config 27)
258 message: relay not permitted
259 deny: condition test succeeded in ACL "check_recipient"
260 end of ACL "check_recipient": DENY
261 SMTP>> 550 relay not permitted
263 H=[10.0.0.0] F=<a@b> rejected RCPT <c@d>: relay not permitted
265 using ACL "check_recipient"
266 processing "accept" (TESTSUITE/test-config 25)
267 check domains = +local_domains
268 d in "@"? no (end of list)
269 d in "+local_domains"? no (end of list)
270 accept: condition test failed in ACL "check_recipient"
271 processing "accept" (TESTSUITE/test-config 26)
272 check hosts = +relay_hosts
273 search_open: pgsql "NULL"
275 search_find: file="NULL"
276 key="select * from them where id='10.0.0.0'" partial=-1 affix=NULL starflags=0
278 internal_search_find: file="NULL"
279 type=pgsql key="select * from them where id='10.0.0.0'"
280 cached data used for lookup of select * from them where id='10.0.0.0'
282 host in "net-pgsql;select * from them where id='10.0.0.0'"? no (end of list)
283 host in "+relay_hosts"? no (end of list)
284 accept: condition test failed in ACL "check_recipient"
285 processing "deny" (TESTSUITE/test-config 27)
286 message: relay not permitted
287 deny: condition test succeeded in ACL "check_recipient"
288 end of ACL "check_recipient": DENY
289 SMTP>> 550 relay not permitted
291 H=[10.0.0.0] F=<a@b> rejected RCPT <c@d>: relay not permitted
293 SMTP>> 221 myhost.test.ex closing connection
294 LOG: smtp_connection MAIN
295 SMTP connection from [10.0.0.0] closed by QUIT
297 close PGSQL connection: localhost:1223/test/CALLER
298 >>>>>>>>>>>>>>>> Exim pid=pppp (main) terminating with rc=0 >>>>>>>>>>>>>>>>
299 Exim version x.yz ....
300 changed uid/gid: forcing real = effective
301 uid=uuuu gid=CALLER_GID pid=pppp
302 configuration file is TESTSUITE/test-config
304 changed uid/gid: privilege not needed
305 uid=EXIM_UID gid=EXIM_GID pid=pppp
306 seeking password data for user "CALLER": cache not available
307 getpwnam() succeeded uid=CALLER_UID gid=CALLER_GID
308 originator: uid=CALLER_UID gid=CALLER_GID login=CALLER name=CALLER_NAME
309 sender address = CALLER@myhost.test.ex
310 set_process_info: pppp accepting a local non-SMTP message from <CALLER@myhost.test.ex>
311 spool directory space = nnnnnK inodes = nnnnn check_space = 10240K inodes = 100 msg_size = 0
312 log directory space = nnnnnK inodes = nnnnn check_space = 10240K inodes = 100
313 Sender: CALLER@myhost.test.ex
319 rewrite_one_header: type=F:
320 From: CALLER_NAME <CALLER@myhost.test.ex>
322 >>Headers after rewriting and local additions:
323 I Message-Id: <E10HmaX-0005vi-00@myhost.test.ex>
324 F From: CALLER_NAME <CALLER@myhost.test.ex>
325 Date: Tue, 2 Mar 1999 09:44:33 +0000
327 Data file name: TESTSUITE/spool//input//10HmaX-0005vi-00-D
328 Data file written for message 10HmaX-0005vi-00
329 >>Generated Received: header line
330 P Received: from CALLER by myhost.test.ex with local (Exim x.yz)
331 (envelope-from <CALLER@myhost.test.ex>)
333 for CALLER@myhost.test.ex; Tue, 2 Mar 1999 09:44:33 +0000
334 Writing spool header file: TESTSUITE/spool//input//hdr.10HmaX-0005vi-00
335 DSN: Write SPOOL: -dsn_envid NULL
336 DSN: Write SPOOL :-dsn_ret 0
338 DSN: **** SPOOL_OUT - address: <CALLER@myhost.test.ex> errorsto: <NULL> orcpt: <NULL> dsn_flags: 0x0
339 Renaming spool header file: TESTSUITE/spool//input//10HmaX-0005vi-00-H
340 Size of headers = sss
342 <= CALLER@myhost.test.ex U=CALLER P=local S=sss
343 created log directory TESTSUITE/spool/log
345 fresh-exec forking for local-accept delivery
346 postfork: local-accept delivery
347 exec TESTSUITE/eximdir/exim -DEXIM_PATH=TESTSUITE/eximdir/exim -C TESTSUITE/test-config -d=0xf7715cfd -odi -Mc 10HmaX-0005vi-00
348 fresh-exec forked for local-accept delivery: npppp
349 Exim version x.yz ....
350 changed uid/gid: forcing real = effective
351 uid=uuuu gid=EXIM_GID pid=pppp
352 configuration file is TESTSUITE/test-config
355 dropping to exim gid; retaining priv uid
356 seeking password data for user "CALLER": cache not available
357 getpwnam() succeeded uid=CALLER_UID gid=CALLER_GID
358 set_process_info: pppp delivering specified messages
359 set_process_info: pppp delivering 10HmaX-0005vi-00
360 Trying spool file TESTSUITE/spool//input//10HmaX-0005vi-00-D
361 reading spool file 10HmaX-0005vi-00-H
362 user=CALLER uid=CALLER_UID gid=CALLER_GID sender=CALLER@myhost.test.ex
363 sender_local=1 ident=CALLER
366 ---- End of tree ----
368 **** SPOOL_IN - No additional fields
369 body_linecount=1 message_linecount=7
370 DSN: set orcpt: flags: 0x0
371 Delivery address list:
372 CALLER@myhost.test.ex
373 locking TESTSUITE/spool/db/retry.lockfile
374 locked TESTSUITE/spool/db/retry.lockfile
375 EXIM_DBOPEN: file <TESTSUITE/spool/db/retry> dir <TESTSUITE/spool/db> flags=O_RDONLY
376 returned from EXIM_DBOPEN: (nil)
377 ensuring TESTSUITE/spool/db/retry.lockfile is owned by exim
378 failed to open DB file TESTSUITE/spool/db/retry.lockfile: No such file or directory
379 no retry data available
380 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
381 Considering: CALLER@myhost.test.ex
382 unique = CALLER@myhost.test.ex
383 no domain retry record
384 no address retry record
385 CALLER@myhost.test.ex: queued for routing
386 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
387 routing CALLER@myhost.test.ex
388 --------> r1 router <--------
389 local_part=CALLER domain=myhost.test.ex
390 processing address_data
391 search_open: pgsql "NULL"
392 search_find: file="NULL"
393 key="select name from them where id='ph10'" partial=-1 affix=NULL starflags=0
395 internal_search_find: file="NULL"
396 type=pgsql key="select name from them where id='ph10'"
397 database lookup required for select name from them where id='ph10'
398 PostgreSQL query: select name from them where id='ph10'
399 PGSQL new connection: host=localhost port=1223 database=test user=CALLER
400 lookup yielded: Philip Hazel
402 r1 router called for CALLER@myhost.test.ex
403 domain = myhost.test.ex
405 queued for t1 transport: local_part = CALLER
406 domain = myhost.test.ex
408 domain_data=NULL localpart_data=NULL
410 envelope to: CALLER@myhost.test.ex
412 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
415 CALLER@myhost.test.ex
420 close PGSQL connection: localhost:1223/test/CALLER
421 >>>>>>>>>>>>>>>> Local deliveries >>>>>>>>>>>>>>>>
422 --------> CALLER@myhost.test.ex <--------
423 locking TESTSUITE/spool/db/retry.lockfile
424 locked TESTSUITE/spool/db/retry.lockfile
425 EXIM_DBOPEN: file <TESTSUITE/spool/db/retry> dir <TESTSUITE/spool/db> flags=O_RDONLY
426 returned from EXIM_DBOPEN: (nil)
427 failed to open DB file TESTSUITE/spool/db/retry: No such file or directory
428 no retry data available
430 fresh-exec forking for delivery (local)
431 postfork: delivery (local)
432 changed uid/gid: local delivery to CALLER <CALLER@myhost.test.ex> transport=t1
433 uid=CALLER_UID gid=CALLER_GID pid=pppp
435 set_process_info: pppp delivering 10HmaX-0005vi-00 to CALLER using t1
436 appendfile transport entered
437 search_open: pgsql "NULL"
438 search_find: file="NULL"
439 key="select id from them where id='ph10'" partial=-1 affix=NULL starflags=0
441 internal_search_find: file="NULL"
442 type=pgsql key="select id from them where id='ph10'"
443 database lookup required for select id from them where id='ph10'
444 PostgreSQL query: select id from them where id='ph10'
445 PGSQL new connection: host=localhost port=1223 database=test user=CALLER
447 appendfile: mode=600 notify_comsat=0 quota=0 warning=0
448 file=TESTSUITE/test-mail/ph10 format=unix
449 message_prefix=From ${if def:return_path{$return_path}{MAILER-DAEMON}} ${tod_bsdinbox}\n
451 maildir_use_size_file=no
452 locking by lockfile fcntl
453 lock name: TESTSUITE/test-mail/ph10.lock
454 hitch name: TESTSUITE/test-mail/ph10.lock.test.ex.dddddddd.pppppppp
456 mailbox TESTSUITE/test-mail/ph10 is locked
457 writing to file TESTSUITE/test-mail/ph10
458 writing data block fd=dddd size=sss timeout=0
459 cannot use sendfile for body: spoolfile not wireformat
460 writing data block fd=dddd size=sss timeout=0
461 writing data block fd=dddd size=sss timeout=0
462 appendfile yields 0 with errno=dd more_errno=dd
464 close PGSQL connection: localhost:1223/test/CALLER
465 fresh-exec forked for delivery (local): npppp
466 journalling CALLER@myhost.test.ex
467 t1 transport returned OK for CALLER@myhost.test.ex
468 post-process CALLER@myhost.test.ex (0)
469 CALLER@myhost.test.ex delivered
471 => CALLER <CALLER@myhost.test.ex> R=r1 T=t1
472 >>>>>>>>>>>>>>>> deliveries are done >>>>>>>>>>>>>>>>
473 changed uid/gid: post-delivery tidying
474 uid=EXIM_UID gid=EXIM_GID pid=pppp
475 set_process_info: pppp tidying up after delivering 10HmaX-0005vi-00
476 Processing retry items
478 CALLER@myhost.test.ex: no retry items
481 end of retry processing
482 DSN: processing router : r1
483 DSN: processing successful delivery address: CALLER@myhost.test.ex
484 DSN: Sender_address: CALLER@myhost.test.ex
485 DSN: orcpt: NULL flags: 0x0
486 DSN: envid: NULL ret: 0
487 DSN: Final recipient: CALLER@myhost.test.ex
488 DSN: Remote SMTP server supports DSN: 0
489 DSN: not sending DSN success message
492 end delivery of 10HmaX-0005vi-00
495 >>>>>>>>>>>>>>>> Exim pid=pppp (main) terminating with rc=0 >>>>>>>>>>>>>>>>
497 >>>>>>>>>>>>>>>> Exim pid=pppp (main) terminating with rc=0 >>>>>>>>>>>>>>>>
498 Exim version x.yz ....
499 configuration file is TESTSUITE/test-config
501 dropping to exim gid; retaining priv uid
502 search_open: pgsql "NULL"
503 search_find: file="NULL"
504 key="select name from them where id='ph10';" partial=-1 affix=NULL starflags=0
506 internal_search_find: file="NULL"
507 type=pgsql key="select name from them where id='ph10';"
508 database lookup required for select name from them where id='ph10';
509 PostgreSQL query: select name from them where id='ph10';
510 PGSQL new connection: socket=TESTSUITE/pgsql/.s.PGSQL.1223 database=test user=CALLER
511 lookup yielded: Philip Hazel
513 close PGSQL connection: (TESTSUITE/pgsql/.s.PGSQL.1223)/test/CALLER
514 >>>>>>>>>>>>>>>> Exim pid=pppp (main: expansion test) terminating with rc=0 >>>>>>>>>>>>>>>>
516 ******** SERVER ********