Fix string_copyn() for limit greater than actual string length
[exim.git] / test / scripts / 4520-TLS-DKIM / 4529
1 # DKIM verify, dkim_verify_hashes option
2 #
3 exim -DSERVER=server -bd -oX PORT_D
4 ****
5 #
6 # This should not ve verified, as the config ignores the sha1 sig
7 #  - sha1, 1024b
8 # Mail original in aux-fixed/4500.msg1.txt
9 # Sig generated by: perl aux-fixed/dkim/sign.pl --method=simple/simple < aux-fixed/4500.msg1.txt
10 client-anytls 127.0.0.1 PORT_D
11 ??? 220
12 EHLO test
13 ??? 250-myhost
14 ??? 250-SIZE
15 ??? 250-8BITMIME
16 ??? 250-PIPELINING
17 ??? 250-STARTTLS
18 ??? 250 HELP
19 STARTTLS
20 ??? 220
21 HELO xxx
22 ??? 250
23 MAIL FROM:<CALLER@bloggs.com>
24 ??? 250
25 RCPT TO:<a@test.ex>
26 ??? 250
27 DATA
28 ??? 354
29 DKIM-Signature: v=1; a=rsa-sha1; c=simple/simple; d=test.ex; h=from:to
30         :date:message-id:subject; s=sel; bh=OB9dZVu7+5/ufs3TH9leIcEpXSo=; b=
31         PeUA8iBGfStWv+9/BBKkvCEYj/AVMl4e9k+AqWOXKyuEUfHxqAnV+sPnOejpmvT8
32         41kuM4u0bICvK371YvB/yO61vtliRhyqU76Y2e55p2uvMADb3UyDhLyzpco4+yBo
33         1w0AuIxu0VU4TK8UmOLyCw/1hxrh1DcEInbEMEKJ7kI=
34 From: mrgus@text.ex
35 To: bakawolf@yahoo.com
36 Date: Thu, 19 Nov 2015 17:00:07 -0700
37 Message-ID: <qwerty1234@disco-zombie.net>
38 Subject: simple test
39
40 This is a simple test.
41 .
42 ??? 250
43 QUIT
44 ??? 221
45 ****
46 #
47 killdaemon
48 #
49 no_stdout_check
50 no_msglog_check