1 # DKIM verify, dkim_verify_signers option
3 exim -DSERVER=server -DDYNAMIC_OPTION='$dkim_signers' -bd -oX PORT_D
6 # Same as default. This should pass.
8 # Mail original in aux-fixed/4500.msg1.txt
9 # Sig generated by: perl aux-fixed/dkim/sign.pl --algorithm=rsa-sha256 \
10 # --method=simple/simple < aux-fixed/4500.msg1.txt
11 client 127.0.0.1 PORT_D
15 MAIL FROM:<CALLER@bloggs.com>
21 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=test.ex; h=from:to
22 :date:message-id:subject; s=sel; bh=3UbbJTudPxmejzh7U1Zg33U3QT+1
23 6kfV2eOTvMeiEis=; b=xQSD/JMqz0C+xKf0A1NTkPTbkDuDdJbpBuyjjT9iYvyP
24 Zez+xl0TkoPobFGVa6EN8+ZeYV18zjifhtWYLSsNmPinUtcpKQLG1zxAKmmS0JEh
25 +qihlWbeGJ5+tK588ugUzXHPj+4JBW0H6kxHvdH0l2SlQE5xs/cdggnx5QX5USY=
27 To: bakawolf@yahoo.com
28 Date: Thu, 19 Nov 2015 17:00:07 -0700
29 Message-ID: <qwerty1234@disco-zombie.net>
32 This is a simple test.
40 exim -DSERVER=server -DDYNAMIC_OPTION='' -bd -oX PORT_D
42 # Empty. Should avoid calling dkim ACL.
44 # Mail original in aux-fixed/4500.msg1.txt
45 # Sig generated by: perl aux-fixed/dkim/sign.pl --algorithm=rsa-sha256 \
46 # --method=simple/simple < aux-fixed/4500.msg1.txt
47 client 127.0.0.1 PORT_D
51 MAIL FROM:<CALLER@bloggs.com>
57 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=test.ex; h=from:to
58 :date:message-id:subject; s=sel; bh=3UbbJTudPxmejzh7U1Zg33U3QT+1
59 6kfV2eOTvMeiEis=; b=xQSD/JMqz0C+xKf0A1NTkPTbkDuDdJbpBuyjjT9iYvyP
60 Zez+xl0TkoPobFGVa6EN8+ZeYV18zjifhtWYLSsNmPinUtcpKQLG1zxAKmmS0JEh
61 +qihlWbeGJ5+tK588ugUzXHPj+4JBW0H6kxHvdH0l2SlQE5xs/cdggnx5QX5USY=
63 To: bakawolf@yahoo.com
64 Date: Thu, 19 Nov 2015 17:00:07 -0700
65 Message-ID: <qwerty1234@disco-zombie.net>
68 This is a simple test.
76 exim -DSERVER=server -DDYNAMIC_OPTION='nothere.example.com' -bd -oX PORT_D
78 # Different domain. Should fail DKIM verify.
80 # Mail original in aux-fixed/4500.msg1.txt
81 # Sig generated by: perl aux-fixed/dkim/sign.pl --algorithm=rsa-sha256 \
82 # --method=simple/simple < aux-fixed/4500.msg1.txt
83 client 127.0.0.1 PORT_D
87 MAIL FROM:<CALLER@bloggs.com>
93 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=test.ex; h=from:to
94 :date:message-id:subject; s=sel; bh=3UbbJTudPxmejzh7U1Zg33U3QT+1
95 6kfV2eOTvMeiEis=; b=xQSD/JMqz0C+xKf0A1NTkPTbkDuDdJbpBuyjjT9iYvyP
96 Zez+xl0TkoPobFGVa6EN8+ZeYV18zjifhtWYLSsNmPinUtcpKQLG1zxAKmmS0JEh
97 +qihlWbeGJ5+tK588ugUzXHPj+4JBW0H6kxHvdH0l2SlQE5xs/cdggnx5QX5USY=
99 To: bakawolf@yahoo.com
100 Date: Thu, 19 Nov 2015 17:00:07 -0700
101 Message-ID: <qwerty1234@disco-zombie.net>
104 This is a simple test.
112 exim -DSERVER=server -DDYNAMIC_OPTION='test.ex : different.example.com' -bd -oX PORT_D
114 # Mixed set. Should get one DKIM verify pass.
116 # Mail original in aux-fixed/4500.msg1.txt
117 # Sig generated by: perl aux-fixed/dkim/sign.pl --algorithm=rsa-sha256 \
118 # --method=simple/simple < aux-fixed/4500.msg1.txt
119 client 127.0.0.1 PORT_D
123 MAIL FROM:<CALLER@bloggs.com>
129 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=test.ex; h=from:to
130 :date:message-id:subject; s=sel; bh=3UbbJTudPxmejzh7U1Zg33U3QT+1
131 6kfV2eOTvMeiEis=; b=xQSD/JMqz0C+xKf0A1NTkPTbkDuDdJbpBuyjjT9iYvyP
132 Zez+xl0TkoPobFGVa6EN8+ZeYV18zjifhtWYLSsNmPinUtcpKQLG1zxAKmmS0JEh
133 +qihlWbeGJ5+tK588ugUzXHPj+4JBW0H6kxHvdH0l2SlQE5xs/cdggnx5QX5USY=
135 To: bakawolf@yahoo.com
136 Date: Thu, 19 Nov 2015 17:00:07 -0700
137 Message-ID: <qwerty1234@disco-zombie.net>
140 This is a simple test.