1 # verify = header_names_ascii
2 # 1. Headers are good, make sure no misfires.
3 exim -bh V4NET.10.10.10
5 mail from:<userx@exim.test.ex>
6 rcpt to:<userx@test.ex>
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>
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>
17 for XX@YY; Tue, 25 Feb 2014 15:56:58 +0000
18 From: userx@exim.test.ex
26 # 2. A non-ASCII in header name, uses default rejection message
27 exim -bh V4NET.10.10.10
29 mail from:<userx@exim.test.ex>
30 rcpt to:<userx@test.ex>
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>
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>
41 for XX@YY; Tue, 25 Feb 2014 15:56:58 +0000
42 From: userx@exim.test.ex
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
54 mail from:<usery@exim.test.ex>
55 rcpt to:<userx@test.ex>
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>
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>
66 for XX@YY; Tue, 25 Feb 2014 15:56:58 +0000
67 From: userx@exim.test.ex
75 # 4. A non-ASCII character in header name, uses default rejection message
76 exim -bh V4NET.10.10.10
78 mail from:<userx@exim.test.ex>
79 rcpt to:<userx@test.ex>
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>
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>
90 for XX@YY; Tue, 25 Feb 2014 15:56:58 +0000
91 From: userx@exim.test.ex
99 # 5. Headers are good, Unicode in message body, make sure no misfires.
100 exim -bh V4NET.10.10.10
102 mail from:<userx@exim.test.ex>
103 rcpt to:<userx@test.ex>
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>
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>
114 for XX@YY; Tue, 25 Feb 2014 15:56:58 +0000
115 From: userx@exim.test.ex
120 Some unicode characters: 顷晦٦
121 This email should be accepted because the headers are ok.
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
129 mail from:<userx@exim.test.ex>
130 rcpt to:<userx@test.ex>
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>
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>
141 for XX@YY; Tue, 25 Feb 2014 15:56:58 +0000
142 From: userx@exim.test.ex
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.