2 configuration file is TESTSUITE/test-config
4 dropping to exim gid; retaining priv uid
5 search_open: mysql "NULL"
6 search_find: file="NULL"
7 key="select name from them where id='ph10';" partial=-1 affix=NULL starflags=0
9 internal_search_find: file="NULL"
10 type=mysql key="select name from them where id='ph10';"
11 database lookup required for select name from them where id='ph10';
12 MySQL query: select name from them where id='ph10';
13 MYSQL new connection: host=127.0.0.1 port=1223 socket=NULL database=test user=root
14 lookup yielded: Philip Hazel
15 search_open: mysql "NULL"
17 search_find: file="NULL"
18 key="select name from them where id='ph10';" partial=-1 affix=NULL starflags=0
20 internal_search_find: file="NULL"
21 type=mysql key="select name from them where id='ph10';"
22 cached data used for lookup of select name from them where id='ph10';
23 lookup yielded: Philip Hazel
24 search_open: mysql "NULL"
26 search_find: file="NULL"
27 key="select name from them where id='xxxx';" partial=-1 affix=NULL starflags=0
29 internal_search_find: file="NULL"
30 type=mysql key="select name from them where id='xxxx';"
31 database lookup required for select name from them where id='xxxx';
32 MySQL query: select name from them where id='xxxx';
33 MYSQL using cached connection for 127.0.0.1:1223/test/root
36 search_open: mysql "NULL"
38 search_find: file="NULL"
39 key="select name from them where id='nothing';" partial=-1 affix=NULL starflags=0
41 internal_search_find: file="NULL"
42 type=mysql key="select name from them where id='nothing';"
43 database lookup required for select name from them where id='nothing';
44 MySQL query: select name from them where id='nothing';
45 MYSQL using cached connection for 127.0.0.1:1223/test/root
47 search_open: mysql "NULL"
49 search_find: file="NULL"
50 key="select id,name from them where id='nothing';" partial=-1 affix=NULL starflags=0
52 internal_search_find: file="NULL"
53 type=mysql key="select id,name from them where id='nothing';"
54 database lookup required for select id,name from them where id='nothing';
55 MySQL query: select id,name from them where id='nothing';
56 MYSQL using cached connection for 127.0.0.1:1223/test/root
57 lookup yielded: id=nothing name=""
58 search_open: mysql "NULL"
60 search_find: file="NULL"
61 key="delete from them where id='nonexist';" partial=-1 affix=NULL starflags=0
63 internal_search_find: file="NULL"
64 type=mysql key="delete from them where id='nonexist';"
65 database lookup required for delete from them where id='nonexist';
66 MySQL query: delete from them where id='nonexist';
67 MYSQL using cached connection for 127.0.0.1:1223/test/root
68 MYSQL: query was not one that returns data
69 lookup forced cache cleanup
71 search_open: mysql "NULL"
73 search_find: file="NULL"
74 key="select * from them where id='quote';" partial=-1 affix=NULL starflags=0
76 internal_search_find: file="NULL"
77 type=mysql key="select * from them where id='quote';"
78 database lookup required for select * from them where id='quote';
79 MySQL query: select * from them where id='quote';
80 MYSQL using cached connection for 127.0.0.1:1223/test/root
83 search_open: mysql "NULL"
85 search_find: file="NULL"
86 key="select * from them where id='filter';" partial=-1 affix=NULL starflags=0
88 internal_search_find: file="NULL"
89 type=mysql key="select * from them where id='filter';"
90 database lookup required for select * from them where id='filter';
91 MySQL query: select * from them where id='filter';
92 MYSQL using cached connection for 127.0.0.1:1223/test/root
95 search_open: mysql "NULL"
97 search_find: file="NULL"
98 key="select * from them where id='quote2';" partial=-1 affix=NULL starflags=0
100 internal_search_find: file="NULL"
101 type=mysql key="select * from them where id='quote2';"
102 database lookup required for select * from them where id='quote2';
103 MySQL query: select * from them where id='quote2';
104 MYSQL using cached connection for 127.0.0.1:1223/test/root
105 lookup yielded: name="\"stquot" id=quote2
106 search_open: mysql "NULL"
108 search_find: file="NULL"
109 key="select * from them where id='nlonly';" partial=-1 affix=NULL starflags=0
111 internal_search_find: file="NULL"
112 type=mysql key="select * from them where id='nlonly';"
113 database lookup required for select * from them where id='nlonly';
114 MySQL query: select * from them where id='nlonly';
115 MYSQL using cached connection for 127.0.0.1:1223/test/root
118 search_open: mysql "NULL"
120 search_find: file="NULL"
121 key="servers=x:127.0.0.1::1223; select name from them where id='ph10';" partial=-1 affix=NULL starflags=0
123 internal_search_find: file="NULL"
124 type=mysql key="servers=x:127.0.0.1::1223; select name from them where id='ph10';"
125 database lookup required for servers=x:127.0.0.1::1223; select name from them where id='ph10';
126 MySQL query: servers=x:127.0.0.1::1223; select name from them where id='ph10';
127 lookup deferred: MySQL server "x" not found in mysql_servers
128 search_open: mysql "NULL"
130 search_find: file="NULL"
131 key="servers=127.0.0.1::1223:x; select name from them where id='ph10';" partial=-1 affix=NULL starflags=0
133 internal_search_find: file="NULL"
134 type=mysql key="servers=127.0.0.1::1223:x; select name from them where id='ph10';"
135 database lookup required for servers=127.0.0.1::1223:x; select name from them where id='ph10';
136 MySQL query: servers=127.0.0.1::1223:x; select name from them where id='ph10';
137 MYSQL using cached connection for 127.0.0.1:1223/test/root
138 lookup yielded: Philip Hazel
139 search_open: mysql "NULL"
141 search_find: file="NULL"
142 key="servers=127.0.0.1::1223/test/root/:x; select name from them where id='ph10';" partial=-1 affix=NULL starflags=0
144 internal_search_find: file="NULL"
145 type=mysql key="servers=127.0.0.1::1223/test/root/:x; select name from them where id='ph10';"
146 database lookup required for servers=127.0.0.1::1223/test/root/:x; select name from them where id='ph10';
147 MySQL query: servers=127.0.0.1::1223/test/root/:x; select name from them where id='ph10';
148 MYSQL using cached connection for 127.0.0.1:1223/test/root
149 lookup yielded: Philip Hazel
150 search_open: mysql "NULL"
152 search_find: file="NULL"
153 key="servers=ip4.ip4.ip4.ip4::1223/test/root/:127.0.0.1::1223; select name from them where id='ph10';" partial=-1 affix=NULL starflags=0
155 internal_search_find: file="NULL"
156 type=mysql key="servers=ip4.ip4.ip4.ip4::1223/test/root/:127.0.0.1::1223; select name from them where id='ph10';"
157 database lookup required for servers=ip4.ip4.ip4.ip4::1223/test/root/:127.0.0.1::1223; select name from them where id='ph10';
158 MySQL query: servers=ip4.ip4.ip4.ip4::1223/test/root/:127.0.0.1::1223; select name from them where id='ph10';
159 MYSQL new connection: host=ip4.ip4.ip4.ip4 port=1223 socket=NULL database=test user=root
160 lookup yielded: Philip Hazel
161 search_open: mysql "NULL"
163 search_find: file="NULL"
164 key="servers=localhost(TESTSUITE/mysql/sock)/test/root/; select name from them where id='ph10';" partial=-1 affix=NULL starflags=0
166 internal_search_find: file="NULL"
167 type=mysql key="servers=localhost(TESTSUITE/mysql/sock)/test/root/; select name from them where id='ph10';"
168 database lookup required for servers=localhost(TESTSUITE/mysql/sock)/test/root/; select name from them where id='ph10';
169 MySQL query: servers=localhost(TESTSUITE/mysql/sock)/test/root/; select name from them where id='ph10';
170 MYSQL new connection: host=localhost port=0 socket=TESTSUITE/mysql/sock database=test user=root
171 lookup yielded: Philip Hazel
172 search_open: mysql "NULL"
174 search_find: file="NULL"
175 key="SELECT name FROM them WHERE id IN ('ph10', 'aaaa');" partial=-1 affix=NULL starflags=0
177 internal_search_find: file="NULL"
178 type=mysql key="SELECT name FROM them WHERE id IN ('ph10', 'aaaa');"
179 database lookup required for SELECT name FROM them WHERE id IN ('ph10', 'aaaa');
180 MySQL query: SELECT name FROM them WHERE id IN ('ph10', 'aaaa');
181 MYSQL using cached connection for 127.0.0.1:1223/test/root
182 lookup yielded: Philip Hazel
184 search_open: mysql "NULL"
186 search_find: file="NULL"
187 key="SELECT * FROM them WHERE id IN ('ph10', 'aaaa');" partial=-1 affix=NULL starflags=0
189 internal_search_find: file="NULL"
190 type=mysql key="SELECT * FROM them WHERE id IN ('ph10', 'aaaa');"
191 database lookup required for SELECT * FROM them WHERE id IN ('ph10', 'aaaa');
192 MySQL query: SELECT * FROM them WHERE id IN ('ph10', 'aaaa');
193 MYSQL using cached connection for 127.0.0.1:1223/test/root
194 lookup yielded: name="Philip Hazel" id=ph10
195 name=Aristotle id=aaaa
196 search_open: mysql "NULL"
198 search_find: file="NULL"
199 key="delete from them where id='aaaa'" partial=-1 affix=NULL starflags=0
201 internal_search_find: file="NULL"
202 type=mysql key="delete from them where id='aaaa'"
203 database lookup required for delete from them where id='aaaa'
204 MySQL query: delete from them where id='aaaa'
205 MYSQL using cached connection for 127.0.0.1:1223/test/root
206 MYSQL: query was not one that returns data
207 lookup forced cache cleanup
210 close MYSQL connection: localhost(TESTSUITE/mysql/sock)/test/root
211 close MYSQL connection: ip4.ip4.ip4.ip4:1223/test/root
212 close MYSQL connection: 127.0.0.1:1223/test/root
213 >>>>>>>>>>>>>>>> Exim pid=pppp (fresh-exec) terminating with rc=0 >>>>>>>>>>>>>>>>
214 Exim version x.yz ....
215 changed uid/gid: forcing real = effective
216 uid=uuuu gid=CALLER_GID pid=pppp
217 configuration file is TESTSUITE/test-config
219 changed uid/gid: privilege not needed
220 uid=EXIM_UID gid=EXIM_GID pid=pppp
221 seeking password data for user "CALLER": cache not available
222 getpwnam() succeeded uid=CALLER_UID gid=CALLER_GID
223 originator: uid=CALLER_UID gid=CALLER_GID login=CALLER name=CALLER_NAME
224 sender address = CALLER@myhost.test.ex
225 sender_fullhost = [10.0.0.0]
226 sender_rcvhost = [10.0.0.0]
227 host in hosts_connection_nolog? no (option unset)
228 LOG: smtp_connection MAIN
229 SMTP connection from [10.0.0.0]
230 host in host_lookup? no (option unset)
231 set_process_info: pppp handling incoming connection from [10.0.0.0]
232 host in host_reject_connection? no (option unset)
233 host in sender_unqualified_hosts? no (option unset)
234 host in recipient_unqualified_hosts? no (option unset)
235 host in helo_verify_hosts? no (option unset)
236 host in helo_try_verify_hosts? no (option unset)
237 host in helo_accept_junk_hosts? no (option unset)
238 SMTP>> 220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000
239 smtp_setup_msg entered
240 SMTP<< mail from:<a@b>
241 spool directory space = nnnnnK inodes = nnnnn check_space = 10240K inodes = 100 msg_size = 0
242 log directory space = nnnnnK inodes = nnnnn check_space = 10240K inodes = 100
245 using ACL "check_recipient"
246 processing "accept" (TESTSUITE/test-config 22)
247 check domains = +local_domains
248 d in "@"? no (end of list)
249 d in "+local_domains"? no (end of list)
250 accept: condition test failed in ACL "check_recipient"
251 processing "accept" (TESTSUITE/test-config 23)
252 check hosts = +relay_hosts
253 search_open: mysql "NULL"
254 search_find: file="NULL"
255 key="select * from them where id='10.0.0.0'" partial=-1 affix=NULL starflags=0
257 internal_search_find: file="NULL"
258 type=mysql key="select * from them where id='10.0.0.0'"
259 database lookup required for select * from them where id='10.0.0.0'
260 MySQL query: select * from them where id='10.0.0.0'
261 MYSQL new connection: host=127.0.0.1 port=1223 socket=NULL database=test user=root
264 host in "net-mysql;select * from them where id='10.0.0.0'"? no (end of list)
265 host in "+relay_hosts"? no (end of list)
266 accept: condition test failed in ACL "check_recipient"
267 processing "deny" (TESTSUITE/test-config 24)
268 message: relay not permitted
269 deny: condition test succeeded in ACL "check_recipient"
270 end of ACL "check_recipient": DENY
271 SMTP>> 550 relay not permitted
273 H=[10.0.0.0] F=<a@b> rejected RCPT <c@d>: relay not permitted
275 SMTP>> 221 myhost.test.ex closing connection
276 LOG: smtp_connection MAIN
277 SMTP connection from [10.0.0.0] closed by QUIT
279 close MYSQL connection: 127.0.0.1:1223/test/root
280 >>>>>>>>>>>>>>>> Exim pid=pppp (fresh-exec) terminating with rc=0 >>>>>>>>>>>>>>>>
281 Exim version x.yz ....
282 changed uid/gid: forcing real = effective
283 uid=uuuu gid=CALLER_GID pid=pppp
284 configuration file is TESTSUITE/test-config
286 changed uid/gid: privilege not needed
287 uid=EXIM_UID gid=EXIM_GID pid=pppp
288 seeking password data for user "CALLER": cache not available
289 getpwnam() succeeded uid=CALLER_UID gid=CALLER_GID
290 originator: uid=CALLER_UID gid=CALLER_GID login=CALLER name=CALLER_NAME
291 sender address = CALLER@myhost.test.ex
292 set_process_info: pppp accepting a local non-SMTP message from <CALLER@myhost.test.ex>
293 spool directory space = nnnnnK inodes = nnnnn check_space = 10240K inodes = 100 msg_size = 0
294 log directory space = nnnnnK inodes = nnnnn check_space = 10240K inodes = 100
295 Sender: CALLER@myhost.test.ex
301 rewrite_one_header: type=F:
302 From: CALLER_NAME <CALLER@myhost.test.ex>
304 >>Headers after rewriting and local additions:
305 I Message-Id: <E10HmaX-0005vi-00@myhost.test.ex>
306 F From: CALLER_NAME <CALLER@myhost.test.ex>
307 Date: Tue, 2 Mar 1999 09:44:33 +0000
309 Data file name: TESTSUITE/spool//input//10HmaX-0005vi-00-D
310 Data file written for message 10HmaX-0005vi-00
311 >>Generated Received: header line
312 P Received: from CALLER by myhost.test.ex with local (Exim x.yz)
313 (envelope-from <CALLER@myhost.test.ex>)
315 for ph10@myhost.test.ex; Tue, 2 Mar 1999 09:44:33 +0000
316 Writing spool header file: TESTSUITE/spool//input//hdr.10HmaX-0005vi-00
317 DSN: Write SPOOL: -dsn_envid NULL
318 DSN: Write SPOOL :-dsn_ret 0
320 DSN: **** SPOOL_OUT - address: <ph10@myhost.test.ex> errorsto: <NULL> orcpt: <NULL> dsn_flags: 0x0
321 Renaming spool header file: TESTSUITE/spool//input//10HmaX-0005vi-00-H
322 Size of headers = sss
324 <= CALLER@myhost.test.ex U=CALLER P=local S=sss
325 created log directory TESTSUITE/spool/log
327 fresh-exec forking for local-accept-delivery
328 exec TESTSUITE/eximdir/exim -DEXIM_PATH=TESTSUITE/eximdir/exim -C TESTSUITE/test-config -d=0xf7715cfd -MCd local-accept-delivery -odi -Mc 10HmaX-0005vi-00
329 fresh-exec forked for local-accept-delivery: npppp
330 Exim version x.yz ....
331 changed uid/gid: forcing real = effective
332 uid=uuuu gid=EXIM_GID pid=pppp
333 configuration file is TESTSUITE/test-config
336 dropping to exim gid; retaining priv uid
337 seeking password data for user "CALLER": cache not available
338 getpwnam() succeeded uid=CALLER_UID gid=CALLER_GID
339 set_process_info: pppp delivering specified messages
340 set_process_info: pppp delivering 10HmaX-0005vi-00
341 Trying spool file TESTSUITE/spool//input//10HmaX-0005vi-00-D
342 reading spool file 10HmaX-0005vi-00-H
343 user=CALLER uid=CALLER_UID gid=CALLER_GID sender=CALLER@myhost.test.ex
344 sender_local=1 ident=CALLER
347 ---- End of tree ----
349 **** SPOOL_IN - No additional fields
350 body_linecount=1 message_linecount=7
351 DSN: set orcpt: flags: 0x0
352 Delivery address list:
354 locking TESTSUITE/spool/db/retry.lockfile
355 locked TESTSUITE/spool/db/retry.lockfile
356 EXIM_DBOPEN: file <TESTSUITE/spool/db/retry> dir <TESTSUITE/spool/db> flags=O_RDONLY
357 returned from EXIM_DBOPEN: (nil)
358 ensuring TESTSUITE/spool/db/retry.lockfile is owned by exim
359 failed to open DB file TESTSUITE/spool/db/retry.lockfile: No such file or directory
360 no retry data available
361 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
362 Considering: ph10@myhost.test.ex
363 unique = ph10@myhost.test.ex
364 no domain retry record
365 no address retry record
366 ph10@myhost.test.ex: queued for routing
367 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
368 routing ph10@myhost.test.ex
369 --------> r1 router <--------
370 local_part=ph10 domain=myhost.test.ex
371 processing address_data
372 search_open: mysql "NULL"
373 search_find: file="NULL"
374 key="select name from them where id='ph10'" partial=-1 affix=NULL starflags=0
376 internal_search_find: file="NULL"
377 type=mysql key="select name from them where id='ph10'"
378 database lookup required for select name from them where id='ph10'
379 MySQL query: select name from them where id='ph10'
380 MYSQL new connection: host=127.0.0.1 port=1223 socket=NULL database=test user=root
381 lookup yielded: Philip Hazel
383 r1 router called for ph10@myhost.test.ex
384 domain = myhost.test.ex
386 queued for t1 transport: local_part = ph10
387 domain = myhost.test.ex
389 domain_data=NULL localpart_data=NULL
391 envelope to: ph10@myhost.test.ex
393 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
401 close MYSQL connection: 127.0.0.1:1223/test/root
402 >>>>>>>>>>>>>>>> Local deliveries >>>>>>>>>>>>>>>>
403 --------> ph10@myhost.test.ex <--------
404 locking TESTSUITE/spool/db/retry.lockfile
405 locked TESTSUITE/spool/db/retry.lockfile
406 EXIM_DBOPEN: file <TESTSUITE/spool/db/retry> dir <TESTSUITE/spool/db> flags=O_RDONLY
407 returned from EXIM_DBOPEN: (nil)
408 failed to open DB file TESTSUITE/spool/db/retry: No such file or directory
409 no retry data available
411 local-accept-delivery forking for delivery-local
412 changed uid/gid: local delivery to ph10 <ph10@myhost.test.ex> transport=t1
413 uid=CALLER_UID gid=CALLER_GID pid=pppp
415 set_process_info: pppp delivering 10HmaX-0005vi-00 to ph10 using t1
416 appendfile transport entered
417 search_open: mysql "NULL"
418 search_find: file="NULL"
419 key="select id from them where id='ph10'" partial=-1 affix=NULL starflags=0
421 internal_search_find: file="NULL"
422 type=mysql key="select id from them where id='ph10'"
423 database lookup required for select id from them where id='ph10'
424 MySQL query: select id from them where id='ph10'
425 MYSQL new connection: host=127.0.0.1 port=1223 socket=NULL database=test user=root
427 appendfile: mode=600 notify_comsat=0 quota=0 warning=0
428 file=TESTSUITE/test-mail/ph10 format=unix
429 message_prefix=From ${if def:return_path{$return_path}{MAILER-DAEMON}} ${tod_bsdinbox}\n
431 maildir_use_size_file=no
432 locking by lockfile fcntl
433 lock name: TESTSUITE/test-mail/ph10.lock
434 hitch name: TESTSUITE/test-mail/ph10.lock.test.ex.dddddddd.pppppppp
436 mailbox TESTSUITE/test-mail/ph10 is locked
437 writing to file TESTSUITE/test-mail/ph10
438 writing data block fd=dddd size=sss timeout=0
439 cannot use sendfile for body: spoolfile not wireformat
440 writing data block fd=dddd size=sss timeout=0
441 writing data block fd=dddd size=sss timeout=0
442 appendfile yields 0 with errno=dd more_errno=dd
444 close MYSQL connection: 127.0.0.1:1223/test/root
445 local-accept-delivery forked for delivery-local: npppp
446 journalling ph10@myhost.test.ex
447 t1 transport returned OK for ph10@myhost.test.ex
448 post-process ph10@myhost.test.ex (0)
449 ph10@myhost.test.ex delivered
451 => ph10 <ph10@myhost.test.ex> R=r1 T=t1
452 >>>>>>>>>>>>>>>> deliveries are done >>>>>>>>>>>>>>>>
453 changed uid/gid: post-delivery tidying
454 uid=EXIM_UID gid=EXIM_GID pid=pppp
455 set_process_info: pppp tidying up after delivering 10HmaX-0005vi-00
456 Processing retry items
458 ph10@myhost.test.ex: no retry items
461 end of retry processing
462 DSN: processing router : r1
463 DSN: processing successful delivery address: ph10@myhost.test.ex
464 DSN: Sender_address: CALLER@myhost.test.ex
465 DSN: orcpt: NULL flags: 0x0
466 DSN: envid: NULL ret: 0
467 DSN: Final recipient: ph10@myhost.test.ex
468 DSN: Remote SMTP server supports DSN: 0
469 DSN: not sending DSN success message
472 end delivery of 10HmaX-0005vi-00
475 >>>>>>>>>>>>>>>> Exim pid=pppp (local-accept-delivery) terminating with rc=0 >>>>>>>>>>>>>>>>
477 >>>>>>>>>>>>>>>> Exim pid=pppp (fresh-exec) terminating with rc=0 >>>>>>>>>>>>>>>>