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-anytls 127.0.0.1 PORT_D
25 MAIL FROM:<CALLER@bloggs.com>
31 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=test.ex; h=from:to
32 :date:message-id:subject; s=sel; bh=3UbbJTudPxmejzh7U1Zg33U3QT+1
33 6kfV2eOTvMeiEis=; b=xQSD/JMqz0C+xKf0A1NTkPTbkDuDdJbpBuyjjT9iYvyP
34 Zez+xl0TkoPobFGVa6EN8+ZeYV18zjifhtWYLSsNmPinUtcpKQLG1zxAKmmS0JEh
35 +qihlWbeGJ5+tK588ugUzXHPj+4JBW0H6kxHvdH0l2SlQE5xs/cdggnx5QX5USY=
37 To: bakawolf@yahoo.com
38 Date: Thu, 19 Nov 2015 17:00:07 -0700
39 Message-ID: <qwerty1234@disco-zombie.net>
42 This is a simple test.
50 exim -DSERVER=server -DDYNAMIC_OPTION='' -bd -oX PORT_D
52 # Empty. Should avoid calling dkim ACL.
54 # Mail original in aux-fixed/4500.msg1.txt
55 # Sig generated by: perl aux-fixed/dkim/sign.pl --algorithm=rsa-sha256 \
56 # --method=simple/simple < aux-fixed/4500.msg1.txt
57 client-anytls 127.0.0.1 PORT_D
71 MAIL FROM:<CALLER@bloggs.com>
77 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=test.ex; h=from:to
78 :date:message-id:subject; s=sel; bh=3UbbJTudPxmejzh7U1Zg33U3QT+1
79 6kfV2eOTvMeiEis=; b=xQSD/JMqz0C+xKf0A1NTkPTbkDuDdJbpBuyjjT9iYvyP
80 Zez+xl0TkoPobFGVa6EN8+ZeYV18zjifhtWYLSsNmPinUtcpKQLG1zxAKmmS0JEh
81 +qihlWbeGJ5+tK588ugUzXHPj+4JBW0H6kxHvdH0l2SlQE5xs/cdggnx5QX5USY=
83 To: bakawolf@yahoo.com
84 Date: Thu, 19 Nov 2015 17:00:07 -0700
85 Message-ID: <qwerty1234@disco-zombie.net>
88 This is a simple test.
96 exim -DSERVER=server -DDYNAMIC_OPTION='nothere.example.com' -bd -oX PORT_D
98 # Different domain. Should fail DKIM verify.
100 # Mail original in aux-fixed/4500.msg1.txt
101 # Sig generated by: perl aux-fixed/dkim/sign.pl --algorithm=rsa-sha256 \
102 # --method=simple/simple < aux-fixed/4500.msg1.txt
103 client-anytls 127.0.0.1 PORT_D
117 MAIL FROM:<CALLER@bloggs.com>
123 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=test.ex; h=from:to
124 :date:message-id:subject; s=sel; bh=3UbbJTudPxmejzh7U1Zg33U3QT+1
125 6kfV2eOTvMeiEis=; b=xQSD/JMqz0C+xKf0A1NTkPTbkDuDdJbpBuyjjT9iYvyP
126 Zez+xl0TkoPobFGVa6EN8+ZeYV18zjifhtWYLSsNmPinUtcpKQLG1zxAKmmS0JEh
127 +qihlWbeGJ5+tK588ugUzXHPj+4JBW0H6kxHvdH0l2SlQE5xs/cdggnx5QX5USY=
129 To: bakawolf@yahoo.com
130 Date: Thu, 19 Nov 2015 17:00:07 -0700
131 Message-ID: <qwerty1234@disco-zombie.net>
134 This is a simple test.
142 exim -DSERVER=server -DDYNAMIC_OPTION='test.ex : different.example.com' -bd -oX PORT_D
144 # Mixed set. Should get one DKIM verify pass.
146 # Mail original in aux-fixed/4500.msg1.txt
147 # Sig generated by: perl aux-fixed/dkim/sign.pl --algorithm=rsa-sha256 \
148 # --method=simple/simple < aux-fixed/4500.msg1.txt
149 client-anytls 127.0.0.1 PORT_D
163 MAIL FROM:<CALLER@bloggs.com>
169 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=test.ex; h=from:to
170 :date:message-id:subject; s=sel; bh=3UbbJTudPxmejzh7U1Zg33U3QT+1
171 6kfV2eOTvMeiEis=; b=xQSD/JMqz0C+xKf0A1NTkPTbkDuDdJbpBuyjjT9iYvyP
172 Zez+xl0TkoPobFGVa6EN8+ZeYV18zjifhtWYLSsNmPinUtcpKQLG1zxAKmmS0JEh
173 +qihlWbeGJ5+tK588ugUzXHPj+4JBW0H6kxHvdH0l2SlQE5xs/cdggnx5QX5USY=
175 To: bakawolf@yahoo.com
176 Date: Thu, 19 Nov 2015 17:00:07 -0700
177 Message-ID: <qwerty1234@disco-zombie.net>
180 This is a simple test.