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