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>
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>
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>
16 for XX@YY; Tue, 25 Feb 2014 15:56:58 +0000
17 From: userx@exim.test.ex
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>
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>
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>
39 for XX@YY; Tue, 25 Feb 2014 15:56:58 +0000
40 From: userx@exim.test.ex
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>
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>
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>
63 for XX@YY; Tue, 25 Feb 2014 15:56:58 +0000
64 From: userx@exim.test.ex
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>
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>
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>
86 for XX@YY; Tue, 25 Feb 2014 15:56:58 +0000
87 From: userx@exim.test.ex
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>
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>
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>
109 for XX@YY; Tue, 25 Feb 2014 15:56:58 +0000
110 From: userx@exim.test.ex
115 Some unicode characters: 顷晦٦
116 This email should be accepted because the headers are ok.
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>
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>
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>
135 for XX@YY; Tue, 25 Feb 2014 15:56:58 +0000
136 From: userx@exim.test.ex
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.