Testsuite: bounce_message_file and warn_message_file
[users/heiko/exim.git] / test / mail / 0622.bounce_message
1 From MAILER-DAEMON Tue Mar 02 09:44:33 1999
2 Received: from EXIMUSER by myhost.test.ex with local (Exim x.yz)
3         id 10HmbA-0005vi-00
4         for CALLER@myhost.test.ex; Tue, 2 Mar 1999 09:44:33 +0000
5 X-Failed-Recipients: a@test.ex
6 Auto-Submitted: auto-replied
7 From: Mail Delivery System <Mailer-Daemon@myhost.test.ex>
8 To: CALLER@myhost.test.ex
9 References: <E10HmaZ-0005vi-00@myhost.test.ex>
10 Content-Type: multipart/report; report-type=delivery-status; boundary=NNNNNNNNNN-eximdsn-MMMMMMMMMM
11 MIME-Version: 1.0
12 Subject: Mail delivery failed: returning message to sender
13 Message-Id: <E10HmbA-0005vi-00@myhost.test.ex>
14 Date: Tue, 2 Mar 1999 09:44:33 +0000
15
16 --NNNNNNNNNN-eximdsn-MMMMMMMMMM
17 Content-type: text/plain; charset=us-ascii
18
19 This message was created automatically by mail delivery software.
20
21 A message that you sent could not be delivered to one or more of its
22 recipients. This is a permanent error. The following address(es) failed:
23
24   a@test.ex
25     Unrouteable address
26
27 --NNNNNNNNNN-eximdsn-MMMMMMMMMM
28 Content-type: message/delivery-status
29
30 Reporting-MTA: dns; myhost.test.ex
31
32 Action: failed
33 Final-Recipient: rfc822;a@test.ex
34 Status: 5.0.0
35
36 --NNNNNNNNNN-eximdsn-MMMMMMMMMM
37 Content-type: message/rfc822
38
39 Return-path: <CALLER@myhost.test.ex>
40 Received: from CALLER by myhost.test.ex with local (Exim x.yz)
41         (envelope-from <CALLER@myhost.test.ex>)
42         id 10HmaZ-0005vi-00
43         for a@test.ex; Tue, 2 Mar 1999 09:44:33 +0000
44 Subject: test 1.1 - Default deny message
45 Message-Id: <E10HmaZ-0005vi-00@myhost.test.ex>
46 From: CALLER_NAME <CALLER@myhost.test.ex>
47 Date: Tue, 2 Mar 1999 09:44:33 +0000
48
49
50 --NNNNNNNNNN-eximdsn-MMMMMMMMMM--
51
52 From MAILER-DAEMON Tue Mar 02 09:44:33 1999
53 Received: from EXIMUSER by myhost.test.ex with local (Exim x.yz)
54         id 10HmbC-0005vi-00
55         for CALLER@myhost.test.ex; Tue, 2 Mar 1999 09:44:33 +0000
56 X-Failed-Recipients: b@test.ex
57 Auto-Submitted: auto-replied
58 From: Mail Delivery System <Mailer-Daemon@myhost.test.ex>
59 To: CALLER@myhost.test.ex
60 References: <E10HmbB-0005vi-00@myhost.test.ex>
61 Content-Type: multipart/report; report-type=delivery-status; boundary=NNNNNNNNNN-eximdsn-MMMMMMMMMM
62 MIME-Version: 1.0
63 Subject: this is a customised bounce message
64 Message-Id: <E10HmbC-0005vi-00@myhost.test.ex>
65 Date: Tue, 2 Mar 1999 09:44:33 +0000
66
67 --NNNNNNNNNN-eximdsn-MMMMMMMMMM
68 Content-type: text/plain; charset=us-ascii
69
70 Second item.  Forms the start of the error message.
71 Expansions:
72  $sender_address <CALLER@myhost.test.ex>
73  $bounce_recipient <CALLER@myhost.test.ex>
74  $warn_message_delay ""
75
76   b@test.ex
77     Unrouteable address
78
79 --NNNNNNNNNN-eximdsn-MMMMMMMMMM
80 Content-type: message/delivery-status
81
82 Reporting-MTA: dns; myhost.test.ex
83
84 Action: failed
85 Final-Recipient: rfc822;b@test.ex
86 Status: 5.0.0
87
88 --NNNNNNNNNN-eximdsn-MMMMMMMMMM
89 Content-type: message/rfc822
90
91 Return-path: <CALLER@myhost.test.ex>
92 Received: from CALLER by myhost.test.ex with local (Exim x.yz)
93         (envelope-from <CALLER@myhost.test.ex>)
94         id 10HmbB-0005vi-00
95         for b@test.ex; Tue, 2 Mar 1999 09:44:33 +0000
96 Subject: test 1.2 - Specified deny message file
97 Message-Id: <E10HmbB-0005vi-00@myhost.test.ex>
98 From: CALLER_NAME <CALLER@myhost.test.ex>
99 Date: Tue, 2 Mar 1999 09:44:33 +0000
100
101
102 --NNNNNNNNNN-eximdsn-MMMMMMMMMM--
103
104 From MAILER-DAEMON Tue Mar 02 09:44:33 1999
105 Received: from EXIMUSER by myhost.test.ex with local (Exim x.yz)
106         id 10HmbD-0005vi-00
107         for CALLER@myhost.test.ex; Tue, 2 Mar 1999 09:44:33 +0000
108 X-Failed-Recipients: c@test.ex
109 Auto-Submitted: auto-replied
110 From: Mail Delivery System <Mailer-Daemon@myhost.test.ex>
111 To: CALLER@myhost.test.ex
112 References: <E10HmaX-0005vi-00@myhost.test.ex>
113 Content-Type: multipart/report; report-type=delivery-status; boundary=NNNNNNNNNN-eximdsn-MMMMMMMMMM
114 MIME-Version: 1.0
115 Subject: Mail delivery failed: returning message to sender
116 Message-Id: <E10HmbD-0005vi-00@myhost.test.ex>
117 Date: Tue, 2 Mar 1999 09:44:33 +0000
118
119 --NNNNNNNNNN-eximdsn-MMMMMMMMMM
120 Content-type: text/plain; charset=us-ascii
121
122 This message was created automatically by mail delivery software.
123
124 A message that you sent could not be delivered to one or more of its
125 recipients. This is a permanent error. The following address(es) failed:
126
127   c@test.ex
128     Unrouteable address
129
130 --NNNNNNNNNN-eximdsn-MMMMMMMMMM
131 Content-type: message/delivery-status
132
133 Reporting-MTA: dns; myhost.test.ex
134
135 Action: failed
136 Final-Recipient: rfc822;c@test.ex
137 Status: 5.0.0
138
139 --NNNNNNNNNN-eximdsn-MMMMMMMMMM
140 Content-type: message/rfc822
141
142 Return-path: <CALLER@myhost.test.ex>
143 Received: from CALLER by myhost.test.ex with local (Exim x.yz)
144         (envelope-from <CALLER@myhost.test.ex>)
145         id 10HmaX-0005vi-00
146         for c@test.ex; Tue, 2 Mar 1999 09:44:33 +0000
147 Subject: test 1.3 - Specified, missing deny message file
148 Message-Id: <E10HmaX-0005vi-00@myhost.test.ex>
149 From: CALLER_NAME <CALLER@myhost.test.ex>
150 Date: Tue, 2 Mar 1999 09:44:33 +0000
151
152
153 --NNNNNNNNNN-eximdsn-MMMMMMMMMM--
154
155 From MAILER-DAEMON Tue Mar 02 09:44:33 1999
156 Received: from EXIMUSER by myhost.test.ex with local (Exim x.yz)
157         id 10HmbG-0005vi-00
158         for CALLER@myhost.test.ex; Tue, 2 Mar 1999 09:44:33 +0000
159 Auto-Submitted: auto-replied
160 From: Mail Delivery System <Mailer-Daemon@myhost.test.ex>
161 To: CALLER@myhost.test.ex
162 References: <E10HmbE-0005vi-00@myhost.test.ex>
163 Content-Type: multipart/report; report-type=delivery-status; boundary=NNNNNNNNNN-eximdsn-MMMMMMMMMM
164 MIME-Version: 1.0
165 Subject: Warning: message 10HmbE-0005vi-00 delayed 0 minutes
166 Message-Id: <E10HmbG-0005vi-00@myhost.test.ex>
167 Date: Tue, 2 Mar 1999 09:44:33 +0000
168
169 --NNNNNNNNNN-eximdsn-MMMMMMMMMM
170 Content-type: text/plain; charset=us-ascii
171
172 This message was created automatically by mail delivery software.
173 A message that you sent has not yet been delivered to one or more of its
174 recipients after more than 0 minutes on the queue on myhost.test.ex.
175
176 The message identifier is:     10HmbE-0005vi-00
177 The subject of the message is: test 2.1 - Default delay message
178 The date of the message is:    Tue, 2 Mar 1999 09:44:33 +0000
179
180 The address to which the message has not yet been delivered is:
181
182   delay_p@test.ex
183     Delay reason: deliberate for test purposes
184
185 No action is required on your part. Delivery attempts will continue for
186 some time, and this warning may be repeated at intervals if the message
187 remains undelivered. Eventually the mail delivery software will give up,
188 and when that happens, the message will be returned to you.
189
190 --NNNNNNNNNN-eximdsn-MMMMMMMMMM
191 Content-type: message/delivery-status
192
193 Reporting-MTA: dns; myhost.test.ex
194
195 Action: delayed
196 Final-Recipient: rfc822;delay_p@test.ex
197 Status: 4.0.0
198
199 --NNNNNNNNNN-eximdsn-MMMMMMMMMM
200 Content-type: text/rfc822-headers
201
202 Return-path: <CALLER@myhost.test.ex>
203 Received: from CALLER by myhost.test.ex with local (Exim x.yz)
204         (envelope-from <CALLER@myhost.test.ex>)
205         id 10HmbE-0005vi-00
206         for delay_p@test.ex; Tue, 2 Mar 1999 09:44:33 +0000
207 Subject: test 2.1 - Default delay message
208 Message-Id: <E10HmbE-0005vi-00@myhost.test.ex>
209 From: CALLER_NAME <CALLER@myhost.test.ex>
210 Date: Tue, 2 Mar 1999 09:44:33 +0000
211
212
213 --NNNNNNNNNN-eximdsn-MMMMMMMMMM--
214
215 From MAILER-DAEMON Tue Mar 02 09:44:33 1999
216 Received: from EXIMUSER by myhost.test.ex with local (Exim x.yz)
217         id 10HmbH-0005vi-00
218         for CALLER@myhost.test.ex; Tue, 2 Mar 1999 09:44:33 +0000
219 Auto-Submitted: auto-replied
220 From: Mail Delivery System <Mailer-Daemon@myhost.test.ex>
221 To: CALLER@myhost.test.ex
222 References: <E10HmbF-0005vi-00@myhost.test.ex>
223 Content-Type: multipart/report; report-type=delivery-status; boundary=NNNNNNNNNN-eximdsn-MMMMMMMMMM
224 MIME-Version: 1.0
225 Subject: this is a customised bounce message
226 Message-Id: <E10HmbH-0005vi-00@myhost.test.ex>
227 Date: Tue, 2 Mar 1999 09:44:33 +0000
228
229 --NNNNNNNNNN-eximdsn-MMMMMMMMMM
230 Content-type: text/plain; charset=us-ascii
231
232 Second item.  Forms the start of the error message.
233 Expansions:
234  $sender_address <CALLER@myhost.test.ex>
235  $bounce_recipient <>
236  $warn_message_delay "0 minutes"
237
238   delay_q@test.ex
239     Delay reason: deliberate for test purposes
240
241 Third item.
242
243 --NNNNNNNNNN-eximdsn-MMMMMMMMMM
244 Content-type: message/delivery-status
245
246 Reporting-MTA: dns; myhost.test.ex
247
248 Action: delayed
249 Final-Recipient: rfc822;delay_q@test.ex
250 Status: 4.0.0
251
252 --NNNNNNNNNN-eximdsn-MMMMMMMMMM
253 Content-type: text/rfc822-headers
254
255 Return-path: <CALLER@myhost.test.ex>
256 Received: from CALLER by myhost.test.ex with local (Exim x.yz)
257         (envelope-from <CALLER@myhost.test.ex>)
258         id 10HmbF-0005vi-00
259         for delay_q@test.ex; Tue, 2 Mar 1999 09:44:33 +0000
260 Subject: test 2.2 - Specified delay message file
261 Message-Id: <E10HmbF-0005vi-00@myhost.test.ex>
262 From: CALLER_NAME <CALLER@myhost.test.ex>
263 Date: Tue, 2 Mar 1999 09:44:33 +0000
264
265
266 --NNNNNNNNNN-eximdsn-MMMMMMMMMM--
267
268 From MAILER-DAEMON Tue Mar 02 09:44:33 1999
269 Received: from EXIMUSER by myhost.test.ex with local (Exim x.yz)
270         id 10HmbI-0005vi-00
271         for CALLER@myhost.test.ex; Tue, 2 Mar 1999 09:44:33 +0000
272 Auto-Submitted: auto-replied
273 From: Mail Delivery System <Mailer-Daemon@myhost.test.ex>
274 To: CALLER@myhost.test.ex
275 References: <E10HmaY-0005vi-00@myhost.test.ex>
276 Content-Type: multipart/report; report-type=delivery-status; boundary=NNNNNNNNNN-eximdsn-MMMMMMMMMM
277 MIME-Version: 1.0
278 Subject: Warning: message 10HmaY-0005vi-00 delayed 0 minutes
279 Message-Id: <E10HmbI-0005vi-00@myhost.test.ex>
280 Date: Tue, 2 Mar 1999 09:44:33 +0000
281
282 --NNNNNNNNNN-eximdsn-MMMMMMMMMM
283 Content-type: text/plain; charset=us-ascii
284
285 This message was created automatically by mail delivery software.
286 A message that you sent has not yet been delivered to one or more of its
287 recipients after more than 0 minutes on the queue on myhost.test.ex.
288
289 The message identifier is:     10HmaY-0005vi-00
290 The subject of the message is: test 2.3 - Specified, missing delay message file
291 The date of the message is:    Tue, 2 Mar 1999 09:44:33 +0000
292
293 The address to which the message has not yet been delivered is:
294
295   delay_r@test.ex
296     Delay reason: deliberate for test purposes
297
298 No action is required on your part. Delivery attempts will continue for
299 some time, and this warning may be repeated at intervals if the message
300 remains undelivered. Eventually the mail delivery software will give up,
301 and when that happens, the message will be returned to you.
302
303 --NNNNNNNNNN-eximdsn-MMMMMMMMMM
304 Content-type: message/delivery-status
305
306 Reporting-MTA: dns; myhost.test.ex
307
308 Action: delayed
309 Final-Recipient: rfc822;delay_r@test.ex
310 Status: 4.0.0
311
312 --NNNNNNNNNN-eximdsn-MMMMMMMMMM
313 Content-type: text/rfc822-headers
314
315 Return-path: <CALLER@myhost.test.ex>
316 Received: from CALLER by myhost.test.ex with local (Exim x.yz)
317         (envelope-from <CALLER@myhost.test.ex>)
318         id 10HmaY-0005vi-00
319         for delay_r@test.ex; Tue, 2 Mar 1999 09:44:33 +0000
320 Subject: test 2.3 - Specified, missing delay message file
321 Message-Id: <E10HmaY-0005vi-00@myhost.test.ex>
322 From: CALLER_NAME <CALLER@myhost.test.ex>
323 Date: Tue, 2 Mar 1999 09:44:33 +0000
324
325
326 --NNNNNNNNNN-eximdsn-MMMMMMMMMM--
327