Testsuite: add command cat2
[exim.git] / test / mail / 0164.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: system-filter
7 Auto-Submitted: auto-replied
8 From: Mail Delivery System <Mailer-Daemon@test.ex>
9 To: CALLER@test.ex
10 References: <E10HmaX-000000005vi-0000@the.local.host.name>
11 Content-Type: multipart/report; report-type=delivery-status; boundary=NNNNNNNNNN-eximdsn-MMMMMMMMMM
12 MIME-Version: 1.0
13 Subject: Mail delivery failed: returning message to sender
14 Message-Id: <E10HmaY-000000005vi-0000@the.local.host.name>
15 Date: Tue, 2 Mar 1999 09:44:33 +0000
16
17 --NNNNNNNNNN-eximdsn-MMMMMMMMMM
18 Content-type: text/plain; charset=us-ascii
19
20 This message was created automatically by mail delivery software.
21
22 A message that you sent could not be delivered to one or more of its
23 recipients. This is a permanent error. The following address(es) failed:
24
25   pipe to |TESTSUITE/aux-fixed/showenv "${map {<, $recipients} {${if match_address {$item} {pipe@test.ex : another@test.ex : a-third@test.ex} {$value}}}}"
26     generated by system-filter
27
28 The following text was generated during the delivery attempt:
29
30 ------ pipe to |TESTSUITE/aux-fixed/showenv "${map {<, $recipients} {${if match_address {$item} {pipe@test.ex : another@test.ex : a-third@test.ex} {$value}}}}"
31        generated by system-filter ------
32
33 Test pipe script
34 Running as: CALLER
35 ------------------
36 Args:
37   pipe@test.ex
38 ----------current-----------
39 /
40 ----------env-----------
41 A=
42 B=
43 C=
44 COLON=
45 DOMAIN=test.ex
46 HOME=
47 LOCAL_PART=system-filter
48 LOCAL_PART_PREFIX=
49 LOCAL_PART_SUFFIX=
50 LOGNAME=system-filter
51 ME=
52 MESSAGE_ID=10HmaX-000000005vi-0000
53 PATH=/bin:/usr/bin
54 QUALIFY_DOMAIN=test.ex
55 RECIPIENT=system-filter@test.ex
56 SENDER=CALLER@test.ex
57 SHELL=/bin/sh
58 USER=system-filter
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-000000005vi-0000
64         for pipe@test.ex;
65         Tue, 2 Mar 1999 09:44:33 +0000
66 Message-Id: <E10HmaX-000000005vi-0000@the.local.host.name>
67 From: CALLER_NAME <CALLER@test.ex>
68 Date: Tue, 2 Mar 1999 09:44:33 +0000
69
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;system-filter
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-000000005vi-0000
89         for pipe@test.ex;
90         Tue, 2 Mar 1999 09:44:33 +0000
91 Message-Id: <E10HmaX-000000005vi-0000@the.local.host.name>
92 From: CALLER_NAME <CALLER@test.ex>
93 Date: Tue, 2 Mar 1999 09:44:33 +0000
94
95
96 --NNNNNNNNNN-eximdsn-MMMMMMMMMM--
97
98 From MAILER-DAEMON Tue Mar 02 09:44:33 1999
99 Received: from EXIMUSER by the.local.host.name with local (Exim x.yz)
100         id 10HmbA-000000005vi-0000
101         for CALLER@test.ex;
102         Tue, 2 Mar 1999 09:44:33 +0000
103 X-Failed-Recipients: system-filter
104 Auto-Submitted: auto-replied
105 From: Mail Delivery System <Mailer-Daemon@test.ex>
106 To: CALLER@test.ex
107 References: <E10HmaZ-000000005vi-0000@the.local.host.name>
108 Content-Type: multipart/report; report-type=delivery-status; boundary=NNNNNNNNNN-eximdsn-MMMMMMMMMM
109 MIME-Version: 1.0
110 Subject: Mail delivery failed: returning message to sender
111 Message-Id: <E10HmbA-000000005vi-0000@the.local.host.name>
112 Date: Tue, 2 Mar 1999 09:44:33 +0000
113
114 --NNNNNNNNNN-eximdsn-MMMMMMMMMM
115 Content-type: text/plain; charset=us-ascii
116
117 This message was created automatically by mail delivery software.
118
119 A message that you sent could not be delivered to one or more of its
120 recipients. This is a permanent error. The following address(es) failed:
121
122   pipe to |TESTSUITE/aux-fixed/showenv "${map {<, $recipients} {${if match_address {$item} {pipe@test.ex : another@test.ex : a-third@test.ex} {$value}}}}"
123     generated by system-filter
124
125 The following text was generated during the delivery attempt:
126
127 ------ pipe to |TESTSUITE/aux-fixed/showenv "${map {<, $recipients} {${if match_address {$item} {pipe@test.ex : another@test.ex : a-third@test.ex} {$value}}}}"
128        generated by system-filter ------
129
130 Test pipe script
131 Running as: CALLER
132 ------------------
133 Args:
134   pipe@test.ex,another@test.ex,a-third@test.ex
135 ----------current-----------
136 /
137 ----------env-----------
138 A=
139 B=
140 C=
141 COLON=
142 DOMAIN=test.ex
143 HOME=
144 LOCAL_PART=system-filter
145 LOCAL_PART_PREFIX=
146 LOCAL_PART_SUFFIX=
147 LOGNAME=system-filter
148 ME=
149 MESSAGE_ID=10HmaZ-000000005vi-0000
150 PATH=/bin:/usr/bin
151 QUALIFY_DOMAIN=test.ex
152 RECIPIENT=system-filter@test.ex
153 SENDER=CALLER@test.ex
154 SHELL=/bin/sh
155 USER=system-filter
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-000000005vi-0000;
161         Tue, 2 Mar 1999 09:44:33 +0000
162 Message-Id: <E10HmaZ-000000005vi-0000@the.local.host.name>
163 From: CALLER_NAME <CALLER@test.ex>
164 Date: Tue, 2 Mar 1999 09:44:33 +0000
165
166
167 ------------------
168
169 --NNNNNNNNNN-eximdsn-MMMMMMMMMM
170 Content-type: message/delivery-status
171
172 Reporting-MTA: dns; the.local.host.name
173
174 Action: failed
175 Final-Recipient: rfc822;system-filter
176 Status: 5.0.0
177
178 --NNNNNNNNNN-eximdsn-MMMMMMMMMM
179 Content-type: message/rfc822
180
181 Return-path: <CALLER@test.ex>
182 Received: from CALLER by the.local.host.name with local (Exim x.yz)
183         (envelope-from <CALLER@test.ex>)
184         id 10HmaZ-000000005vi-0000;
185         Tue, 2 Mar 1999 09:44:33 +0000
186 Message-Id: <E10HmaZ-000000005vi-0000@the.local.host.name>
187 From: CALLER_NAME <CALLER@test.ex>
188 Date: Tue, 2 Mar 1999 09:44:33 +0000
189
190
191 --NNNNNNNNNN-eximdsn-MMMMMMMMMM--
192