Fix GNU/Hurd build. Bug 3044
[exim.git] / test / scripts / 0000-Basic / 0569
1 # verify = header_names_ascii
2 # 1. Headers are good, make sure no misfires.
3 exim -bh V4NET.10.10.10
4 helo test
5 mail from:<userx@exim.test.ex>
6 rcpt to:<userx@test.ex>
7 data
8 Received: from mail.example.com([10.11.12.13] helo=mail.example.com)
9         by mail1-int.example.com with esmtp (Exim 4.80)
10         envelope-from <userx@exim.test.ex>
11         id 1WIJRL-0005Dw-MW
12         for XX@YY; Tue, 25 Feb 2014 15:57:00 +0000
13 Received: from mail1-int.example.com([10.120.12.12] helo=mail1-int.example.com)
14         by webmail1.example.com with esmtp (Exim 4.80)
15         envelope-from <userx@exim.test.ex>
16         id 1WIJRK-0005Dw-MW
17         for XX@YY; Tue, 25 Feb 2014 15:56:58 +0000
18 From: userx@exim.test.ex
19 To: userx@test.ex
20 Cc: <abcd@x.y.z
21 Subject: testing
22
23 .
24 QUIT
25 ****
26 # 2. A non-ASCII in header name, uses default rejection message
27 exim -bh V4NET.10.10.10
28 helo test
29 mail from:<userx@exim.test.ex>
30 rcpt to:<userx@test.ex>
31 data
32 Received: from mail.example.com([10.11.12.13] helo=mail.example.com)
33         by mail1-int.example.com with esmtp (Exim 4.80)
34         envelope-from <userx@exim.test.ex>
35         id 1WIJRL-0005Dw-MW
36         for XX@YY; Tue, 25 Feb 2014 15:57:00 +0000
37 Received: from mail1-int.example.com([10.120.12.12] helo=mail1-int.example.com)
38         by webmail1.example.com with esmtp (Exim 4.80)
39         envelope-from <userx@exim.test.ex>
40         id 1WIJRK-0005Dw-MW
41         for XX@YY; Tue, 25 Feb 2014 15:56:58 +0000
42 From: userx@exim.test.ex
43 To: userx@test.ex
44 Cc: <abcd@x.y.z>
45 Subject: testing
46
47 .
48 QUIT
49 ****
50 # 3. A non-ASCII character in header name, different from sets an acl variable
51 #    causing custom log message
52 exim -bh V4NET.10.10.10
53 helo test
54 mail from:<usery@exim.test.ex>
55 rcpt to:<userx@test.ex>
56 data
57 Received: from mail.example.com([10.11.12.13] helo=mail.example.com)
58         by mail1-int.example.com with esmtp (Exim 4.80)
59         envelope-from <userx@exim.test.ex>
60         id 1WIJRL-0005Dw-MW
61         for XX@YY; Tue, 25 Feb 2014 15:57:00 +0000
62 Received: from mail1-int.example.com([10.120.12.12] helo=mail1-int.example.com)
63         by webmail1.example.com with esmtp (Exim 4.80)
64         envelope-from <userx@exim.test.ex>
65         id 1WIJRK-0005Dw-MW
66         for XX@YY; Tue, 25 Feb 2014 15:56:58 +0000
67 From: userx@exim.test.ex
68 To: userx@test.ex
69 Cc: <abcd@x.y.z>
70 Subjec⍅: testing
71
72 .
73 QUIT
74 ****
75 # 4. A non-ASCII character in header name, uses default rejection message
76 exim -bh V4NET.10.10.10
77 helo test
78 mail from:<userx@exim.test.ex>
79 rcpt to:<userx@test.ex>
80 data
81 Received: from mail.example.com([10.11.12.13] helo=mail.example.com)
82         by mail1-int.example.com with esmtp (Exim 4.80)
83         envelope-from <userx@exim.test.ex>
84         id 1WIJRL-0005Dw-MW
85         for XX@YY; Tue, 25 Feb 2014 15:57:00 +0000
86 Received: from mail1-int.example.com([10.120.12.12] helo=mail1-int.example.com)
87         by webmail1.example.com with esmtp (Exim 4.80)
88         envelope-from <userx@exim.test.ex>
89         id 1WIJRK-0005Dw-MW
90         for XX@YY; Tue, 25 Feb 2014 15:56:58 +0000
91 From: userx@exim.test.ex
92 To: userx@test.ex
93 Cc: <abcd@x.y.z>
94 Subjec⍅: testing
95
96 .
97 QUIT
98 ****
99 # 5. Headers are good, Unicode in message body, make sure no misfires.
100 exim -bh V4NET.10.10.10
101 helo test
102 mail from:<userx@exim.test.ex>
103 rcpt to:<userx@test.ex>
104 data
105 Received: from mail.example.com([10.11.12.13] helo=mail.example.com)
106         by mail1-int.example.com with esmtp (Exim 4.80)
107         envelope-from <userx@exim.test.ex>
108         id 1WIJRL-0005Dw-MW
109         for XX@YY; Tue, 25 Feb 2014 15:57:00 +0000
110 Received: from mail1-int.example.com([10.120.12.12] helo=mail1-int.example.com)
111         by webmail1.example.com with esmtp (Exim 4.80)
112         envelope-from <userx@exim.test.ex>
113         id 1WIJRK-0005Dw-MW
114         for XX@YY; Tue, 25 Feb 2014 15:56:58 +0000
115 From: userx@exim.test.ex
116 To: userx@test.ex
117 Cc: <abcd@x.y.z>
118 Subject: testing
119
120 Some unicode characters: 顷晦٦
121 This email should be accepted because the headers are ok.
122 .
123 QUIT
124 ****
125 # 6. Headers are good, Unicode in a header content *and* message body,
126 #    make sure no misfires.
127 exim -bh V4NET.10.10.10
128 helo test
129 mail from:<userx@exim.test.ex>
130 rcpt to:<userx@test.ex>
131 data
132 Received: from mail.example.com([10.11.12.13] helo=mail.example.com)
133         by mail1-int.example.com with esmtp (Exim 4.80)
134         envelope-from <userx@exim.test.ex>
135         id 1WIJRL-0005Dw-MW
136         for XX@YY; Tue, 25 Feb 2014 15:57:00 +0000
137 Received: from mail1-int.example.com([10.120.12.12] helo=mail1-int.example.com)
138         by webmail1.example.com with esmtp (Exim 4.80)
139         envelope-from <userx癑@exim.test.ex>
140         id 1WIJRK-0005Dw-MW
141         for XX@YY; Tue, 25 Feb 2014 15:56:58 +0000
142 From: userx@exim.test.ex
143 To: userx@test.ex
144 Cc: <abcd@x.y.z>
145 Subject: testing
146
147 Some unicode characters: 顷晦٦
148 This email should be accepted because the headers are ok even though the
149 content of one of the headers has unicode.
150 .
151 QUIT
152 ****
153 no_msglog_check