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