Hintsbd: fix locking
[exim.git] / test / stderr / 0487
1 Exim version x.yz ....
2 Hints DB:
3 changed uid/gid: forcing real = effective
4   uid=uuuu gid=CALLER_GID pid=p1234
5 seeking password data for user "CALLER": cache not available
6 getpwnam() succeeded uid=CALLER_UID gid=CALLER_GID
7 configuration file is TESTSUITE/test-config
8 trusted user
9 admin user
10 changed uid/gid: privilege not needed
11   uid=EXIM_UID gid=EXIM_GID pid=p1234
12 seeking password data for user "CALLER": using cached result
13 getpwnam() succeeded uid=CALLER_UID gid=CALLER_GID
14 originator: uid=CALLER_UID gid=CALLER_GID login=CALLER name=CALLER_NAME
15 sender address = NULL
16 set_process_info: pppp accepting a local SMTP message from <CALLER>
17  in hosts_connection_nolog? no (option unset)
18 LOG: smtp_connection MAIN
19   SMTP connection from CALLER
20 SMTP>> 220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000
21 smtp_setup_msg entered
22 SMTP<< ehlo x.y
23  list element: *
24   in limits_advertise_hosts? yes (matched "*")
25  in dsn_advertise_hosts? no (option unset)
26  in pipelining_advertise_hosts?
27  list element: *
28   in pipelining_advertise_hosts? yes (matched "*")
29  in chunking_advertise_hosts?
30  in chunking_advertise_hosts? no (end of list)
31 SMTP>> 250-myhost.test.ex Hello CALLER at x.y
32        250-SIZE 52428800
33        250-LIMITS MAILMAX=1000 RCPTMAX=50000
34        250-8BITMIME
35        250-PIPELINING
36        250 HELP
37 SMTP<< mail from:<x@y>
38 spool directory space = nnnnnK inodes = nnnnn check_space = 10240K inodes = 100 msg_size = 0
39 log directory space = nnnnnK inodes = nnnnn check_space = 10240K inodes = 100
40 SMTP>> 250 OK
41 SMTP<< rcpt to:<userx@test.ex>
42 processing "accept" (TESTSUITE/test-config 34)
43 accept: condition test succeeded in inline ACL
44 end of inline ACL: ACCEPT
45 SMTP>> 250 Accepted
46 SMTP<< data
47 SMTP>> 354 Enter message, ending with "." on a line by itself
48 search_tidyup called
49 >>Headers received:
50 From: unqualified
51
52 qualify & rewrite recipients list
53 rewrite rules on sender address
54 qualify and rewrite headers
55  rewrite_one_header: type=F:
56    From: unqualified
57 search_tidyup called
58 >>Headers after rewriting and local additions:
59  F From: unqualified
60  I Message-Id: <E10HmaX-000000005vi-0000@myhost.test.ex>
61    Date: Tue, 2 Mar 1999 09:44:33 +0000
62
63 Data file name: TESTSUITE/spool//input//10HmaX-000000005vi-0000-D
64 Data file written for message 10HmaX-000000005vi-0000
65 >>Generated Received: header line
66 P Received: from CALLER (helo=x.y)
67         by myhost.test.ex with local-esmtp (Exim x.yz)
68         (envelope-from <x@y>)
69         id 10HmaX-000000005vi-0000
70         for userx@test.ex;
71         Tue, 2 Mar 1999 09:44:33 +0000
72 Writing spool header file: TESTSUITE/spool//input//hdr.10HmaX-000000005vi-0000
73 DSN: **** SPOOL_OUT - address: <userx@test.ex> errorsto: <NULL> orcpt: <NULL> dsn_flags: 0x0
74 Renaming spool header file: TESTSUITE/spool//input//10HmaX-000000005vi-0000-H
75 Size of headers = sss
76 LOG: MAIN
77   <= x@y U=CALLER P=local-esmtp S=sss
78 created log directory TESTSUITE/spool/log
79 SMTP>> 250 OK id=10HmaX-000000005vi-0000
80 search_tidyup called
81 exec TESTSUITE/eximdir/exim -DEXIM_PATH=TESTSUITE/eximdir/exim -C TESTSUITE/test-config -d=0xf7715cfd -MCd local-accept-delivery -odi -Mc 10HmaX-000000005vi-0000
82 Exim version x.yz ....
83 Hints DB:
84 changed uid/gid: forcing real = effective
85   uid=uuuu gid=EXIM_GID pid=p1235
86 seeking password data for user "CALLER": cache not available
87 getpwnam() succeeded uid=CALLER_UID gid=CALLER_GID
88 configuration file is TESTSUITE/test-config
89 trusted user
90 admin user
91 dropping to exim gid; retaining priv uid
92 seeking password data for user "CALLER": using cached result
93 getpwnam() succeeded uid=CALLER_UID gid=CALLER_GID
94 set_process_info: pppp delivering specified messages
95 set_process_info: pppp delivering 10HmaX-000000005vi-0000
96 Trying spool file TESTSUITE/spool//input//10HmaX-000000005vi-0000-D
97 reading spool file 10HmaX-000000005vi-0000-H
98 user=CALLER uid=CALLER_UID gid=CALLER_GID sender=x@y
99 sender_local=0 ident=CALLER
100 Non-recipients:
101  Empty Tree
102 ---- End of tree ----
103 recipients_count=1
104 **** SPOOL_IN - No additional fields
105 body_linecount=1 message_linecount=9
106 DSN: set orcpt:   flags: 0x0
107 Delivery address list:
108   userx@test.ex 
109  locking TESTSUITE/spool/db/retry.lockfile
110  locked  TESTSUITE/spool/db/retry.lockfile
111  EXIM_DBOPEN: file <TESTSUITE/spool/db/retry> dir <TESTSUITE/spool/db> flags=O_RDONLY
112  returned from EXIM_DBOPEN: (nil)
113  failed to open DB file TESTSUITE/spool/db/retry: No such file or directory
114 no retry data available
115 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
116 Considering: userx@test.ex
117 unique = userx@test.ex
118 no   domain  retry record
119 no   address retry record
120 userx@test.ex: queued for routing
121 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
122 routing userx@test.ex
123 --------> r1 router <--------
124 local_part=userx domain=test.ex
125 calling r1 router
126 r1 router called for userx@test.ex
127   domain = test.ex
128 set transport t1
129 queued for t1 transport: local_part = userx
130 domain = test.ex
131   errors_to=NULL
132   domain_data=NULL local_part_data=NULL
133 routed by r1 router
134   envelope to: userx@test.ex
135   transport: t1
136 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
137 After routing:
138   Local deliveries:
139     userx@test.ex
140   Remote deliveries:
141   Failed addresses:
142   Deferred addresses:
143 search_tidyup called
144 >>>>>>>>>>>>>>>> Local deliveries >>>>>>>>>>>>>>>>
145 --------> userx@test.ex <--------
146  locking TESTSUITE/spool/db/retry.lockfile
147  locked  TESTSUITE/spool/db/retry.lockfile
148  EXIM_DBOPEN: file <TESTSUITE/spool/db/retry> dir <TESTSUITE/spool/db> flags=O_RDONLY
149  returned from EXIM_DBOPEN: (nil)
150  failed to open DB file TESTSUITE/spool/db/retry: No such file or directory
151 no retry data available
152 search_tidyup called
153 changed uid/gid: local delivery to userx <userx@test.ex> transport=t1
154   uid=CALLER_UID gid=CALLER_GID pid=p1236
155   home=NULL current=/
156 set_process_info: pppp delivering 10HmaX-000000005vi-0000 to userx using t1
157 appendfile transport entered
158 appendfile: mode=600 notify_comsat=0 quota=0 warning=0
159   file=TESTSUITE/test-mail/userx format=unix
160   message_prefix=From ${if def:return_path{$return_path}{MAILER-DAEMON}} ${tod_bsdinbox}\n
161   message_suffix=\n
162   maildir_use_size_file=no
163   locking by lockfile fcntl 
164 below-home: de-tainting path 'TESTSUITE/test-mail/userx'
165 lock name: TESTSUITE/test-mail/userx.lock
166 hitch name: TESTSUITE/test-mail/userx.lock.test.ex.dddddddd.pppppppp
167 lock file created
168 mailbox TESTSUITE/test-mail/userx is locked
169 writing to file TESTSUITE/test-mail/userx
170 writing data block fd=dddd size=sss timeout=0
171 rewrite_one_header: type=F:
172   From: unqualified
173 cannot use sendfile for body: spoolfile not wireformat
174 writing data block fd=dddd size=sss timeout=0
175 writing data block fd=dddd size=sss timeout=0
176 appendfile yields 0 with errno=dd more_errno=dd
177 search_tidyup called
178 journalling userx@test.ex
179 t1 transport returned OK for userx@test.ex
180 post-process userx@test.ex (0)
181 userx@test.ex delivered
182 LOG: MAIN
183   => userx <userx@test.ex> R=r1 T=t1
184 >>>>>>>>>>>>>>>> deliveries are done >>>>>>>>>>>>>>>>
185 changed uid/gid: post-delivery tidying
186   uid=EXIM_UID gid=EXIM_GID pid=p1235
187 set_process_info: pppp tidying up after delivering 10HmaX-000000005vi-0000
188 Processing retry items
189 Succeeded addresses:
190  userx@test.ex: no retry items
191 Failed addresses:
192 Deferred addresses:
193 end of retry processing
194 DSN: processing router : r1
195 DSN: processing successful delivery address: userx@test.ex
196 DSN: Sender_address: x@y
197 DSN: orcpt: NULL  flags: 0x0
198 DSN: envid: NULL  ret: 0
199 DSN: Final recipient: userx@test.ex
200 DSN: Remote SMTP server supports DSN: 0
201 DSN: not sending DSN success message
202 LOG: MAIN
203   Completed
204 end delivery of 10HmaX-000000005vi-0000
205 search_tidyup called
206 search_tidyup called
207 >>>>>>>>>>>>>>>> Exim pid=p1235 (local-accept-delivery) terminating with rc=0 >>>>>>>>>>>>>>>>
208 smtp_setup_msg entered
209 SMTP<< quit
210 SMTP>> 221 myhost.test.ex closing connection
211 LOG: smtp_connection MAIN
212   SMTP connection from CALLER D=qqs closed by QUIT
213 search_tidyup called
214 >>>>>>>>>>>>>>>> Exim pid=p1234 (fresh-exec) terminating with rc=0 >>>>>>>>>>>>>>>>