Routing: for efficiency, avoid complexifying the "condition" string until the second...
[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 DSN: r0 propagating DSN
7 DSN: r1 propagating DSN
8 set_process_info: pppp delivering specified messages
9 set_process_info: pppp delivering 10HmaX-0005vi-00
10 locking TESTSUITE/spool/db/retry.lockfile
11 locked  TESTSUITE/spool/db/retry.lockfile
12 EXIM_DBOPEN(TESTSUITE/spool/db/retry)
13 returned from EXIM_DBOPEN
14 ensuring TESTSUITE/spool/db/retry.lockfile is owned by exim
15 no retry data available
16 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
17 Considering: x@y
18 unique = x@y
19 no domain retry record
20 no address retry record
21 x@y: queued for routing
22 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
23 routing x@y
24 --------> r0 router <--------
25 local_part=x domain=y
26 checking local_parts
27 x in "CALLER"? no (end of list)
28 r0 router skipped: local_parts mismatch
29 --------> r1 router <--------
30 local_part=x domain=y
31 calling r1 router
32 r1 router called for x@y
33   domain = y
34 route_item = * "127.0.0.1 : V4NET.0.0.0"
35 y in "*"? yes (matched "*")
36 original list of hosts = "127.0.0.1 : V4NET.0.0.0" options = 
37 expanded list of hosts = "127.0.0.1 : V4NET.0.0.0" options = 
38 set transport smtp
39 finding IP address for 127.0.0.1
40 calling host_find_byname
41 using host_fake_gethostbyname for 127.0.0.1 (IPv4)
42 local host found for non-MX address
43 fully qualified name = 127.0.0.1
44 MUNGED: ::1 will be omitted in what follows
45 get[host|ipnode]byname[2] looked up these IP addresses:
46   name=127.0.0.1 address=127.0.0.1
47 remote host address is the local host: y: configured to try delivery anyway
48 finding IP address for V4NET.0.0.0
49 calling host_find_byname
50 using host_fake_gethostbyname for V4NET.0.0.0 (IPv4)
51 fully qualified name = V4NET.0.0.0
52 MUNGED: ::1 will be omitted in what follows
53 get[host|ipnode]byname[2] looked up these IP addresses:
54   name=V4NET.0.0.0 address=V4NET.0.0.0
55 queued for smtp transport: local_part = x
56 domain = y
57   errors_to=NULL
58   domain_data=NULL localpart_data=NULL
59 routed by r1 router
60   envelope to: x@y
61   transport: smtp
62   host 127.0.0.1 [127.0.0.1]
63   host V4NET.0.0.0 [V4NET.0.0.0]
64 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
65 After routing:
66   Local deliveries:
67   Remote deliveries:
68     x@y
69   Failed addresses:
70   Deferred addresses:
71 search_tidyup called
72 search_tidyup called
73 changed uid/gid: remote delivery to x@y with transport=smtp
74   uid=EXIM_UID gid=EXIM_GID pid=pppp
75 set_process_info: pppp delivering 10HmaX-0005vi-00 using smtp
76 checking status of 127.0.0.1
77 locking TESTSUITE/spool/db/retry.lockfile
78 locked  TESTSUITE/spool/db/retry.lockfile
79 EXIM_DBOPEN(TESTSUITE/spool/db/retry)
80 returned from EXIM_DBOPEN
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(TESTSUITE/spool/db/retry)
111 returned from EXIM_DBOPEN
112 no retry data available
113 V4NET.0.0.0 in serialize_hosts? no (option unset)
114 set_process_info: pppp delivering 10HmaX-0005vi-00 to V4NET.0.0.0 [V4NET.0.0.0] (x@y)
115 Connecting to V4NET.0.0.0 [V4NET.0.0.0]:1224 ... failed: Network Error
116 LOG: MAIN
117   H=V4NET.0.0.0 [V4NET.0.0.0] Network Error
118 set_process_info: pppp delivering 10HmaX-0005vi-00: just tried V4NET.0.0.0 [V4NET.0.0.0] for x@y: result DEFER
119 added retry item for T:V4NET.0.0.0:V4NET.0.0.0:1224: errno=dd more_errno=dd,A flags=2
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 H=127.0.0.1 [127.0.0.1]
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 test: 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 H=127.0.0.1 [127.0.0.1]: SMTP error from remote mail server after RCPT TO:<x@y>: 451 Temporary error
152 dbfn_write: key=R:x@y
153 address match test: 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 closed hints database and lockfile
168 end of retry processing
169 exec TESTSUITE/eximdir/exim -DEXIM_PATH=TESTSUITE/eximdir/exim -C TESTSUITE/test-config -d=0xebb95ced -odi -odi -t -oem -oi -f <> -E10HmaX-0005vi-00
170 Exim version x.yz ....
171 changed uid/gid: forcing real = effective
172   uid=uuuu gid=EXIM_GID pid=pppp
173 configuration file is TESTSUITE/test-config
174 trusted user
175 admin user
176 changed uid/gid: privilege not needed
177   uid=EXIM_UID gid=EXIM_GID pid=pppp
178 DSN: r0 propagating DSN
179 DSN: r1 propagating DSN
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 Sender: 
184 search_tidyup called
185 >>Headers received:
186 X-Failed-Recipients: x@y
187 Auto-Submitted: auto-replied
188 From: Mail Delivery System <Mailer-Daemon@myhost.test.ex>
189 To: CALLER@myhost.test.ex
190 Content-Type: multipart/report; report-type=delivery-status; boundary=NNNNNNNNNN-eximdsn-MMMMMMMMMM
191 MIME-Version: 1.0
192 Subject: Mail delivery failed: returning message to sender
193
194 rewrite_one_header: type=F:
195   From: Mail Delivery System <Mailer-Daemon@myhost.test.ex>
196 rewrite_one_header: type=T:
197   To: CALLER@myhost.test.ex
198 search_tidyup called
199 >>Headers after rewriting and local additions:
200   X-Failed-Recipients: x@y
201   Auto-Submitted: auto-replied
202 F From: Mail Delivery System <Mailer-Daemon@myhost.test.ex>
203 T To: CALLER@myhost.test.ex
204   Content-Type: multipart/report; report-type=delivery-status; boundary=NNNNNNNNNN-eximdsn-MMMMMMMMMM
205   MIME-Version: 1.0
206   Subject: Mail delivery failed: returning message to sender
207 I Message-Id: <E10HmaY-0005vi-00@myhost.test.ex>
208   Date: Tue, 2 Mar 1999 09:44:33 +0000
209
210 Data file name: TESTSUITE/spool//input//10HmaY-0005vi-00-D
211 Data file written for message 10HmaY-0005vi-00
212 >>Generated Received: header line
213 P Received: from EXIMUSER by myhost.test.ex with local (Exim x.yz)
214         id 10HmaY-0005vi-00
215         for CALLER@myhost.test.ex; Tue, 2 Mar 1999 09:44:33 +0000
216 calling local_scan(); timeout=300
217 local_scan() returned 0 NULL
218 Writing spool header file: TESTSUITE/spool//input//hdr.pppp
219 Renaming spool header file: TESTSUITE/spool//input//10HmaY-0005vi-00-H
220 Size of headers = sss
221 LOG: MAIN
222   <= <> R=10HmaX-0005vi-00 U=EXIMUSER P=local S=sss
223 search_tidyup called
224 exec TESTSUITE/eximdir/exim -DEXIM_PATH=TESTSUITE/eximdir/exim -C TESTSUITE/test-config -d=0xebb95ced -odi -Mc 10HmaY-0005vi-00
225 Exim version x.yz ....
226 changed uid/gid: forcing real = effective
227   uid=uuuu gid=EXIM_GID pid=pppp
228 configuration file is TESTSUITE/test-config
229 trusted user
230 admin user
231 DSN: r0 propagating DSN
232 DSN: r1 propagating DSN
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(TESTSUITE/spool/db/retry)
238 returned from EXIM_DBOPEN
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 closed hints database and lockfile
250 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
251 routing CALLER@myhost.test.ex
252 --------> r0 router <--------
253 local_part=CALLER domain=myhost.test.ex
254 checking local_parts
255 CALLER in "CALLER"? yes (matched "CALLER")
256 checking senders
257 address match test: subject= pattern=
258  in ":"? yes (matched "")
259 calling r0 router
260 rda_interpret (string): :blackhole:
261 expanded: :blackhole:
262 file is not a filter file
263 parse_forward_list: :blackhole:
264 extract item: :blackhole:
265 address :blackhole:d
266 LOG: MAIN
267   => :blackhole: <CALLER@myhost.test.ex> R=r0
268 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
269 After routing:
270   Local deliveries:
271   Remote deliveries:
272   Failed addresses:
273   Deferred addresses:
274 search_tidyup called
275 changed uid/gid: post-delivery tidying
276   uid=EXIM_UID gid=EXIM_GID pid=pppp
277 set_process_info: pppp tidying up after delivering 10HmaY-0005vi-00
278 Processing retry items
279 Succeeded addresses:
280  CALLER@myhost.test.ex: no retry items
281 Failed addresses:
282 Deferred addresses:
283 end of retry processing
284 LOG: MAIN
285   Completed
286 search_tidyup called
287 search_tidyup called
288 >>>>>>>>>>>>>>>> Exim pid=pppp terminating with rc=0 >>>>>>>>>>>>>>>>
289 search_tidyup called
290 >>>>>>>>>>>>>>>> Exim pid=pppp terminating with rc=0 >>>>>>>>>>>>>>>>
291 Writing spool header file: TESTSUITE/spool//input//hdr.pppp
292 Renaming spool header file: TESTSUITE/spool//input//10HmaX-0005vi-00-H
293 Size of headers = sss
294 LOG: MAIN
295   Completed
296 search_tidyup called
297 search_tidyup called
298 >>>>>>>>>>>>>>>> Exim pid=pppp terminating with rc=0 >>>>>>>>>>>>>>>>