Include sender address in retry key for 4xx errors.
[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 set_process_info: pppp delivering 10HmaX-0005vi-00 (just run smtp for x@y in subprocess)
114 search_tidyup called
115 set_process_info: pppp delivering 10HmaX-0005vi-00: waiting for a remote delivery subprocess to finish
116 set_process_info: pppp delivering 10HmaX-0005vi-00
117 reading retry information for T:V4NET.0.0.0:V4NET.0.0.0:1224 from subprocess
118   added retry item
119 reading retry information for R:x@y from subprocess
120   added retry item
121 LOG: MAIN
122   == x@y R=r1 T=smtp defer (dd): Network Error
123 changed uid/gid: post-delivery tidying
124   uid=EXIM_UID gid=EXIM_GID pid=pppp
125 set_process_info: pppp tidying up after delivering 10HmaX-0005vi-00
126 Processing retry items
127 Succeeded addresses:
128 Failed addresses:
129 Deferred addresses:
130 x@y
131 locking TESTSUITE/spool/db/retry.lockfile
132 locked TESTSUITE/spool/db/retry.lockfile
133 EXIM_DBOPEN(TESTSUITE/spool/db/retry)
134 returned from EXIM_DBOPEN
135 opened hints database TESTSUITE/spool/db/retry: flags=O_RDWR
136 address match: subject=x@y pattern=*
137 y in "*"? yes (matched "*")
138 x@y in "*"? yes (matched "*")
139 retry for R:x@y = * 0 0
140 dbfn_read: key=R:x@y
141 failing_interval=ttt message_age=ttt
142 Writing retry data for R:x@y
143   first failed=dddd last try=dddd next try=+1 expired=1
144   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
145 dbfn_write: key=R:x@y
146 address match: subject=*@V4NET.0.0.0 pattern=*
147 V4NET.0.0.0 in "*"? yes (matched "*")
148 *@V4NET.0.0.0 in "*"? yes (matched "*")
149 retry for T:V4NET.0.0.0:V4NET.0.0.0:1224 (y) = * 0 0
150 dbfn_read: key=T:V4NET.0.0.0:V4NET.0.0.0:1224
151 failing_interval=ttt message_age=ttt
152 on queue longer than maximum retry
153 Writing retry data for T:V4NET.0.0.0:V4NET.0.0.0:1224
154   first failed=dddd last try=dddd next try=+0 expired=0
155   errno=dd more_errno=dd,A Network Error
156 dbfn_write: key=T:V4NET.0.0.0:V4NET.0.0.0:1224
157 timed out: all retries expired
158 LOG: MAIN
159   ** x@y: retry timeout exceeded
160 end of retry processing
161 exec TESTSUITE/eximdir/exim -DEXIM_PATH=TESTSUITE/eximdir/exim -C TESTSUITE/test-config -d=0xebb95ced -odi -odi -t -oem -oi -f <> -E10HmaX-0005vi-00
162 Exim version x.yz ....
163 changed uid/gid: forcing real = effective
164   uid=uuuu gid=EXIM_GID pid=pppp
165 configuration file is TESTSUITE/test-config
166 trusted user
167 admin user
168 changed uid/gid: privilege not needed
169   uid=EXIM_UID gid=EXIM_GID pid=pppp
170 originator: uid=EXIM_UID gid=EXIM_GID login=EXIMUSER name=
171 sender address = 
172 set_process_info: pppp accepting a local non-SMTP message from <>
173 Sender: 
174 search_tidyup called
175 >>Headers received:
176 X-Failed-Recipients: x@y
177 Auto-Submitted: auto-replied
178 From: Mail Delivery System <Mailer-Daemon@myhost.test.ex>
179 To: CALLER@myhost.test.ex
180 Subject: Mail delivery failed: returning message to sender
181
182 rewrite_one_header: type=F:
183   From: Mail Delivery System <Mailer-Daemon@myhost.test.ex>
184 rewrite_one_header: type=T:
185   To: CALLER@myhost.test.ex
186 search_tidyup called
187 >>Headers after rewriting and local additions:
188   X-Failed-Recipients: x@y
189   Auto-Submitted: auto-replied
190 F From: Mail Delivery System <Mailer-Daemon@myhost.test.ex>
191 T To: CALLER@myhost.test.ex
192   Subject: Mail delivery failed: returning message to sender
193 I Message-Id: <E10HmaY-0005vi-00@myhost.test.ex>
194   Date: Tue, 2 Mar 1999 09:44:33 +0000
195
196 Data file written for message 10HmaY-0005vi-00
197 >>Generated Received: header line
198 P Received: from EXIMUSER by myhost.test.ex with local (Exim x.yz)
199         id 10HmaY-0005vi-00
200         for CALLER@myhost.test.ex; Tue, 2 Mar 1999 09:44:33 +0000
201 calling local_scan(); timeout=300
202 local_scan() returned 0 NULL
203 Writing spool header file
204 Size of headers = sss
205 LOG: MAIN
206   <= <> R=10HmaX-0005vi-00 U=EXIMUSER P=local S=sss
207 search_tidyup called
208 exec TESTSUITE/eximdir/exim -DEXIM_PATH=TESTSUITE/eximdir/exim -C TESTSUITE/test-config -d=0xebb95ced -odi -Mc 10HmaY-0005vi-00
209 Exim version x.yz ....
210 changed uid/gid: forcing real = effective
211   uid=uuuu gid=EXIM_GID pid=pppp
212 configuration file is TESTSUITE/test-config
213 trusted user
214 admin user
215 set_process_info: pppp delivering specified messages
216 set_process_info: pppp delivering 10HmaY-0005vi-00
217 locking TESTSUITE/spool/db/retry.lockfile
218 locked TESTSUITE/spool/db/retry.lockfile
219 EXIM_DBOPEN(TESTSUITE/spool/db/retry)
220 returned from EXIM_DBOPEN
221 opened hints database TESTSUITE/spool/db/retry: flags=O_RDONLY
222 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
223 Considering: CALLER@myhost.test.ex
224 unique = CALLER@myhost.test.ex
225 dbfn_read: key=R:myhost.test.ex
226 dbfn_read: key=R:CALLER@myhost.test.ex
227 dbfn_read: key=R:CALLER@myhost.test.ex:<>
228 no domain retry record
229 no address retry record
230 CALLER@myhost.test.ex: queued for routing
231 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
232 routing CALLER@myhost.test.ex
233 --------> r0 router <--------
234 local_part=CALLER domain=myhost.test.ex
235 checking local_parts
236 CALLER in "CALLER"? yes (matched "CALLER")
237 checking senders
238 address match: subject= pattern=
239  in ":"? yes (matched "")
240 calling r0 router
241 rda_interpret (string): :blackhole:
242 expanded: :blackhole:
243 file is not a filter file
244 parse_forward_list: :blackhole:
245 extract item: :blackhole:
246 address :blackhole:d
247 LOG: MAIN
248   => :blackhole: <CALLER@myhost.test.ex> R=r0
249 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
250 After routing:
251   Local deliveries:
252   Remote deliveries:
253   Failed addresses:
254   Deferred addresses:
255 search_tidyup called
256 changed uid/gid: post-delivery tidying
257   uid=EXIM_UID gid=EXIM_GID pid=pppp
258 set_process_info: pppp tidying up after delivering 10HmaY-0005vi-00
259 Processing retry items
260 Succeeded addresses:
261 CALLER@myhost.test.ex: no retry items
262 Failed addresses:
263 Deferred addresses:
264 end of retry processing
265 LOG: MAIN
266   Completed
267 search_tidyup called
268 search_tidyup called
269 >>>>>>>>>>>>>>>> Exim pid=pppp terminating with rc=0 >>>>>>>>>>>>>>>>
270 search_tidyup called
271 >>>>>>>>>>>>>>>> Exim pid=pppp terminating with rc=0 >>>>>>>>>>>>>>>>
272 Writing spool header file
273 Size of headers = sss
274 LOG: MAIN
275   Completed
276 search_tidyup called
277 search_tidyup called
278 >>>>>>>>>>>>>>>> Exim pid=pppp terminating with rc=0 >>>>>>>>>>>>>>>>