DKIM: relaxed body canonicalisation should ignore whitespace at EOL
[users/heiko/exim.git] / test / scripts / 4500-Domain-Keys-Identified-Mail / 4502
1 # DKIM 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 killdaemon
54 no_stdout_check
55 no_msglog_check