summaryrefslogtreecommitdiff
path: root/test/scripts/4520-TLS-DKIM/4522
blob: e636930af6e0635cd2f1a7d2e3942ba5278caaad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
# DKIM verify, relaxed canonicalisation
#
exim -DSERVER=server -bd -oX PORT_D
****
#
# This should pass.
# Mail original in aux-fixed/4502.msg1.txt
# Sig generated by:  perl aux-fixed/dkim/sign.pl --method=relaxed/relaxed < aux-fixed/4502.msg1.txt
client-anytls 127.0.0.1 PORT_D
??? 220
EHLO test
??? 250-
??? 250-
??? 250-
??? 250-
??? 250-
??? 250
STARTTLS
??? 220
HELO xxx
??? 250
MAIL FROM:<CALLER@bloggs.com>
??? 250
RCPT TO:<a@test.ex>
??? 250
DATA
??? 354
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=test.ex; h=
	message-id:date:from:mime-version:to:subject:content-type
	:content-transfer-encoding; s=sel; bh=rn0kk3aPKyhYbxzfi3WG8dAxhN
	M=; b=Tsi3kJtTNmIP0LAkEXR201R/alr7FwaWRAP+V9qQZf7MzAFrkfKAhkT3UQ
	zPTJsZowOZaM1UoeeDQCvfvHG5YG8YCFwU3tuLgdDvbCmYJvR+jPNntN27BXcrVH
	fyQLstR8eQPUopT7vmdYwsMlXz0Jv7iLM1MyxsWn6z1LTlvYA=
Message-ID: <564CFC9B.1040905@yahoo.com>
Date: Wed, 18 Nov 2015 14:32:59 -0800
From: Joaquin Lopez <bakawolf@test.ex>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:24.0) Gecko/20100101 Thunderbird/24.0
MIME-Version: 1.0
To: bakawolf@yahoo.com
Subject: test
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Length: 13



test






      

.
??? 250
QUIT
??? 221
****
#
# This should pass.
# Mail original in aux-fixed/4502.msg2.txt
# Sig generated by:  perl aux-fixed/dkim/sign.pl --method=relaxed < aux-fixed/4502.msg2.txt
client-anytls 127.0.0.1 PORT_D
??? 220
EHLO test
??? 250-
??? 250-
??? 250-
??? 250-
??? 250-
??? 250
STARTTLS
??? 220
HELO xxx
??? 250
MAIL FROM:<CALLER@bloggs.com>
??? 250
RCPT TO:<a@test.ex>
??? 250
DATA
??? 354
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=test.ex; h=from:to:subject
	:date:mime-version:content-type; s=sel; bh=uoq1oCgLlTqpdDX/iUbLy
	7J1Wic=; b=R8INFWPcNpQCsFaaflR6DMlxeSiNyJzOhC6cd56blJf1Ko4pgXnPP
	/iZk1GVEUVvrCg/PUSQZGbXfukFf3iiPeKuq3xLtFHLZ23BcWTBUTK/mBPNQrB6p
	YSQAYzZC/3x4DzTlkqgQgBcm78x8SkO2TdaUK/3Ja6HloNp2spUgLQ=
Received: from xxxxxxxx.sproing.at ([127.0.0.1]:6225 helo=xxxxxxxx.sproing.at)
	by yyyyyyyyyy.sproing.at with esmtp (Exim 4.86)
	(envelope-from <postmaster@sproing.at>)
	id 1a2FuN-0007pz-HD
	for eximdkimtest@sproing.at; Fri, 27 Nov 2015 11:05:39 +0100
From: <postmaster@test.ex>
To: <eximdkimtest@sproing.at>
Subject: test
Date: Fri, 27 Nov 2015 11:05:38 +0100
MIME-Version: 1.0
Content-Type: text/plain;






.
??? 250
QUIT
??? 221
****
#
# This should pass.
# Mail original in aux-fixed/4502.msg3.txt
# Sig generated by:  perl aux-fixed/dkim/sign.pl --method=relaxed < aux-fixed/4502.msg3.txt
client-anytls 127.0.0.1 PORT_D
??? 220
EHLO test
??? 250-
??? 250-
??? 250-
??? 250-
??? 250-
??? 250
STARTTLS
??? 220
HELO xxx
??? 250
MAIL FROM:<CALLER@bloggs.com>
??? 250
RCPT TO:<a@test.ex>
??? 250
DATA
??? 354
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=test.ex; h=from:to:subject
	:date:mime-version:content-type; s=sel; bh=nlP/3EB0g/eKjl7+VInpZ
	PDwELc=; b=TDZikuksDQgvVnkU+ZD7XZFhkfuf73WV9NcLRp7R/ADkBh2ZWzoKc
	1wST+dRBSt9m27BPx3EeUy1rZHryChKoTDy9XzLqo4mLOH4dC5pU5MWGD+bdtdeC
	s3kEaYt3+l+7fsVdHFTu+2WwQUcQlvmUbENRn1k8sbpe9CGPrtvcAg=
Received: from xxxxxxxx.sproing.at ([127.0.0.1]:6225 helo=xxxxxxxx.sproing.at)
	by yyyyyyyyyy.sproing.at with esmtp (Exim 4.86)
	(envelope-from <postmaster@sproing.at>)
	id 1a2FuN-0007pz-HD
	for eximdkimtest@sproing.at; Fri, 27 Nov 2015 11:05:39 +0100
From: <postmaster@test.ex>
To: <eximdkimtest@sproing.at>
Subject: test
Date: Fri, 27 Nov 2015 11:05:38 +0100
MIME-Version: 1.0
Content-Type: text/plain;

Some content, then two blank lines.


.
??? 250
QUIT
??? 221
****
#
# This should fail, due to an extra \ in the DNS record.
# Mail original in aux-fixed/4502.msg1.txt
# Sig generated by:  perl aux-fixed/dkim/sign.pl --method=relaxed/relaxed --selector=sel_bad < aux-fixed/4502.msg1.txt
client-anytls 127.0.0.1 PORT_D
??? 220
EHLO test
??? 250-
??? 250-
??? 250-
??? 250-
??? 250-
??? 250
STARTTLS
??? 220
HELO xxx
??? 250
MAIL FROM:<CALLER@bloggs.com>
??? 250
RCPT TO:<a@test.ex>
??? 250
DATA
??? 354
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=test.ex; h=
        message-id:date:from:mime-version:to:subject:content-type
        :content-transfer-encoding; s=sel_bad; bh=rn0kk3aPKyhYbxzfi3WG8d
        AxhNM=; b=kXWfssgeNTAHmr9u2U6VZvb8uXuzoeLtZqgxySmUERKBsjk9sV31yv
        3rEMCwdtM38yBNFK9zuLsoBUO6M7fGnpfgbGv7BnDHx8AJcsPc1Ay/7JbLKhiCxo
        zMTFil/4pj1s3bQGLCCOcN688IgerUUFqNBM5vq0nIOKzj2dwhQC8=
Message-ID: <564CFC9B.1040905@yahoo.com>
Date: Wed, 18 Nov 2015 14:32:59 -0800
From: Joaquin Lopez <bakawolf@test.ex>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:24.0) Gecko/20100101 Thunderbird/24.0
MIME-Version: 1.0
To: bakawolf@yahoo.com
Subject: test
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Length: 13



test






      

.
??? 250
QUIT
??? 221
****
killdaemon
no_stdout_check
no_msglog_check