3 exim -DSERVER=server -bd -oX PORT_D
6 # This should fail verify (missing header hash in sig header)
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 127.0.0.1 PORT_D
14 MAIL FROM:<CALLER@bloggs.com>
20 DKIM-Signature: v=1; a=rsa-sha1; c=simple/simple; d=test.ex; h=from:to
21 :date:message-id:subject; s=sel; bh=OB9dZVu7+5/ufs3TH9leIcEpXSo=;
23 To: bakawolf@yahoo.com
24 Date: Thu, 19 Nov 2015 17:00:07 -0700
25 Message-ID: <qwerty1234@disco-zombie.net>
28 This is a simple test.
36 # This should fail verify (missing body hash in sig header)
38 # Mail original in aux-fixed/4500.msg1.txt
39 # Sig generated by: perl aux-fixed/dkim/sign.pl --method=simple/simple < aux-fixed/4500.msg1.txt
40 client 127.0.0.1 PORT_D
44 MAIL FROM:<CALLER@bloggs.com>
50 DKIM-Signature: v=1; a=rsa-sha1; c=simple/simple; d=test.ex; h=from:to
51 :date:message-id:subject; s=sel; b=
52 PeUA8iBGfStWv+9/BBKkvCEYj/AVMl4e9k+AqWOXKyuEUfHxqAnV+sPnOejpmvT8
53 41kuM4u0bICvK371YvB/yO61vtliRhyqU76Y2e55p2uvMADb3UyDhLyzpco4+yBo
54 1w0AuIxu0VU4TK8UmOLyCw/1hxrh1DcEInbEMEKJ7kI=
56 To: bakawolf@yahoo.com
57 Date: Thu, 19 Nov 2015 17:00:07 -0700
58 Message-ID: <qwerty1234@disco-zombie.net>
61 This is a simple test.
69 # This should fail verify (missing body)
71 # Mail original in aux-fixed/4500.msg1.txt
72 # Sig generated by: perl aux-fixed/dkim/sign.pl --method=simple/simple < aux-fixed/4500.msg1.txt
73 client 127.0.0.1 PORT_D
77 MAIL FROM:<CALLER@bloggs.com>
83 DKIM-Signature: v=1; a=rsa-sha1; c=simple/simple; d=test.ex; h=from:to
84 :date:message-id:subject; s=sel; bh=OB9dZVu7+5/ufs3TH9leIcEpXSo=; b=
85 PeUA8iBGfStWv+9/BBKkvCEYj/AVMl4e9k+AqWOXKyuEUfHxqAnV+sPnOejpmvT8
86 41kuM4u0bICvK371YvB/yO61vtliRhyqU76Y2e55p2uvMADb3UyDhLyzpco4+yBo
87 1w0AuIxu0VU4TK8UmOLyCw/1hxrh1DcEInbEMEKJ7kI=
89 To: bakawolf@yahoo.com
90 Date: Thu, 19 Nov 2015 17:00:07 -0700
91 Message-ID: <qwerty1234@disco-zombie.net>
101 # This should refuse to do verification (over-long body line)
102 # The sig is bogus, but we don't verify it
103 write test-data 1x16386
107 client 127.0.0.1 PORT_D
111 MAIL FROM:<CALLER@bloggs.com>
117 DKIM-Signature: v=1; a=rsa-sha1; c=simple/simple; d=test.ex; h=from:to
118 :date:message-id:subject; s=sel; bh=OB9dZVu7+5/ufs3TH9leIcEpXSo=; b=
119 PeUA8iBGfStWv+9/BBKkvCEYj/AVMl4e9k+AqWOXKyuEUfHxqAnV+sPnOejpmvT8
120 41kuM4u0bICvK371YvB/yO61vtliRhyqU76Y2e55p2uvMADb3UyDhLyzpco4+yBo
121 1w0AuIxu0VU4TK8UmOLyCw/1hxrh1DcEInbEMEKJ7kI=
123 To: bakawolf@yahoo.com
124 Date: Thu, 19 Nov 2015 17:00:07 -0700
125 Message-ID: <qwerty1234@disco-zombie.net>