Change ${quote_pgsql to quote ' as '' instead of \' because of a
[exim.git] / test / stderr / 9200
CommitLineData
54c5ebb1
PH
1Exim version x.yz ....
2configuration file is TESTSUITE/test-config
3admin user
4search_open: pgsql "NULL"
5search_find: file="NULL"
6 key="select name from them where id='CALLER';" partial=-1 affix=NULL starflags=0
7LRU list:
8internal_search_find: file="NULL"
9 type=pgsql key="select name from them where id='CALLER';"
10database lookup required for select name from them where id='CALLER';
11PGSQL query: select name from them where id='CALLER';
12PGSQL new connection: host=localhost port= database=test user=CALLER
13lookup yielded: Philip Hazel
14search_open: pgsql "NULL"
15 cached open
16search_find: file="NULL"
17 key="select name from them where id='CALLER';" partial=-1 affix=NULL starflags=0
18LRU list:
19internal_search_find: file="NULL"
20 type=pgsql key="select name from them where id='CALLER';"
21cached data used for lookup of select name from them where id='CALLER';
22lookup yielded: Philip Hazel
23search_open: pgsql "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=pgsql key="select name from them where id='xxxx';"
30database lookup required for select name from them where id='xxxx';
31PGSQL query: select name from them where id='xxxx';
32PGSQL using cached connection for localhost/test/CALLER
33PGSQL: no data found
34lookup failed
35search_open: pgsql "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=pgsql key="select name from them where id='nothing';"
42database lookup required for select name from them where id='nothing';
43PGSQL query: select name from them where id='nothing';
44PGSQL using cached connection for localhost/test/CALLER
45lookup yielded:
46search_open: pgsql "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=pgsql key="select id,name from them where id='nothing';"
53database lookup required for select id,name from them where id='nothing';
54PGSQL query: select id,name from them where id='nothing';
55PGSQL using cached connection for localhost/test/CALLER
56lookup yielded: id=nothing name=""
57search_open: pgsql "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=pgsql key="delete from them where id='nonexist';"
64database lookup required for delete from them where id='nonexist';
65PGSQL query: delete from them where id='nonexist';
66PGSQL using cached connection for localhost/test/CALLER
67PGSQL: command does not return any data but was successful. Rows affected: 0
68lookup forced cache cleanup
69lookup yielded: 0
70search_open: pgsql "NULL"
71 cached open
72search_find: file="NULL"
73 key="select * from them where id='quote2';" partial=-1 affix=NULL starflags=0
74LRU list:
75internal_search_find: file="NULL"
76 type=pgsql key="select * from them where id='quote2';"
77database lookup required for select * from them where id='quote2';
78PGSQL query: select * from them where id='quote2';
79PGSQL using cached connection for localhost/test/CALLER
80lookup yielded: name="\"stquot" id=quote2
81search_open: pgsql "NULL"
82 cached open
83search_find: file="NULL"
84 key="select * from them where id='newline';" partial=-1 affix=NULL starflags=0
85LRU list:
86internal_search_find: file="NULL"
87 type=pgsql key="select * from them where id='newline';"
88database lookup required for select * from them where id='newline';
89PGSQL query: select * from them where id='newline';
90PGSQL using cached connection for localhost/test/CALLER
91lookup yielded: name="before
92after" id=newline
93search_open: pgsql "NULL"
94 cached open
95search_find: file="NULL"
96 key="select * from them where id='tab';" partial=-1 affix=NULL starflags=0
97LRU list:
98internal_search_find: file="NULL"
99 type=pgsql key="select * from them where id='tab';"
100database lookup required for select * from them where id='tab';
101PGSQL query: select * from them where id='tab';
102PGSQL using cached connection for localhost/test/CALLER
5547e2c5
PH
103lookup yielded: name="x x" id=tab
104search_open: pgsql "NULL"
105 cached open
106search_find: file="NULL"
107 key="select * from them where name='''stquot';" partial=-1 affix=NULL starflags=0
108LRU list:
109internal_search_find: file="NULL"
110 type=pgsql key="select * from them where name='''stquot';"
111database lookup required for select * from them where name='''stquot';
112PGSQL query: select * from them where name='''stquot';
113PGSQL using cached connection for localhost/test/CALLER
114lookup yielded: name='stquot id=quote1
54c5ebb1
PH
115search_tidyup called
116close PGSQL connection: localhost/test/CALLER
117>>>>>>>>>>>>>>>> Exim pid=pppp terminating with rc=0 >>>>>>>>>>>>>>>>
118Exim version x.yz ....
119changed uid/gid: forcing real = effective
120 uid=uuuu gid=CALLER_GID pid=pppp
121configuration file is TESTSUITE/test-config
122admin user
123changed uid/gid: privilege not needed
124 uid=EXIM_UID gid=EXIM_GID pid=pppp
125originator: uid=CALLER_UID gid=CALLER_GID login=CALLER name=CALLER_NAME
126sender address = CALLER@myhost.test.ex
127sender_fullhost = [10.0.0.0]
128sender_rcvhost = [10.0.0.0]
129host in hosts_connection_nolog? no (option unset)
130LOG: smtp_connection MAIN
131 SMTP connection from [10.0.0.0]
132host in host_lookup? no (option unset)
133set_process_info: pppp handling incoming connection from [10.0.0.0]
134host in host_reject_connection? no (option unset)
135host in sender_unqualified_hosts? no (option unset)
136host in recipient_unqualified_hosts? no (option unset)
137host in helo_verify_hosts? no (option unset)
138host in helo_try_verify_hosts? no (option unset)
139host in helo_accept_junk_hosts? no (option unset)
7e9fc567 140SMTP>> 220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000
54c5ebb1
PH
141smtp_setup_msg entered
142SMTP<< mail from:<a@b>
7e9fc567 143SMTP>> 250 OK
54c5ebb1
PH
144SMTP<< rcpt to:<c@d>
145using ACL "check_recipient"
146processing "accept"
147check domains = +local_domains
148d in "@"? no (end of list)
149d in "+local_domains"? no (end of list)
150accept: condition test failed
151processing "accept"
152check hosts = +relay_hosts
153search_open: pgsql "NULL"
154search_find: file="NULL"
155 key="select * from them where id='10.0.0.0'" partial=-1 affix=NULL starflags=0
156LRU list:
157internal_search_find: file="NULL"
158 type=pgsql key="select * from them where id='10.0.0.0'"
159database lookup required for select * from them where id='10.0.0.0'
160PGSQL query: select * from them where id='10.0.0.0'
161PGSQL new connection: host=localhost port= database=test user=CALLER
162PGSQL: no data found
163lookup failed
164host in "net-pgsql;select * from them where id='10.0.0.0'"? no (end of list)
165host in "+relay_hosts"? no (end of list)
166accept: condition test failed
167processing "deny"
168deny: condition test succeeded
7e9fc567 169SMTP>> 550 relay not permitted
54c5ebb1
PH
170LOG: MAIN REJECT
171 H=[10.0.0.0] F=<a@b> rejected RCPT <c@d>: relay not permitted
172SMTP<< rcpt to:<c@d>
173using ACL "check_recipient"
174processing "accept"
175check domains = +local_domains
176d in "@"? no (end of list)
177d in "+local_domains"? no (end of list)
178accept: condition test failed
179processing "accept"
180check hosts = +relay_hosts
181search_open: pgsql "NULL"
182 cached open
183search_find: file="NULL"
184 key="select * from them where id='10.0.0.0'" partial=-1 affix=NULL starflags=0
185LRU list:
186internal_search_find: file="NULL"
187 type=pgsql key="select * from them where id='10.0.0.0'"
188cached data used for lookup of select * from them where id='10.0.0.0'
189lookup failed
190host in "net-pgsql;select * from them where id='10.0.0.0'"? no (end of list)
191host in "+relay_hosts"? no (end of list)
192accept: condition test failed
193processing "deny"
194deny: condition test succeeded
7e9fc567 195SMTP>> 550 relay not permitted
54c5ebb1
PH
196LOG: MAIN REJECT
197 H=[10.0.0.0] F=<a@b> rejected RCPT <c@d>: relay not permitted
198SMTP<< quit
7e9fc567 199SMTP>> 221 myhost.test.ex closing connection
54c5ebb1
PH
200LOG: smtp_connection MAIN
201 SMTP connection from [10.0.0.0] closed by QUIT
202search_tidyup called
203close PGSQL connection: localhost/test/CALLER
204>>>>>>>>>>>>>>>> Exim pid=pppp terminating with rc=0 >>>>>>>>>>>>>>>>
205Exim version x.yz ....
206changed uid/gid: forcing real = effective
207 uid=uuuu gid=CALLER_GID pid=pppp
208configuration file is TESTSUITE/test-config
209admin user
210changed uid/gid: privilege not needed
211 uid=EXIM_UID gid=EXIM_GID pid=pppp
212originator: uid=CALLER_UID gid=CALLER_GID login=CALLER name=CALLER_NAME
213sender address = CALLER@myhost.test.ex
214set_process_info: pppp accepting a local non-SMTP message from <CALLER@myhost.test.ex>
215Sender: CALLER@myhost.test.ex
216Recipients:
217 CALLER
218search_tidyup called
219>>Headers received:
220
221rewrite_one_header: type=F:
222 From: CALLER_NAME <CALLER@myhost.test.ex>
223search_tidyup called
224>>Headers after rewriting and local additions:
225I Message-Id: <E10HmaX-0005vi-00@myhost.test.ex>
226F From: CALLER_NAME <CALLER@myhost.test.ex>
227 Date: Tue, 2 Mar 1999 09:44:33 +0000
228
229Data file written for message 10HmaX-0005vi-00
230>>Generated Received: header line
231P Received: from CALLER by myhost.test.ex with local (Exim x.yz)
232 (envelope-from <CALLER@myhost.test.ex>)
233 id 10HmaX-0005vi-00
234 for CALLER@myhost.test.ex; Tue, 2 Mar 1999 09:44:33 +0000
235calling local_scan(); timeout=300
236local_scan() returned 0 NULL
237Writing spool header file
238Size of headers = sss
239LOG: MAIN
240 <= CALLER@myhost.test.ex U=CALLER P=local S=sss
241created log directory TESTSUITE/spool/log
242search_tidyup called
243exec TESTSUITE/eximdir/exim -DEXIM_PATH=TESTSUITE/eximdir/exim -C TESTSUITE/test-config -d=0xfbb95cfd -odi -Mc 10HmaX-0005vi-00
244Exim version x.yz ....
245changed uid/gid: forcing real = effective
246 uid=uuuu gid=EXIM_GID pid=pppp
247configuration file is TESTSUITE/test-config
248trusted user
249admin user
250skipping ACL configuration - not needed
251set_process_info: pppp delivering specified messages
252set_process_info: pppp delivering 10HmaX-0005vi-00
253reading spool file 10HmaX-0005vi-00-H
254user=CALLER uid=CALLER_UID gid=CALLER_GID sender=CALLER@myhost.test.ex
255sender_local=1 ident=CALLER
256Non-recipients:
257Empty Tree
258---- End of tree ----
259recipients_count=1
260body_linecount=1 message_linecount=7
261Delivery address list:
262 CALLER@myhost.test.ex
263locking TESTSUITE/spool/db/retry.lockfile
264locked TESTSUITE/spool/db/retry.lockfile
265EXIM_DBOPEN(TESTSUITE/spool/db/retry)
266returned from EXIM_DBOPEN
267ensuring TESTSUITE/spool/db/retry.lockfile is owned by exim
268no retry data available
269>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
270Considering: CALLER@myhost.test.ex
271unique = CALLER@myhost.test.ex
272no domain retry record
273no address retry record
274CALLER@myhost.test.ex: queued for routing
275>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
276routing CALLER@myhost.test.ex
277--------> r1 router <--------
278local_part=CALLER domain=myhost.test.ex
279processing address_data
280search_open: pgsql "NULL"
281search_find: file="NULL"
282 key="select name from them where id='CALLER'" partial=-1 affix=NULL starflags=0
283LRU list:
284internal_search_find: file="NULL"
285 type=pgsql key="select name from them where id='CALLER'"
286database lookup required for select name from them where id='CALLER'
287PGSQL query: select name from them where id='CALLER'
288PGSQL new connection: host=localhost port= database=test user=CALLER
289lookup yielded: Philip Hazel
290calling r1 router
291r1 router called for CALLER@myhost.test.ex
292 domain = myhost.test.ex
293set transport t1
294queued for t1 transport: local_part = CALLER
295domain = myhost.test.ex
296 errors_to=NULL
297 domain_data=NULL localpart_data=NULL
298routed by r1 router
299 envelope to: CALLER@myhost.test.ex
300 transport: t1
301>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
302After routing:
303 Local deliveries:
304 CALLER@myhost.test.ex
305 Remote deliveries:
306 Failed addresses:
307 Deferred addresses:
308search_tidyup called
309close PGSQL connection: localhost/test/CALLER
310>>>>>>>>>>>>>>>> Local deliveries >>>>>>>>>>>>>>>>
311--------> CALLER@myhost.test.ex <--------
312locking TESTSUITE/spool/db/retry.lockfile
313locked TESTSUITE/spool/db/retry.lockfile
314EXIM_DBOPEN(TESTSUITE/spool/db/retry)
315returned from EXIM_DBOPEN
316no retry data available
317search_tidyup called
318changed uid/gid: local delivery to CALLER <CALLER@myhost.test.ex> transport=t1
319 uid=CALLER_UID gid=CALLER_GID pid=pppp
320 home=NULL current=/
321set_process_info: pppp delivering 10HmaX-0005vi-00 to CALLER using t1
322appendfile transport entered
323search_open: pgsql "NULL"
324search_find: file="NULL"
325 key="select id from them where id='CALLER'" partial=-1 affix=NULL starflags=0
326LRU list:
327internal_search_find: file="NULL"
328 type=pgsql key="select id from them where id='CALLER'"
329database lookup required for select id from them where id='CALLER'
330PGSQL query: select id from them where id='CALLER'
331PGSQL new connection: host=localhost port= database=test user=CALLER
332lookup yielded: CALLER
333appendfile: mode=600 notify_comsat=0 quota=0 warning=0
334 file=TESTSUITE/test-mail/CALLER format=unix
335 message_prefix=From ${if def:return_path{$return_path}{MAILER-DAEMON}} ${tod_bsdinbox}\n
336 message_suffix=\n
337 maildir_use_size_file=no
338 locking by lockfile fcntl
339lock name: TESTSUITE/test-mail/CALLER.lock
340hitch name: TESTSUITE/test-mail/CALLER.lock.test.ex.dddddddd.pppppppp
341lock file created
342mailbox TESTSUITE/test-mail/CALLER is locked
343writing to file TESTSUITE/test-mail/CALLER
344writing data block fd=8 size=sss timeout=0
345writing data block fd=8 size=sss timeout=0
346writing data block fd=8 size=sss timeout=0
347appendfile yields 0 with errno=dd more_errno=dd
348search_tidyup called
349close PGSQL connection: localhost/test/CALLER
350journalling CALLER@myhost.test.ex
351t1 transport returned OK for CALLER@myhost.test.ex
352post-process CALLER@myhost.test.ex (0)
353CALLER@myhost.test.ex delivered
354LOG: MAIN
355 => CALLER <CALLER@myhost.test.ex> R=r1 T=t1
356>>>>>>>>>>>>>>>> deliveries are done >>>>>>>>>>>>>>>>
357changed uid/gid: post-delivery tidying
358 uid=EXIM_UID gid=EXIM_GID pid=pppp
359set_process_info: pppp tidying up after delivering 10HmaX-0005vi-00
360Processing retry items
361Succeeded addresses:
362CALLER@myhost.test.ex: no retry items
363Failed addresses:
364Deferred addresses:
365end of retry processing
366LOG: MAIN
367 Completed
368end delivery of 10HmaX-0005vi-00
369search_tidyup called
370search_tidyup called
371>>>>>>>>>>>>>>>> Exim pid=pppp terminating with rc=0 >>>>>>>>>>>>>>>>
372search_tidyup called
373>>>>>>>>>>>>>>>> Exim pid=pppp terminating with rc=0 >>>>>>>>>>>>>>>>
374Exim version x.yz ....
375configuration file is TESTSUITE/test-config
376admin user
377search_open: pgsql "NULL"
378search_find: file="NULL"
379 key="select name from them where id='CALLER';" partial=-1 affix=NULL starflags=0
380LRU list:
381internal_search_find: file="NULL"
382 type=pgsql key="select name from them where id='CALLER';"
383database lookup required for select name from them where id='CALLER';
384PGSQL query: select name from them where id='CALLER';
385PGSQL new connection: socket=/tmp/.s.PGSQL.5432 database=test user=CALLER
386lookup yielded: Philip Hazel
387search_tidyup called
388close PGSQL connection: (/tmp/.s.PGSQL.5432)/test/CALLER
389>>>>>>>>>>>>>>>> Exim pid=pppp terminating with rc=0 >>>>>>>>>>>>>>>>