DKIM: relaxed body canonicalisation should ignore whitespace at EOL
[users/heiko/exim.git] / test / scripts / 4500-Domain-Keys-Identified-Mail / 4500
1 # DKIM simple canonicalisation
2 #
3 exim -DSERVER=server -bd -oX PORT_D
4 ****
5 #
6 # This should pass.
7 # Mail original in aux-fixed/4500.msg1.txt
8 # Sig generatd by: perl aux-fixed/dkim/sign.pl --method=simple/simple < aux-fixed/4500.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=simple/simple; d=test.ex; h=from:to
20         :date:message-id:subject; s=sel; bh=OB9dZVu7+5/ufs3TH9leIcEpXSo=; b=
21         PeUA8iBGfStWv+9/BBKkvCEYj/AVMl4e9k+AqWOXKyuEUfHxqAnV+sPnOejpmvT8
22         41kuM4u0bICvK371YvB/yO61vtliRhyqU76Y2e55p2uvMADb3UyDhLyzpco4+yBo
23         1w0AuIxu0VU4TK8UmOLyCw/1hxrh1DcEInbEMEKJ7kI=
24 From: mrgus@text.ex
25 To: bakawolf@yahoo.com
26 Date: Thu, 19 Nov 2015 17:00:07 -0700
27 Message-ID: <qwerty1234@disco-zombie.net>
28 Subject: simple test
29
30 This is a simple test.
31 .
32 ??? 250
33 QUIT
34 ??? 221
35 ****
36 #
37 killdaemon
38 no_stdout_check
39 no_msglog_check