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