Merge branch 'master' into 4.next
[exim.git] / test / stderr / 0388
1 Exim version x.yz ....
2 changed uid/gid: forcing real = effective
3   uid=uuuu gid=CALLER_GID pid=pppp
4 configuration file is TESTSUITE/test-config
5 admin user
6 set_process_info: pppp delivering specified messages
7 set_process_info: pppp delivering 10HmaX-0005vi-00
8 locking TESTSUITE/spool/db/retry.lockfile
9 locked  TESTSUITE/spool/db/retry.lockfile
10 EXIM_DBOPEN: file <TESTSUITE/spool/db/retry> dir <TESTSUITE/spool/db> flags=O_RDONLY
11 returned from EXIM_DBOPEN: (nil)
12 ensuring TESTSUITE/spool/db/retry.lockfile is owned by exim
13 failed to open DB file TESTSUITE/spool/db/retry.lockfile: No such file or directory
14 no retry data available
15 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
16 Considering: x@y
17 unique = x@y
18 no domain retry record
19 no address retry record
20 x@y: queued for routing
21 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
22 routing x@y
23 --------> r0 router <--------
24 local_part=x domain=y
25 checking local_parts
26 x in "CALLER"? no (end of list)
27 r0 router skipped: local_parts mismatch
28 --------> r1 router <--------
29 local_part=x domain=y
30 calling r1 router
31 r1 router called for x@y
32   domain = y
33 route_item = * "127.0.0.1 : V4NET.0.0.0"
34 y in "*"? yes (matched "*")
35 original list of hosts = "127.0.0.1 : V4NET.0.0.0" options = 
36 expanded list of hosts = "127.0.0.1 : V4NET.0.0.0" options = 
37 set transport smtp
38 finding IP address for 127.0.0.1
39 calling host_find_byname
40 using host_fake_gethostbyname for 127.0.0.1 (IPv4)
41 local host found for non-MX address
42 fully qualified name = 127.0.0.1
43 MUNGED: ::1 will be omitted in what follows
44 get[host|ipnode]byname[2] looked up these IP addresses:
45   name=127.0.0.1 address=127.0.0.1
46 remote host address is the local host: y: configured to try delivery anyway
47 finding IP address for V4NET.0.0.0
48 calling host_find_byname
49 using host_fake_gethostbyname for V4NET.0.0.0 (IPv4)
50 fully qualified name = V4NET.0.0.0
51 MUNGED: ::1 will be omitted in what follows
52 get[host|ipnode]byname[2] looked up these IP addresses:
53   name=V4NET.0.0.0 address=V4NET.0.0.0
54 queued for smtp transport: local_part = x
55 domain = y
56   errors_to=NULL
57   domain_data=NULL localpart_data=NULL
58 routed by r1 router
59   envelope to: x@y
60   transport: smtp
61   host 127.0.0.1 [127.0.0.1]
62   host V4NET.0.0.0 [V4NET.0.0.0]
63 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
64 After routing:
65   Local deliveries:
66   Remote deliveries:
67     x@y
68   Failed addresses:
69   Deferred addresses:
70 search_tidyup called
71 search_tidyup called
72 changed uid/gid: remote delivery to x@y with transport=smtp
73   uid=EXIM_UID gid=EXIM_GID pid=pppp
74 set_process_info: pppp delivering 10HmaX-0005vi-00 using smtp
75 checking status of 127.0.0.1
76 locking TESTSUITE/spool/db/retry.lockfile
77 locked  TESTSUITE/spool/db/retry.lockfile
78 EXIM_DBOPEN: file <TESTSUITE/spool/db/retry> dir <TESTSUITE/spool/db> flags=O_RDONLY
79 returned from EXIM_DBOPEN: (nil)
80 failed to open DB file TESTSUITE/spool/db/retry: No such file or directory
81 no retry data available
82 127.0.0.1 in serialize_hosts? no (option unset)
83 set_process_info: pppp delivering 10HmaX-0005vi-00 to 127.0.0.1 [127.0.0.1] (x@y)
84 Connecting to 127.0.0.1 [127.0.0.1]:1224 ... connected
85   SMTP<< 220 Server ready
86 127.0.0.1 in hosts_avoid_esmtp? no (option unset)
87   SMTP>> EHLO myhost.test.ex
88 cmd buf flush ddd bytes
89   SMTP<< 250 OK
90 127.0.0.1 in hosts_require_auth? no (option unset)
91   SMTP>> MAIL FROM:<CALLER@myhost.test.ex>
92 cmd buf flush ddd bytes
93   SMTP<< 250 OK
94   SMTP>> RCPT TO:<x@y>
95 cmd buf flush ddd bytes
96   SMTP<< 451 Temporary error
97 LOG: MAIN
98   H=127.0.0.1 [127.0.0.1]: SMTP error from remote mail server after RCPT TO:<x@y>: 451 Temporary error
99 added retry item for R:x@y: errno=-44 more_errno=dd,A flags=0
100   SMTP>> QUIT
101 cmd buf flush ddd bytes
102   SMTP(close)>>
103 set_process_info: pppp delivering 10HmaX-0005vi-00: just tried 127.0.0.1 [127.0.0.1] for x@y: result OK
104 address match test: subject=*@127.0.0.1 pattern=*
105 127.0.0.1 in "*"? yes (matched "*")
106 *@127.0.0.1 in "*"? yes (matched "*")
107 checking status of V4NET.0.0.0
108 locking TESTSUITE/spool/db/retry.lockfile
109 locked  TESTSUITE/spool/db/retry.lockfile
110 EXIM_DBOPEN: file <TESTSUITE/spool/db/retry> dir <TESTSUITE/spool/db> flags=O_RDONLY
111 returned from EXIM_DBOPEN: (nil)
112 failed to open DB file TESTSUITE/spool/db/retry: No such file or directory
113 no retry data available
114 V4NET.0.0.0 in serialize_hosts? no (option unset)
115 set_process_info: pppp delivering 10HmaX-0005vi-00 to V4NET.0.0.0 [V4NET.0.0.0] (x@y)
116 Connecting to V4NET.0.0.0 [V4NET.0.0.0]:1224 ... failed: Network Error
117 LOG: MAIN
118   H=V4NET.0.0.0 [V4NET.0.0.0] Network Error
119 set_process_info: pppp delivering 10HmaX-0005vi-00: just tried V4NET.0.0.0 [V4NET.0.0.0] for x@y: result DEFER
120 added retry item for T:V4NET.0.0.0:V4NET.0.0.0:1224: errno=dd more_errno=dd,A flags=2
121 set_process_info: pppp delivering 10HmaX-0005vi-00 (just run smtp for x@y in subprocess)
122 search_tidyup called
123 set_process_info: pppp delivering 10HmaX-0005vi-00: waiting for a remote delivery subprocess to finish
124 set_process_info: pppp delivering 10HmaX-0005vi-00
125 reading retry information for T:V4NET.0.0.0:V4NET.0.0.0:1224 from subprocess
126   added retry item
127 reading retry information for R:x@y from subprocess
128   added retry item
129 LOG: MAIN
130   == x@y R=r1 T=smtp defer (dd): Network Error H=127.0.0.1 [127.0.0.1]
131 changed uid/gid: post-delivery tidying
132   uid=EXIM_UID gid=EXIM_GID pid=pppp
133 set_process_info: pppp tidying up after delivering 10HmaX-0005vi-00
134 Processing retry items
135 Succeeded addresses:
136 Failed addresses:
137 Deferred addresses:
138  x@y
139 locking TESTSUITE/spool/db/retry.lockfile
140 locked  TESTSUITE/spool/db/retry.lockfile
141 EXIM_DBOPEN: file <TESTSUITE/spool/db/retry> dir <TESTSUITE/spool/db> flags=O_RDWR
142 returned from EXIM_DBOPEN: 0xAAAAAAAA
143 opened hints database TESTSUITE/spool/db/retry: flags=O_RDWR
144 address match test: subject=x@y pattern=*
145 y in "*"? yes (matched "*")
146 x@y in "*"? yes (matched "*")
147 retry for R:x@y = * 0 0
148 dbfn_read: key=R:x@y
149 failing_interval=ttt message_age=ttt
150 Writing retry data for R:x@y
151   first failed=dddd last try=dddd next try=+1 expired=1
152   errno=-44 more_errno=dd,A H=127.0.0.1 [127.0.0.1]: SMTP error from remote mail server after RCPT TO:<x@y>: 451 Temporary error
153 dbfn_write: key=R:x@y
154 address match test: subject=*@V4NET.0.0.0 pattern=*
155 V4NET.0.0.0 in "*"? yes (matched "*")
156 *@V4NET.0.0.0 in "*"? yes (matched "*")
157 retry for T:V4NET.0.0.0:V4NET.0.0.0:1224 (y) = * 0 0
158 dbfn_read: key=T:V4NET.0.0.0:V4NET.0.0.0:1224
159 failing_interval=ttt message_age=ttt
160 on queue longer than maximum retry
161 Writing retry data for T:V4NET.0.0.0:V4NET.0.0.0:1224
162   first failed=dddd last try=dddd next try=+0 expired=0
163   errno=dd more_errno=dd,A Network Error
164 dbfn_write: key=T:V4NET.0.0.0:V4NET.0.0.0:1224
165 timed out: all retries expired
166 LOG: MAIN
167   ** x@y: retry timeout exceeded
168 EXIM_DBCLOSE(0xAAAAAAAA)
169 closed hints database and lockfile
170 end of retry processing
171 exec TESTSUITE/eximdir/exim -DEXIM_PATH=TESTSUITE/eximdir/exim -C TESTSUITE/test-config -d=0xebb95ced -odi -odi -t -oem -oi -f <> -E10HmaX-0005vi-00
172 Exim version x.yz ....
173 changed uid/gid: forcing real = effective
174   uid=uuuu gid=EXIM_GID pid=pppp
175 configuration file is TESTSUITE/test-config
176 trusted user
177 admin user
178 changed uid/gid: privilege not needed
179   uid=EXIM_UID gid=EXIM_GID pid=pppp
180 originator: uid=EXIM_UID gid=EXIM_GID login=EXIMUSER name=
181 sender address = 
182 set_process_info: pppp accepting a local non-SMTP message from <>
183 spool directory space = nnnnnK inodes = nnnnn check_space = 10240K inodes = 100 msg_size = 0
184 log directory space = nnnnnK inodes = nnnnn check_space = 10240K inodes = 100
185 Sender: 
186 search_tidyup called
187 >>Headers received:
188 X-Failed-Recipients: x@y
189 Auto-Submitted: auto-replied
190 From: Mail Delivery System <Mailer-Daemon@myhost.test.ex>
191 To: CALLER@myhost.test.ex
192 Content-Type: multipart/report; report-type=delivery-status; boundary=NNNNNNNNNN-eximdsn-MMMMMMMMMM
193 MIME-Version: 1.0
194 Subject: Mail delivery failed: returning message to sender
195
196 rewrite_one_header: type=F:
197   From: Mail Delivery System <Mailer-Daemon@myhost.test.ex>
198 rewrite_one_header: type=T:
199   To: CALLER@myhost.test.ex
200 search_tidyup called
201 >>Headers after rewriting and local additions:
202   X-Failed-Recipients: x@y
203   Auto-Submitted: auto-replied
204 F From: Mail Delivery System <Mailer-Daemon@myhost.test.ex>
205 T To: CALLER@myhost.test.ex
206   Content-Type: multipart/report; report-type=delivery-status; boundary=NNNNNNNNNN-eximdsn-MMMMMMMMMM
207   MIME-Version: 1.0
208   Subject: Mail delivery failed: returning message to sender
209 I Message-Id: <E10HmaY-0005vi-00@myhost.test.ex>
210   Date: Tue, 2 Mar 1999 09:44:33 +0000
211
212 Data file name: TESTSUITE/spool//input//10HmaY-0005vi-00-D
213 Data file written for message 10HmaY-0005vi-00
214 >>Generated Received: header line
215 P Received: from EXIMUSER by myhost.test.ex with local (Exim x.yz)
216         id 10HmaY-0005vi-00
217         for CALLER@myhost.test.ex; Tue, 2 Mar 1999 09:44:33 +0000
218 calling local_scan(); timeout=300
219 local_scan() returned 0 NULL
220 Writing spool header file: TESTSUITE/spool//input//hdr.pppp
221 Renaming spool header file: TESTSUITE/spool//input//10HmaY-0005vi-00-H
222 Size of headers = sss
223 LOG: MAIN
224   <= <> R=10HmaX-0005vi-00 U=EXIMUSER P=local S=sss
225 search_tidyup called
226 exec TESTSUITE/eximdir/exim -DEXIM_PATH=TESTSUITE/eximdir/exim -C TESTSUITE/test-config -d=0xebb95ced -odi -Mc 10HmaY-0005vi-00
227 Exim version x.yz ....
228 changed uid/gid: forcing real = effective
229   uid=uuuu gid=EXIM_GID pid=pppp
230 configuration file is TESTSUITE/test-config
231 trusted user
232 admin user
233 set_process_info: pppp delivering specified messages
234 set_process_info: pppp delivering 10HmaY-0005vi-00
235 locking TESTSUITE/spool/db/retry.lockfile
236 locked  TESTSUITE/spool/db/retry.lockfile
237 EXIM_DBOPEN: file <TESTSUITE/spool/db/retry> dir <TESTSUITE/spool/db> flags=O_RDONLY
238 returned from EXIM_DBOPEN: 0xAAAAAAAA
239 opened hints database TESTSUITE/spool/db/retry: flags=O_RDONLY
240 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
241 Considering: CALLER@myhost.test.ex
242 unique = CALLER@myhost.test.ex
243 dbfn_read: key=R:myhost.test.ex
244 dbfn_read: key=R:CALLER@myhost.test.ex
245 dbfn_read: key=R:CALLER@myhost.test.ex:<>
246 no domain retry record
247 no address retry record
248 CALLER@myhost.test.ex: queued for routing
249 EXIM_DBCLOSE(0xAAAAAAAA)
250 closed hints database and lockfile
251 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
252 routing CALLER@myhost.test.ex
253 --------> r0 router <--------
254 local_part=CALLER domain=myhost.test.ex
255 checking local_parts
256 CALLER in "CALLER"? yes (matched "CALLER")
257 checking senders
258 address match test: subject= pattern=
259  in ":"? yes (matched "")
260 calling r0 router
261 rda_interpret (string): :blackhole:
262 expanded: :blackhole:
263 file is not a filter file
264 parse_forward_list: :blackhole:
265 extract item: :blackhole:
266 address :blackhole:d
267 LOG: MAIN
268   => :blackhole: <CALLER@myhost.test.ex> R=r0
269 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
270 After routing:
271   Local deliveries:
272   Remote deliveries:
273   Failed addresses:
274   Deferred addresses:
275 search_tidyup called
276 changed uid/gid: post-delivery tidying
277   uid=EXIM_UID gid=EXIM_GID pid=pppp
278 set_process_info: pppp tidying up after delivering 10HmaY-0005vi-00
279 Processing retry items
280 Succeeded addresses:
281  CALLER@myhost.test.ex: no retry items
282 Failed addresses:
283 Deferred addresses:
284 end of retry processing
285 LOG: MAIN
286   Completed
287 search_tidyup called
288 search_tidyup called
289 >>>>>>>>>>>>>>>> Exim pid=pppp (main) terminating with rc=0 >>>>>>>>>>>>>>>>
290 search_tidyup called
291 >>>>>>>>>>>>>>>> Exim pid=pppp (main) terminating with rc=0 >>>>>>>>>>>>>>>>
292 Writing spool header file: TESTSUITE/spool//input//hdr.pppp
293 Renaming spool header file: TESTSUITE/spool//input//10HmaX-0005vi-00-H
294 Size of headers = sss
295 LOG: MAIN
296   Completed
297 search_tidyup called
298 search_tidyup called
299 >>>>>>>>>>>>>>>> Exim pid=pppp (main) terminating with rc=0 >>>>>>>>>>>>>>>>