Handle error on close of spool data file
[exim.git] / test / mail / 0226.CALLER
1 From MAILER-DAEMON Tue Mar 02 09:44:33 1999
2 Received: from EXIMUSER by the.local.host.name with local (Exim x.yz)
3         id 10HmaY-000000005vi-0000
4         for CALLER@test.ex;
5         Tue, 2 Mar 1999 09:44:33 +0000
6 X-Failed-Recipients: pipe1@no.test.ex,
7   file1@no.test.ex
8 Auto-Submitted: auto-replied
9 From: Mail Delivery System <Mailer-Daemon@test.ex>
10 To: CALLER@test.ex
11 References: <E10HmaX-000000005vi-0000@the.local.host.name>
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-000000005vi-0000@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 |/p/q/r
27     generated by pipe1@no.test.ex
28   save to /a/b/c
29     generated by file1@no.test.ex
30
31 --NNNNNNNNNN-eximdsn-MMMMMMMMMM
32 Content-type: message/delivery-status
33
34 Reporting-MTA: dns; the.local.host.name
35
36 Action: failed
37 Final-Recipient: rfc822;file1@no.test.ex
38 Status: 5.0.0
39
40 Action: failed
41 Final-Recipient: rfc822;pipe1@no.test.ex
42 Status: 5.0.0
43
44 --NNNNNNNNNN-eximdsn-MMMMMMMMMM
45 Content-type: message/rfc822
46
47 Return-path: <CALLER@test.ex>
48 Received: from CALLER by the.local.host.name with local (Exim x.yz)
49         (envelope-from <CALLER@test.ex>)
50         id 10HmaX-000000005vi-0000;
51         Tue, 2 Mar 1999 09:44:33 +0000
52 Message-Id: <E10HmaX-000000005vi-0000@the.local.host.name>
53 From: CALLER_NAME <CALLER@test.ex>
54 Date: Tue, 2 Mar 1999 09:44:33 +0000
55
56 Message 1
57
58 --NNNNNNNNNN-eximdsn-MMMMMMMMMM--
59
60 From MAILER-DAEMON Tue Mar 02 09:44:33 1999
61 Received: from EXIMUSER by the.local.host.name with local (Exim x.yz)
62         id 10HmbA-000000005vi-0000
63         for CALLER@test.ex;
64         Tue, 2 Mar 1999 09:44:33 +0000
65 X-Failed-Recipients: pipe2@yes.test.ex
66 Auto-Submitted: auto-replied
67 From: Mail Delivery System <Mailer-Daemon@test.ex>
68 To: CALLER@test.ex
69 References: <E10HmaZ-000000005vi-0000@the.local.host.name>
70 Content-Type: multipart/report; report-type=delivery-status; boundary=NNNNNNNNNN-eximdsn-MMMMMMMMMM
71 MIME-Version: 1.0
72 Subject: Mail delivery failed: returning message to sender
73 Message-Id: <E10HmbA-000000005vi-0000@the.local.host.name>
74 Date: Tue, 2 Mar 1999 09:44:33 +0000
75
76 --NNNNNNNNNN-eximdsn-MMMMMMMMMM
77 Content-type: text/plain; charset=us-ascii
78
79 This message was created automatically by mail delivery software.
80
81 A message that you sent could not be delivered to one or more of its
82 recipients. This is a permanent error. The following address(es) failed:
83
84   pipe to |TESTSUITE/aux-fixed/showenv
85     generated by pipe2@yes.test.ex
86
87 The following text was generated during the delivery attempt:
88
89 ------ pipe to |TESTSUITE/aux-fixed/showenv
90        generated by pipe2@yes.test.ex ------
91
92 Test pipe script
93 Running as: CALLER
94 ------------------
95 Args:
96 ----------current-----------
97 /
98 ----------env-----------
99 A=
100 B=
101 C=
102 COLON=
103 DOMAIN=yes.test.ex
104 HOME=
105 LOCAL_PART=pipe2
106 LOCAL_PART_PREFIX=
107 LOCAL_PART_SUFFIX=
108 LOGNAME=pipe2
109 ME=
110 MESSAGE_ID=10HmaZ-000000005vi-0000
111 PATH=/bin:/usr/bin
112 QUALIFY_DOMAIN=test.ex
113 RECIPIENT=pipe2@yes.test.ex
114 SENDER=CALLER@test.ex
115 SHELL=/bin/sh
116 USER=pipe2
117 ----------cat-----------
118 >From CALLER@test.ex Tue Mar 02 09:44:33 1999
119 Received: from CALLER by the.local.host.name with local (Exim x.yz)
120         (envelope-from <CALLER@test.ex>)
121         id 10HmaZ-000000005vi-0000;
122         Tue, 2 Mar 1999 09:44:33 +0000
123 Message-Id: <E10HmaZ-000000005vi-0000@the.local.host.name>
124 From: CALLER_NAME <CALLER@test.ex>
125 Date: Tue, 2 Mar 1999 09:44:33 +0000
126
127 Message 2
128
129 ------------------
130
131 --NNNNNNNNNN-eximdsn-MMMMMMMMMM
132 Content-type: message/delivery-status
133
134 Reporting-MTA: dns; the.local.host.name
135
136 Action: failed
137 Final-Recipient: rfc822;pipe2@yes.test.ex
138 Status: 5.0.0
139
140 --NNNNNNNNNN-eximdsn-MMMMMMMMMM
141 Content-type: message/rfc822
142
143 Return-path: <CALLER@test.ex>
144 Received: from CALLER by the.local.host.name with local (Exim x.yz)
145         (envelope-from <CALLER@test.ex>)
146         id 10HmaZ-000000005vi-0000;
147         Tue, 2 Mar 1999 09:44:33 +0000
148 Message-Id: <E10HmaZ-000000005vi-0000@the.local.host.name>
149 From: CALLER_NAME <CALLER@test.ex>
150 Date: Tue, 2 Mar 1999 09:44:33 +0000
151
152 Message 2
153
154 --NNNNNNNNNN-eximdsn-MMMMMMMMMM--
155