log process_info on SEGV
[exim.git] / test / scripts / 4500-DKIM / 4502
1 # DKIM verify, relaxed canonicalisation
2 #
3 exim -DSERVER=server -bd -oX PORT_D
4 ****
5 #
6 # This should pass.
7 # Mail original in aux-fixed/4502.msg1.txt
8 # Sig generated by:  perl aux-fixed/dkim/sign.pl --method=relaxed/relaxed < aux-fixed/4502.msg1.txt
9 client 127.0.0.1 PORT_D
10 ??? 220
11 HELO xxx
12 ??? 250
13 MAIL FROM:<CALLER@bloggs.com>
14 ??? 250
15 RCPT TO:<a@test.ex>
16 ??? 250
17 DATA
18 ??? 354
19 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=test.ex; h=
20         message-id:date:from:mime-version:to:subject:content-type
21         :content-transfer-encoding; s=sel; bh=rn0kk3aPKyhYbxzfi3WG8dAxhN
22         M=; b=Tsi3kJtTNmIP0LAkEXR201R/alr7FwaWRAP+V9qQZf7MzAFrkfKAhkT3UQ
23         zPTJsZowOZaM1UoeeDQCvfvHG5YG8YCFwU3tuLgdDvbCmYJvR+jPNntN27BXcrVH
24         fyQLstR8eQPUopT7vmdYwsMlXz0Jv7iLM1MyxsWn6z1LTlvYA=
25 Message-ID: <564CFC9B.1040905@yahoo.com>
26 Date: Wed, 18 Nov 2015 14:32:59 -0800
27 From: Joaquin Lopez <bakawolf@test.ex>
28 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:24.0) Gecko/20100101 Thunderbird/24.0
29 MIME-Version: 1.0
30 To: bakawolf@yahoo.com
31 Subject: test
32 Content-Type: text/plain; charset=ISO-8859-1; format=flowed
33 Content-Transfer-Encoding: 7bit
34 Content-Length: 13
35
36
37
38 test
39
40
41
42
43
44
45       
46
47 .
48 ??? 250
49 QUIT
50 ??? 221
51 ****
52 #
53 # This should pass.
54 # Mail original in aux-fixed/4502.msg2.txt
55 # Sig generated by:  perl aux-fixed/dkim/sign.pl --method=relaxed < aux-fixed/4502.msg2.txt
56 client 127.0.0.1 PORT_D
57 ??? 220
58 HELO xxx
59 ??? 250
60 MAIL FROM:<CALLER@bloggs.com>
61 ??? 250
62 RCPT TO:<a@test.ex>
63 ??? 250
64 DATA
65 ??? 354
66 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=test.ex; h=from:to:subject
67         :date:mime-version:content-type; s=sel; bh=uoq1oCgLlTqpdDX/iUbLy
68         7J1Wic=; b=R8INFWPcNpQCsFaaflR6DMlxeSiNyJzOhC6cd56blJf1Ko4pgXnPP
69         /iZk1GVEUVvrCg/PUSQZGbXfukFf3iiPeKuq3xLtFHLZ23BcWTBUTK/mBPNQrB6p
70         YSQAYzZC/3x4DzTlkqgQgBcm78x8SkO2TdaUK/3Ja6HloNp2spUgLQ=
71 Received: from xxxxxxxx.sproing.at ([127.0.0.1]:6225 helo=xxxxxxxx.sproing.at)
72         by yyyyyyyyyy.sproing.at with esmtp (Exim 4.86)
73         (envelope-from <postmaster@sproing.at>)
74         id 1a2FuN-0007pz-HD
75         for eximdkimtest@sproing.at; Fri, 27 Nov 2015 11:05:39 +0100
76 From: <postmaster@test.ex>
77 To: <eximdkimtest@sproing.at>
78 Subject: test
79 Date: Fri, 27 Nov 2015 11:05:38 +0100
80 MIME-Version: 1.0
81 Content-Type: text/plain;
82
83
84
85
86
87
88 .
89 ??? 250
90 QUIT
91 ??? 221
92 ****
93 #
94 # This should pass.
95 # Mail original in aux-fixed/4502.msg3.txt
96 # Sig generated by:  perl aux-fixed/dkim/sign.pl --method=relaxed < aux-fixed/4502.msg3.txt
97 client 127.0.0.1 PORT_D
98 ??? 220
99 HELO xxx
100 ??? 250
101 MAIL FROM:<CALLER@bloggs.com>
102 ??? 250
103 RCPT TO:<a@test.ex>
104 ??? 250
105 DATA
106 ??? 354
107 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=test.ex; h=from:to:subject
108         :date:mime-version:content-type; s=sel; bh=nlP/3EB0g/eKjl7+VInpZ
109         PDwELc=; b=TDZikuksDQgvVnkU+ZD7XZFhkfuf73WV9NcLRp7R/ADkBh2ZWzoKc
110         1wST+dRBSt9m27BPx3EeUy1rZHryChKoTDy9XzLqo4mLOH4dC5pU5MWGD+bdtdeC
111         s3kEaYt3+l+7fsVdHFTu+2WwQUcQlvmUbENRn1k8sbpe9CGPrtvcAg=
112 Received: from xxxxxxxx.sproing.at ([127.0.0.1]:6225 helo=xxxxxxxx.sproing.at)
113         by yyyyyyyyyy.sproing.at with esmtp (Exim 4.86)
114         (envelope-from <postmaster@sproing.at>)
115         id 1a2FuN-0007pz-HD
116         for eximdkimtest@sproing.at; Fri, 27 Nov 2015 11:05:39 +0100
117 From: <postmaster@test.ex>
118 To: <eximdkimtest@sproing.at>
119 Subject: test
120 Date: Fri, 27 Nov 2015 11:05:38 +0100
121 MIME-Version: 1.0
122 Content-Type: text/plain;
123
124 Some content, then two blank lines.
125
126
127 .
128 ??? 250
129 QUIT
130 ??? 221
131 ****
132 #
133 # This should fail, due to an extra \ in the DNS record.
134 # Mail original in aux-fixed/4502.msg1.txt
135 # Sig generated by:  perl aux-fixed/dkim/sign.pl --method=relaxed/relaxed --selector=sel_bad < aux-fixed/4502.msg1.txt
136 client 127.0.0.1 PORT_D
137 ??? 220
138 HELO xxx
139 ??? 250
140 MAIL FROM:<CALLER@bloggs.com>
141 ??? 250
142 RCPT TO:<a@test.ex>
143 ??? 250
144 DATA
145 ??? 354
146 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=test.ex; h=
147         message-id:date:from:mime-version:to:subject:content-type
148         :content-transfer-encoding; s=sel_bad; bh=rn0kk3aPKyhYbxzfi3WG8d
149         AxhNM=; b=kXWfssgeNTAHmr9u2U6VZvb8uXuzoeLtZqgxySmUERKBsjk9sV31yv
150         3rEMCwdtM38yBNFK9zuLsoBUO6M7fGnpfgbGv7BnDHx8AJcsPc1Ay/7JbLKhiCxo
151         zMTFil/4pj1s3bQGLCCOcN688IgerUUFqNBM5vq0nIOKzj2dwhQC8=
152 Message-ID: <564CFC9B.1040905@yahoo.com>
153 Date: Wed, 18 Nov 2015 14:32:59 -0800
154 From: Joaquin Lopez <bakawolf@test.ex>
155 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:24.0) Gecko/20100101 Thunderbird/24.0
156 MIME-Version: 1.0
157 To: bakawolf@yahoo.com
158 Subject: test
159 Content-Type: text/plain; charset=ISO-8859-1; format=flowed
160 Content-Transfer-Encoding: 7bit
161 Content-Length: 13
162
163
164
165 test
166
167
168
169
170
171
172       
173
174 .
175 ??? 250
176 QUIT
177 ??? 221
178 ****
179 killdaemon
180 no_stdout_check
181 no_msglog_check