Add cmdline option to append a log message. Bug 418
[users/heiko/exim.git] / test / mail / 0048.CALLER
1 From MAILER-DAEMON Tue Mar 02 09:44:33 1999
2 Return-path: <>
3 Envelope-to: CALLER@test.ex
4 Delivery-date: Tue, 2 Mar 1999 09:44:33 +0000
5 Received: from EXIMUSER by the.local.host.name with local (Exim x.yz)
6         id 10HmaY-0005vi-00
7         for CALLER@test.ex; Tue, 2 Mar 1999 09:44:33 +0000
8 X-Failed-Recipients: pipe@test.ex
9 Auto-Submitted: auto-replied
10 From: Mail Delivery System <Mailer-Daemon@test.ex>
11 To: CALLER@test.ex
12 Content-Type: multipart/report; report-type=delivery-status; boundary=NNNNNNNNNN-eximdsn-MMMMMMMMMM
13 MIME-Version: 1.0
14 Subject: Mail delivery failed: returning message to sender
15 Message-Id: <E10HmaY-0005vi-00@the.local.host.name>
16 Date: Tue, 2 Mar 1999 09:44:33 +0000
17
18 --NNNNNNNNNN-eximdsn-MMMMMMMMMM
19 Content-type: text/plain; charset=us-ascii
20
21 This message was created automatically by mail delivery software.
22
23 A message that you sent could not be delivered to one or more of its
24 recipients. This is a permanent error. The following address(es) failed:
25
26   pipe to |TESTSUITE/aux-fixed/showenv
27     generated by pipe@test.ex
28
29 The following text was generated during the delivery attempt:
30
31 ------ pipe to |TESTSUITE/aux-fixed/showenv
32        generated by pipe@test.ex ------
33
34 Test pipe script
35 Running as: EXIMUSER
36 ------------------
37 Args:
38 ----------current-----------
39 TESTSUITE
40 ----------env-----------
41 A=a
42 B=b
43 C=c
44 COLON=:
45 DOMAIN=test.ex
46 HOME=TESTSUITE/
47 LOCAL_PART=pipe
48 LOCAL_PART_PREFIX=
49 LOCAL_PART_SUFFIX=
50 LOGNAME=pipe
51 ME=pipe
52 MESSAGE_ID=10HmaX-0005vi-00
53 PATH=/bin:/usr/bin
54 QUALIFY_DOMAIN=test.ex
55 RECIPIENT=pipe@test.ex
56 SENDER=CALLER@test.ex
57 SHELL=/bin/sh
58 USER=pipe
59 ----------cat-----------
60 >From CALLER@test.ex Tue Mar 02 09:44:33 1999
61 Received: from CALLER by the.local.host.name with local (Exim x.yz)
62         (envelope-from <CALLER@test.ex>)
63         id 10HmaX-0005vi-00
64         for pipe@test.ex; Tue, 2 Mar 1999 09:44:33 +0000
65 Message-Id: <E10HmaX-0005vi-00@the.local.host.name>
66 From: CALLER_NAME <CALLER@test.ex>
67 Date: Tue, 2 Mar 1999 09:44:33 +0000
68
69 Some message text.
70
71 ------------------
72
73 --NNNNNNNNNN-eximdsn-MMMMMMMMMM
74 Content-type: message/delivery-status
75
76 Reporting-MTA: dns; the.local.host.name
77
78 Action: failed
79 Final-Recipient: rfc822;|TESTSUITE/aux-fixed/showenv
80 Status: 5.0.0
81
82 --NNNNNNNNNN-eximdsn-MMMMMMMMMM
83 Content-type: message/rfc822
84
85 Return-path: <CALLER@test.ex>
86 Received: from CALLER by the.local.host.name with local (Exim x.yz)
87         (envelope-from <CALLER@test.ex>)
88         id 10HmaX-0005vi-00
89         for pipe@test.ex; Tue, 2 Mar 1999 09:44:33 +0000
90 Message-Id: <E10HmaX-0005vi-00@the.local.host.name>
91 From: CALLER_NAME <CALLER@test.ex>
92 Date: Tue, 2 Mar 1999 09:44:33 +0000
93
94 Some message text.
95
96 --NNNNNNNNNN-eximdsn-MMMMMMMMMM--
97
98 From MAILER-DAEMON Tue Mar 02 09:44:33 1999
99 Return-path: <>
100 Envelope-to: CALLER@test.ex
101 Delivery-date: Tue, 2 Mar 1999 09:44:33 +0000
102 Received: from EXIMUSER by the.local.host.name with local (Exim x.yz)
103         id 10HmbA-0005vi-00
104         for CALLER@test.ex; Tue, 2 Mar 1999 09:44:33 +0000
105 X-Failed-Recipients: prefixed+pipe@test.ex
106 Auto-Submitted: auto-replied
107 From: Mail Delivery System <Mailer-Daemon@test.ex>
108 To: CALLER@test.ex
109 Content-Type: multipart/report; report-type=delivery-status; boundary=NNNNNNNNNN-eximdsn-MMMMMMMMMM
110 MIME-Version: 1.0
111 Subject: Mail delivery failed: returning message to sender
112 Message-Id: <E10HmbA-0005vi-00@the.local.host.name>
113 Date: Tue, 2 Mar 1999 09:44:33 +0000
114
115 --NNNNNNNNNN-eximdsn-MMMMMMMMMM
116 Content-type: text/plain; charset=us-ascii
117
118 This message was created automatically by mail delivery software.
119
120 A message that you sent could not be delivered to one or more of its
121 recipients. This is a permanent error. The following address(es) failed:
122
123   pipe to |TESTSUITE/aux-fixed/showenv
124     generated by prefixed+pipe@test.ex
125
126 The following text was generated during the delivery attempt:
127
128 ------ pipe to |TESTSUITE/aux-fixed/showenv
129        generated by prefixed+pipe@test.ex ------
130
131 Test pipe script
132 Running as: EXIMUSER
133 ------------------
134 Args:
135 ----------current-----------
136 TESTSUITE
137 ----------env-----------
138 A=a
139 B=b
140 C=c
141 COLON=:
142 DOMAIN=test.ex
143 HOME=TESTSUITE/
144 LOCAL_PART=pipe
145 LOCAL_PART_PREFIX=prefixed+
146 LOCAL_PART_SUFFIX=
147 LOGNAME=pipe
148 ME=pipe
149 MESSAGE_ID=10HmaZ-0005vi-00
150 PATH=/bin:/usr/bin
151 QUALIFY_DOMAIN=test.ex
152 RECIPIENT=prefixed+pipe@test.ex
153 SENDER=CALLER@test.ex
154 SHELL=/bin/sh
155 USER=pipe
156 ----------cat-----------
157 >From CALLER@test.ex Tue Mar 02 09:44:33 1999
158 Received: from CALLER by the.local.host.name with local (Exim x.yz)
159         (envelope-from <CALLER@test.ex>)
160         id 10HmaZ-0005vi-00
161         for prefixed+pipe@test.ex; Tue, 2 Mar 1999 09:44:33 +0000
162 Message-Id: <E10HmaZ-0005vi-00@the.local.host.name>
163 From: CALLER_NAME <CALLER@test.ex>
164 Date: Tue, 2 Mar 1999 09:44:33 +0000
165
166 Text
167
168 ------------------
169
170 --NNNNNNNNNN-eximdsn-MMMMMMMMMM
171 Content-type: message/delivery-status
172
173 Reporting-MTA: dns; the.local.host.name
174
175 Action: failed
176 Final-Recipient: rfc822;|TESTSUITE/aux-fixed/showenv
177 Status: 5.0.0
178
179 --NNNNNNNNNN-eximdsn-MMMMMMMMMM
180 Content-type: message/rfc822
181
182 Return-path: <CALLER@test.ex>
183 Received: from CALLER by the.local.host.name with local (Exim x.yz)
184         (envelope-from <CALLER@test.ex>)
185         id 10HmaZ-0005vi-00
186         for prefixed+pipe@test.ex; Tue, 2 Mar 1999 09:44:33 +0000
187 Message-Id: <E10HmaZ-0005vi-00@the.local.host.name>
188 From: CALLER_NAME <CALLER@test.ex>
189 Date: Tue, 2 Mar 1999 09:44:33 +0000
190
191 Text
192
193 --NNNNNNNNNN-eximdsn-MMMMMMMMMM--
194
195 From MAILER-DAEMON Tue Mar 02 09:44:33 1999
196 Return-path: <>
197 Envelope-to: CALLER@test.ex
198 Delivery-date: Tue, 2 Mar 1999 09:44:33 +0000
199 Received: from EXIMUSER by the.local.host.name with local (Exim x.yz)
200         id 10HmbC-0005vi-00
201         for CALLER@test.ex; Tue, 2 Mar 1999 09:44:33 +0000
202 X-Failed-Recipients: pipe-suffixed@test.ex
203 Auto-Submitted: auto-replied
204 From: Mail Delivery System <Mailer-Daemon@test.ex>
205 To: CALLER@test.ex
206 Content-Type: multipart/report; report-type=delivery-status; boundary=NNNNNNNNNN-eximdsn-MMMMMMMMMM
207 MIME-Version: 1.0
208 Subject: Mail delivery failed: returning message to sender
209 Message-Id: <E10HmbC-0005vi-00@the.local.host.name>
210 Date: Tue, 2 Mar 1999 09:44:33 +0000
211
212 --NNNNNNNNNN-eximdsn-MMMMMMMMMM
213 Content-type: text/plain; charset=us-ascii
214
215 This message was created automatically by mail delivery software.
216
217 A message that you sent could not be delivered to one or more of its
218 recipients. This is a permanent error. The following address(es) failed:
219
220   pipe to |TESTSUITE/aux-fixed/showenv
221     generated by pipe-suffixed@test.ex
222
223 The following text was generated during the delivery attempt:
224
225 ------ pipe to |TESTSUITE/aux-fixed/showenv
226        generated by pipe-suffixed@test.ex ------
227
228 Test pipe script
229 Running as: EXIMUSER
230 ------------------
231 Args:
232 ----------current-----------
233 TESTSUITE
234 ----------env-----------
235 A=a
236 B=b
237 C=c
238 COLON=:
239 DOMAIN=test.ex
240 HOME=TESTSUITE/
241 LOCAL_PART=pipe
242 LOCAL_PART_PREFIX=
243 LOCAL_PART_SUFFIX=-suffixed
244 LOGNAME=pipe
245 ME=pipe
246 MESSAGE_ID=10HmbB-0005vi-00
247 PATH=/bin:/usr/bin
248 QUALIFY_DOMAIN=test.ex
249 RECIPIENT=pipe-suffixed@test.ex
250 SENDER=CALLER@test.ex
251 SHELL=/bin/sh
252 USER=pipe
253 ----------cat-----------
254 >From CALLER@test.ex Tue Mar 02 09:44:33 1999
255 Received: from CALLER by the.local.host.name with local (Exim x.yz)
256         (envelope-from <CALLER@test.ex>)
257         id 10HmbB-0005vi-00
258         for pipe-suffixed@test.ex; Tue, 2 Mar 1999 09:44:33 +0000
259 Message-Id: <E10HmbB-0005vi-00@the.local.host.name>
260 From: CALLER_NAME <CALLER@test.ex>
261 Date: Tue, 2 Mar 1999 09:44:33 +0000
262
263 Text
264
265 ------------------
266
267 --NNNNNNNNNN-eximdsn-MMMMMMMMMM
268 Content-type: message/delivery-status
269
270 Reporting-MTA: dns; the.local.host.name
271
272 Action: failed
273 Final-Recipient: rfc822;|TESTSUITE/aux-fixed/showenv
274 Status: 5.0.0
275
276 --NNNNNNNNNN-eximdsn-MMMMMMMMMM
277 Content-type: message/rfc822
278
279 Return-path: <CALLER@test.ex>
280 Received: from CALLER by the.local.host.name with local (Exim x.yz)
281         (envelope-from <CALLER@test.ex>)
282         id 10HmbB-0005vi-00
283         for pipe-suffixed@test.ex; Tue, 2 Mar 1999 09:44:33 +0000
284 Message-Id: <E10HmbB-0005vi-00@the.local.host.name>
285 From: CALLER_NAME <CALLER@test.ex>
286 Date: Tue, 2 Mar 1999 09:44:33 +0000
287
288 Text
289
290 --NNNNNNNNNN-eximdsn-MMMMMMMMMM--
291
292 From MAILER-DAEMON Tue Mar 02 09:44:33 1999
293 Return-path: <>
294 Envelope-to: CALLER@test.ex
295 Delivery-date: Tue, 2 Mar 1999 09:44:33 +0000
296 Received: from EXIMUSER by the.local.host.name with local (Exim x.yz)
297         id 10HmbE-0005vi-00
298         for CALLER@test.ex; Tue, 2 Mar 1999 09:44:33 +0000
299 X-Failed-Recipients: prefixed+pipe-suffixed@test.ex
300 Auto-Submitted: auto-replied
301 From: Mail Delivery System <Mailer-Daemon@test.ex>
302 To: CALLER@test.ex
303 Content-Type: multipart/report; report-type=delivery-status; boundary=NNNNNNNNNN-eximdsn-MMMMMMMMMM
304 MIME-Version: 1.0
305 Subject: Mail delivery failed: returning message to sender
306 Message-Id: <E10HmbE-0005vi-00@the.local.host.name>
307 Date: Tue, 2 Mar 1999 09:44:33 +0000
308
309 --NNNNNNNNNN-eximdsn-MMMMMMMMMM
310 Content-type: text/plain; charset=us-ascii
311
312 This message was created automatically by mail delivery software.
313
314 A message that you sent could not be delivered to one or more of its
315 recipients. This is a permanent error. The following address(es) failed:
316
317   pipe to |TESTSUITE/aux-fixed/showenv
318     generated by prefixed+pipe-suffixed@test.ex
319
320 The following text was generated during the delivery attempt:
321
322 ------ pipe to |TESTSUITE/aux-fixed/showenv
323        generated by prefixed+pipe-suffixed@test.ex ------
324
325 Test pipe script
326 Running as: EXIMUSER
327 ------------------
328 Args:
329 ----------current-----------
330 TESTSUITE
331 ----------env-----------
332 A=a
333 B=b
334 C=c
335 COLON=:
336 DOMAIN=test.ex
337 HOME=TESTSUITE/
338 LOCAL_PART=pipe
339 LOCAL_PART_PREFIX=prefixed+
340 LOCAL_PART_SUFFIX=-suffixed
341 LOGNAME=pipe
342 ME=pipe
343 MESSAGE_ID=10HmbD-0005vi-00
344 PATH=/bin:/usr/bin
345 QUALIFY_DOMAIN=test.ex
346 RECIPIENT=prefixed+pipe-suffixed@test.ex
347 SENDER=CALLER@test.ex
348 SHELL=/bin/sh
349 USER=pipe
350 ----------cat-----------
351 >From CALLER@test.ex Tue Mar 02 09:44:33 1999
352 Received: from CALLER by the.local.host.name with local (Exim x.yz)
353         (envelope-from <CALLER@test.ex>)
354         id 10HmbD-0005vi-00
355         for prefixed+pipe-suffixed@test.ex; Tue, 2 Mar 1999 09:44:33 +0000
356 Message-Id: <E10HmbD-0005vi-00@the.local.host.name>
357 From: CALLER_NAME <CALLER@test.ex>
358 Date: Tue, 2 Mar 1999 09:44:33 +0000
359
360 Text
361
362 ------------------
363
364 --NNNNNNNNNN-eximdsn-MMMMMMMMMM
365 Content-type: message/delivery-status
366
367 Reporting-MTA: dns; the.local.host.name
368
369 Action: failed
370 Final-Recipient: rfc822;|TESTSUITE/aux-fixed/showenv
371 Status: 5.0.0
372
373 --NNNNNNNNNN-eximdsn-MMMMMMMMMM
374 Content-type: message/rfc822
375
376 Return-path: <CALLER@test.ex>
377 Received: from CALLER by the.local.host.name with local (Exim x.yz)
378         (envelope-from <CALLER@test.ex>)
379         id 10HmbD-0005vi-00
380         for prefixed+pipe-suffixed@test.ex; Tue, 2 Mar 1999 09:44:33 +0000
381 Message-Id: <E10HmbD-0005vi-00@the.local.host.name>
382 From: CALLER_NAME <CALLER@test.ex>
383 Date: Tue, 2 Mar 1999 09:44:33 +0000
384
385 Text
386
387 --NNNNNNNNNN-eximdsn-MMMMMMMMMM--
388
389 From MAILER-DAEMON Tue Mar 02 09:44:33 1999
390 Return-path: <>
391 Envelope-to: CALLER@test.ex
392 Delivery-date: Tue, 2 Mar 1999 09:44:33 +0000
393 Received: from EXIMUSER by the.local.host.name with local (Exim x.yz)
394         id 10HmbG-0005vi-00
395         for CALLER@test.ex; Tue, 2 Mar 1999 09:44:33 +0000
396 X-Failed-Recipients: pipe@test.ex
397 Auto-Submitted: auto-replied
398 From: Mail Delivery System <Mailer-Daemon@test.ex>
399 To: CALLER@test.ex
400 Content-Type: multipart/report; report-type=delivery-status; boundary=NNNNNNNNNN-eximdsn-MMMMMMMMMM
401 MIME-Version: 1.0
402 Subject: Mail delivery failed: returning message to sender
403 Message-Id: <E10HmbG-0005vi-00@the.local.host.name>
404 Date: Tue, 2 Mar 1999 09:44:33 +0000
405
406 --NNNNNNNNNN-eximdsn-MMMMMMMMMM
407 Content-type: text/plain; charset=us-ascii
408
409 This message was created automatically by mail delivery software.
410
411 A message that you sent could not be delivered to one or more of its
412 recipients. This is a permanent error. The following address(es) failed:
413
414   pipe to |TESTSUITE/aux-fixed/showenv
415     generated by pipe@test.ex
416
417 The following text was generated during the delivery attempt:
418
419 ------ pipe to |TESTSUITE/aux-fixed/showenv
420        generated by pipe@test.ex ------
421
422 Test pipe script
423 Running as: EXIMUSER
424 ------------------
425 Args:
426 ----------current-----------
427 TESTSUITE
428 ----------env-----------
429 A=a
430 B=b
431 C=c
432 COLON=:
433 DOMAIN=test.ex
434 HOME=TESTSUITE/
435 LOCAL_PART=pipe
436 LOCAL_PART_PREFIX=
437 LOCAL_PART_SUFFIX=
438 LOGNAME=pipe
439 ME=pipe
440 MESSAGE_ID=10HmbF-0005vi-00
441 PATH=/bin:/usr/bin
442 QUALIFY_DOMAIN=test.ex
443 RECIPIENT=pipe@test.ex
444 SENDER=CALLER@test.ex
445 SHELL=/bin/sh
446 USER=pipe
447 ----------cat-----------
448 >From CALLER@test.ex Tue Mar 02 09:44:33 1999
449 Received: from CALLER by the.local.host.name with local (Exim x.yz)
450         (envelope-from <CALLER@test.ex>)
451         id 10HmbF-0005vi-00
452         for pipe@test.ex; Tue, 2 Mar 1999 09:44:33 +0000
453 Message-Id: <E10HmbF-0005vi-00@the.local.host.name>
454 From: CALLER_NAME <CALLER@test.ex>
455 Date: Tue, 2 Mar 1999 09:44:33 +0000
456
457 Some message text.
458
459 ------------------
460
461 --NNNNNNNNNN-eximdsn-MMMMMMMMMM
462 Content-type: message/delivery-status
463
464 Reporting-MTA: dns; the.local.host.name
465
466 Action: failed
467 Final-Recipient: rfc822;|TESTSUITE/aux-fixed/showenv
468 Status: 5.0.0
469
470 --NNNNNNNNNN-eximdsn-MMMMMMMMMM
471 Content-type: message/rfc822
472
473 Return-path: <CALLER@test.ex>
474 Received: from CALLER by the.local.host.name with local (Exim x.yz)
475         (envelope-from <CALLER@test.ex>)
476         id 10HmbF-0005vi-00
477         for pipe@test.ex; Tue, 2 Mar 1999 09:44:33 +0000
478 Message-Id: <E10HmbF-0005vi-00@the.local.host.name>
479 From: CALLER_NAME <CALLER@test.ex>
480 Date: Tue, 2 Mar 1999 09:44:33 +0000
481
482 Some message text.
483
484 --NNNNNNNNNN-eximdsn-MMMMMMMMMM--
485