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 (main: expansion test) 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 (main) 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 postfork: local-accept delivery
329 exec TESTSUITE/eximdir/exim -DEXIM_PATH=TESTSUITE/eximdir/exim -C TESTSUITE/test-config -d=0xf7715cfd -odi -Mc 10HmaX-0005vi-00
330 fresh-exec forked for local-accept delivery: npppp
331 Exim version x.yz ....
332 changed uid/gid: forcing real = effective
333 uid=uuuu gid=EXIM_GID pid=pppp
334 configuration file is TESTSUITE/test-config
337 dropping to exim gid; retaining priv uid
338 seeking password data for user "CALLER": cache not available
339 getpwnam() succeeded uid=CALLER_UID gid=CALLER_GID
340 set_process_info: pppp delivering specified messages
341 set_process_info: pppp delivering 10HmaX-0005vi-00
342 Trying spool file TESTSUITE/spool//input//10HmaX-0005vi-00-D
343 reading spool file 10HmaX-0005vi-00-H
344 user=CALLER uid=CALLER_UID gid=CALLER_GID sender=CALLER@myhost.test.ex
345 sender_local=1 ident=CALLER
348 ---- End of tree ----
350 **** SPOOL_IN - No additional fields
351 body_linecount=1 message_linecount=7
352 DSN: set orcpt: flags: 0x0
353 Delivery address list:
355 locking TESTSUITE/spool/db/retry.lockfile
356 locked TESTSUITE/spool/db/retry.lockfile
357 EXIM_DBOPEN: file <TESTSUITE/spool/db/retry> dir <TESTSUITE/spool/db> flags=O_RDONLY
358 returned from EXIM_DBOPEN: (nil)
359 ensuring TESTSUITE/spool/db/retry.lockfile is owned by exim
360 failed to open DB file TESTSUITE/spool/db/retry.lockfile: No such file or directory
361 no retry data available
362 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
363 Considering: ph10@myhost.test.ex
364 unique = ph10@myhost.test.ex
365 no domain retry record
366 no address retry record
367 ph10@myhost.test.ex: queued for routing
368 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
369 routing ph10@myhost.test.ex
370 --------> r1 router <--------
371 local_part=ph10 domain=myhost.test.ex
372 processing address_data
373 search_open: mysql "NULL"
374 search_find: file="NULL"
375 key="select name from them where id='ph10'" partial=-1 affix=NULL starflags=0
377 internal_search_find: file="NULL"
378 type=mysql key="select name from them where id='ph10'"
379 database lookup required for select name from them where id='ph10'
380 MySQL query: select name from them where id='ph10'
381 MYSQL new connection: host=127.0.0.1 port=1223 socket=NULL database=test user=root
382 lookup yielded: Philip Hazel
384 r1 router called for ph10@myhost.test.ex
385 domain = myhost.test.ex
387 queued for t1 transport: local_part = ph10
388 domain = myhost.test.ex
390 domain_data=NULL localpart_data=NULL
392 envelope to: ph10@myhost.test.ex
394 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
402 close MYSQL connection: 127.0.0.1:1223/test/root
403 >>>>>>>>>>>>>>>> Local deliveries >>>>>>>>>>>>>>>>
404 --------> ph10@myhost.test.ex <--------
405 locking TESTSUITE/spool/db/retry.lockfile
406 locked TESTSUITE/spool/db/retry.lockfile
407 EXIM_DBOPEN: file <TESTSUITE/spool/db/retry> dir <TESTSUITE/spool/db> flags=O_RDONLY
408 returned from EXIM_DBOPEN: (nil)
409 failed to open DB file TESTSUITE/spool/db/retry: No such file or directory
410 no retry data available
412 fresh-exec forking for delivery (local)
413 postfork: delivery (local)
414 changed uid/gid: local delivery to ph10 <ph10@myhost.test.ex> transport=t1
415 uid=CALLER_UID gid=CALLER_GID pid=pppp
417 set_process_info: pppp delivering 10HmaX-0005vi-00 to ph10 using t1
418 appendfile transport entered
419 search_open: mysql "NULL"
420 search_find: file="NULL"
421 key="select id from them where id='ph10'" partial=-1 affix=NULL starflags=0
423 internal_search_find: file="NULL"
424 type=mysql key="select id from them where id='ph10'"
425 database lookup required for select id from them where id='ph10'
426 MySQL query: select id from them where id='ph10'
427 MYSQL new connection: host=127.0.0.1 port=1223 socket=NULL database=test user=root
429 appendfile: mode=600 notify_comsat=0 quota=0 warning=0
430 file=TESTSUITE/test-mail/ph10 format=unix
431 message_prefix=From ${if def:return_path{$return_path}{MAILER-DAEMON}} ${tod_bsdinbox}\n
433 maildir_use_size_file=no
434 locking by lockfile fcntl
435 lock name: TESTSUITE/test-mail/ph10.lock
436 hitch name: TESTSUITE/test-mail/ph10.lock.test.ex.dddddddd.pppppppp
438 mailbox TESTSUITE/test-mail/ph10 is locked
439 writing to file TESTSUITE/test-mail/ph10
440 writing data block fd=dddd size=sss timeout=0
441 cannot use sendfile for body: spoolfile not wireformat
442 writing data block fd=dddd size=sss timeout=0
443 writing data block fd=dddd size=sss timeout=0
444 appendfile yields 0 with errno=dd more_errno=dd
446 close MYSQL connection: 127.0.0.1:1223/test/root
447 fresh-exec forked for delivery (local): npppp
448 journalling ph10@myhost.test.ex
449 t1 transport returned OK for ph10@myhost.test.ex
450 post-process ph10@myhost.test.ex (0)
451 ph10@myhost.test.ex delivered
453 => ph10 <ph10@myhost.test.ex> R=r1 T=t1
454 >>>>>>>>>>>>>>>> deliveries are done >>>>>>>>>>>>>>>>
455 changed uid/gid: post-delivery tidying
456 uid=EXIM_UID gid=EXIM_GID pid=pppp
457 set_process_info: pppp tidying up after delivering 10HmaX-0005vi-00
458 Processing retry items
460 ph10@myhost.test.ex: no retry items
463 end of retry processing
464 DSN: processing router : r1
465 DSN: processing successful delivery address: ph10@myhost.test.ex
466 DSN: Sender_address: CALLER@myhost.test.ex
467 DSN: orcpt: NULL flags: 0x0
468 DSN: envid: NULL ret: 0
469 DSN: Final recipient: ph10@myhost.test.ex
470 DSN: Remote SMTP server supports DSN: 0
471 DSN: not sending DSN success message
474 end delivery of 10HmaX-0005vi-00
477 >>>>>>>>>>>>>>>> Exim pid=pppp (main) terminating with rc=0 >>>>>>>>>>>>>>>>
479 >>>>>>>>>>>>>>>> Exim pid=pppp (main) terminating with rc=0 >>>>>>>>>>>>>>>>