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