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