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
24 MAIL FROM:<CALLER@bloggs.com>
30 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=test.ex; h=from:to
31 :date:message-id:subject; s=sel; bh=3UbbJTudPxmejzh7U1Zg33U3QT+1
32 6kfV2eOTvMeiEis=; b=xQSD/JMqz0C+xKf0A1NTkPTbkDuDdJbpBuyjjT9iYvyP
33 Zez+xl0TkoPobFGVa6EN8+ZeYV18zjifhtWYLSsNmPinUtcpKQLG1zxAKmmS0JEh
34 +qihlWbeGJ5+tK588ugUzXHPj+4JBW0H6kxHvdH0l2SlQE5xs/cdggnx5QX5USY=
36 To: bakawolf@yahoo.com
37 Date: Thu, 19 Nov 2015 17:00:07 -0700
38 Message-ID: <qwerty1234@disco-zombie.net>
41 This is a simple test.
49 exim -DSERVER=server -DDYNAMIC_OPTION='' -bd -oX PORT_D
51 # Empty. Should avoid calling dkim ACL.
53 # Mail original in aux-fixed/4500.msg1.txt
54 # Sig generated by: perl aux-fixed/dkim/sign.pl --algorithm=rsa-sha256 \
55 # --method=simple/simple < aux-fixed/4500.msg1.txt
56 client-anytls 127.0.0.1 PORT_D
69 MAIL FROM:<CALLER@bloggs.com>
75 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=test.ex; h=from:to
76 :date:message-id:subject; s=sel; bh=3UbbJTudPxmejzh7U1Zg33U3QT+1
77 6kfV2eOTvMeiEis=; b=xQSD/JMqz0C+xKf0A1NTkPTbkDuDdJbpBuyjjT9iYvyP
78 Zez+xl0TkoPobFGVa6EN8+ZeYV18zjifhtWYLSsNmPinUtcpKQLG1zxAKmmS0JEh
79 +qihlWbeGJ5+tK588ugUzXHPj+4JBW0H6kxHvdH0l2SlQE5xs/cdggnx5QX5USY=
81 To: bakawolf@yahoo.com
82 Date: Thu, 19 Nov 2015 17:00:07 -0700
83 Message-ID: <qwerty1234@disco-zombie.net>
86 This is a simple test.
94 exim -DSERVER=server -DDYNAMIC_OPTION='nothere.example.com' -bd -oX PORT_D
96 # Different domain. Should fail DKIM verify.
98 # Mail original in aux-fixed/4500.msg1.txt
99 # Sig generated by: perl aux-fixed/dkim/sign.pl --algorithm=rsa-sha256 \
100 # --method=simple/simple < aux-fixed/4500.msg1.txt
101 client-anytls 127.0.0.1 PORT_D
114 MAIL FROM:<CALLER@bloggs.com>
120 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=test.ex; h=from:to
121 :date:message-id:subject; s=sel; bh=3UbbJTudPxmejzh7U1Zg33U3QT+1
122 6kfV2eOTvMeiEis=; b=xQSD/JMqz0C+xKf0A1NTkPTbkDuDdJbpBuyjjT9iYvyP
123 Zez+xl0TkoPobFGVa6EN8+ZeYV18zjifhtWYLSsNmPinUtcpKQLG1zxAKmmS0JEh
124 +qihlWbeGJ5+tK588ugUzXHPj+4JBW0H6kxHvdH0l2SlQE5xs/cdggnx5QX5USY=
126 To: bakawolf@yahoo.com
127 Date: Thu, 19 Nov 2015 17:00:07 -0700
128 Message-ID: <qwerty1234@disco-zombie.net>
131 This is a simple test.
139 exim -DSERVER=server -DDYNAMIC_OPTION='test.ex : different.example.com' -bd -oX PORT_D
141 # Mixed set. Should get one DKIM verify pass.
143 # Mail original in aux-fixed/4500.msg1.txt
144 # Sig generated by: perl aux-fixed/dkim/sign.pl --algorithm=rsa-sha256 \
145 # --method=simple/simple < aux-fixed/4500.msg1.txt
146 client-anytls 127.0.0.1 PORT_D
159 MAIL FROM:<CALLER@bloggs.com>
165 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=test.ex; h=from:to
166 :date:message-id:subject; s=sel; bh=3UbbJTudPxmejzh7U1Zg33U3QT+1
167 6kfV2eOTvMeiEis=; b=xQSD/JMqz0C+xKf0A1NTkPTbkDuDdJbpBuyjjT9iYvyP
168 Zez+xl0TkoPobFGVa6EN8+ZeYV18zjifhtWYLSsNmPinUtcpKQLG1zxAKmmS0JEh
169 +qihlWbeGJ5+tK588ugUzXHPj+4JBW0H6kxHvdH0l2SlQE5xs/cdggnx5QX5USY=
171 To: bakawolf@yahoo.com
172 Date: Thu, 19 Nov 2015 17:00:07 -0700
173 Message-ID: <qwerty1234@disco-zombie.net>
176 This is a simple test.