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 (fresh-exec) 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 (fresh-exec) 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 exec TESTSUITE/eximdir/exim -DEXIM_PATH=TESTSUITE/eximdir/exim -C TESTSUITE/test-config -d=0xf7715cfd -MCd local-accept-delivery -odi -Mc 10HmaX-0005vi-00
347 fresh-exec forked for local-accept-delivery: npppp
348 Exim version x.yz ....
349 changed uid/gid: forcing real = effective
350 uid=uuuu gid=EXIM_GID pid=pppp
351 configuration file is TESTSUITE/test-config
354 dropping to exim gid; retaining priv uid
355 seeking password data for user "CALLER": cache not available
356 getpwnam() succeeded uid=CALLER_UID gid=CALLER_GID
357 set_process_info: pppp delivering specified messages
358 set_process_info: pppp delivering 10HmaX-0005vi-00
359 Trying spool file TESTSUITE/spool//input//10HmaX-0005vi-00-D
360 reading spool file 10HmaX-0005vi-00-H
361 user=CALLER uid=CALLER_UID gid=CALLER_GID sender=CALLER@myhost.test.ex
362 sender_local=1 ident=CALLER
365 ---- End of tree ----
367 **** SPOOL_IN - No additional fields
368 body_linecount=1 message_linecount=7
369 DSN: set orcpt: flags: 0x0
370 Delivery address list:
371 CALLER@myhost.test.ex
372 locking TESTSUITE/spool/db/retry.lockfile
373 locked TESTSUITE/spool/db/retry.lockfile
374 EXIM_DBOPEN: file <TESTSUITE/spool/db/retry> dir <TESTSUITE/spool/db> flags=O_RDONLY
375 returned from EXIM_DBOPEN: (nil)
376 ensuring TESTSUITE/spool/db/retry.lockfile is owned by exim
377 failed to open DB file TESTSUITE/spool/db/retry.lockfile: No such file or directory
378 no retry data available
379 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
380 Considering: CALLER@myhost.test.ex
381 unique = CALLER@myhost.test.ex
382 no domain retry record
383 no address retry record
384 CALLER@myhost.test.ex: queued for routing
385 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
386 routing CALLER@myhost.test.ex
387 --------> r1 router <--------
388 local_part=CALLER domain=myhost.test.ex
389 processing address_data
390 search_open: pgsql "NULL"
391 search_find: file="NULL"
392 key="select name from them where id='ph10'" partial=-1 affix=NULL starflags=0
394 internal_search_find: file="NULL"
395 type=pgsql key="select name from them where id='ph10'"
396 database lookup required for select name from them where id='ph10'
397 PostgreSQL query: select name from them where id='ph10'
398 PGSQL new connection: host=localhost port=1223 database=test user=CALLER
399 lookup yielded: Philip Hazel
401 r1 router called for CALLER@myhost.test.ex
402 domain = myhost.test.ex
404 queued for t1 transport: local_part = CALLER
405 domain = myhost.test.ex
407 domain_data=NULL localpart_data=NULL
409 envelope to: CALLER@myhost.test.ex
411 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
414 CALLER@myhost.test.ex
419 close PGSQL connection: localhost:1223/test/CALLER
420 >>>>>>>>>>>>>>>> Local deliveries >>>>>>>>>>>>>>>>
421 --------> CALLER@myhost.test.ex <--------
422 locking TESTSUITE/spool/db/retry.lockfile
423 locked TESTSUITE/spool/db/retry.lockfile
424 EXIM_DBOPEN: file <TESTSUITE/spool/db/retry> dir <TESTSUITE/spool/db> flags=O_RDONLY
425 returned from EXIM_DBOPEN: (nil)
426 failed to open DB file TESTSUITE/spool/db/retry: No such file or directory
427 no retry data available
429 local-accept-delivery forking for delivery-local
430 changed uid/gid: local delivery to CALLER <CALLER@myhost.test.ex> transport=t1
431 uid=CALLER_UID gid=CALLER_GID pid=pppp
433 set_process_info: pppp delivering 10HmaX-0005vi-00 to CALLER using t1
434 appendfile transport entered
435 search_open: pgsql "NULL"
436 search_find: file="NULL"
437 key="select id from them where id='ph10'" partial=-1 affix=NULL starflags=0
439 internal_search_find: file="NULL"
440 type=pgsql key="select id from them where id='ph10'"
441 database lookup required for select id from them where id='ph10'
442 PostgreSQL query: select id from them where id='ph10'
443 PGSQL new connection: host=localhost port=1223 database=test user=CALLER
445 appendfile: mode=600 notify_comsat=0 quota=0 warning=0
446 file=TESTSUITE/test-mail/ph10 format=unix
447 message_prefix=From ${if def:return_path{$return_path}{MAILER-DAEMON}} ${tod_bsdinbox}\n
449 maildir_use_size_file=no
450 locking by lockfile fcntl
451 lock name: TESTSUITE/test-mail/ph10.lock
452 hitch name: TESTSUITE/test-mail/ph10.lock.test.ex.dddddddd.pppppppp
454 mailbox TESTSUITE/test-mail/ph10 is locked
455 writing to file TESTSUITE/test-mail/ph10
456 writing data block fd=dddd size=sss timeout=0
457 cannot use sendfile for body: spoolfile not wireformat
458 writing data block fd=dddd size=sss timeout=0
459 writing data block fd=dddd size=sss timeout=0
460 appendfile yields 0 with errno=dd more_errno=dd
462 close PGSQL connection: localhost:1223/test/CALLER
463 local-accept-delivery forked for delivery-local: npppp
464 journalling CALLER@myhost.test.ex
465 t1 transport returned OK for CALLER@myhost.test.ex
466 post-process CALLER@myhost.test.ex (0)
467 CALLER@myhost.test.ex delivered
469 => CALLER <CALLER@myhost.test.ex> R=r1 T=t1
470 >>>>>>>>>>>>>>>> deliveries are done >>>>>>>>>>>>>>>>
471 changed uid/gid: post-delivery tidying
472 uid=EXIM_UID gid=EXIM_GID pid=pppp
473 set_process_info: pppp tidying up after delivering 10HmaX-0005vi-00
474 Processing retry items
476 CALLER@myhost.test.ex: no retry items
479 end of retry processing
480 DSN: processing router : r1
481 DSN: processing successful delivery address: CALLER@myhost.test.ex
482 DSN: Sender_address: CALLER@myhost.test.ex
483 DSN: orcpt: NULL flags: 0x0
484 DSN: envid: NULL ret: 0
485 DSN: Final recipient: CALLER@myhost.test.ex
486 DSN: Remote SMTP server supports DSN: 0
487 DSN: not sending DSN success message
490 end delivery of 10HmaX-0005vi-00
493 >>>>>>>>>>>>>>>> Exim pid=pppp (local-accept-delivery) terminating with rc=0 >>>>>>>>>>>>>>>>
495 >>>>>>>>>>>>>>>> Exim pid=pppp (fresh-exec) terminating with rc=0 >>>>>>>>>>>>>>>>
496 Exim version x.yz ....
497 configuration file is TESTSUITE/test-config
499 dropping to exim gid; retaining priv uid
500 search_open: pgsql "NULL"
501 search_find: file="NULL"
502 key="select name from them where id='ph10';" partial=-1 affix=NULL starflags=0
504 internal_search_find: file="NULL"
505 type=pgsql key="select name from them where id='ph10';"
506 database lookup required for select name from them where id='ph10';
507 PostgreSQL query: select name from them where id='ph10';
508 PGSQL new connection: socket=TESTSUITE/pgsql/.s.PGSQL.1223 database=test user=CALLER
509 lookup yielded: Philip Hazel
511 close PGSQL connection: (TESTSUITE/pgsql/.s.PGSQL.1223)/test/CALLER
512 >>>>>>>>>>>>>>>> Exim pid=pppp (fresh-exec) terminating with rc=0 >>>>>>>>>>>>>>>>
514 ******** SERVER ********