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