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