ARC initial implementation. Experimental. Bug 2162
[exim.git] / test / scripts / 4500-DKIM / 4520
CommitLineData
69a70afa
JH
1# DKIM signing
2#
3exim -bd -DSERVER=server -oX PORT_D
4****
8ef02a06
JH
5#
6# single header signed
ab9152ff 7exim -DOPT=From -odf a@test.ex
8ef02a06 8From: nobody@example.com
ab9152ff 9From: second@example.com
8ef02a06
JH
10
11content
12****
13#
14# single header, oversigned
ab9152ff 15exim -DOPT=From:From -odf b@test.ex
8ef02a06
JH
16From: nobody@example.com
17
484cc1a9
JH
18content
19****
20#
21# no header, multi-sign
22exim -DOPT=From:=X-Mine -odf b10@test.ex
23From: nobody@example.com
24
25content
26****
27#
28# double header, multi-sign
29exim -DOPT=From:=X-Mine -odf b12@test.ex
30From: nobody@example.com
31X-mine: one
32X-mine: two
33
34content
35****
36#
37#
38# no header, always-oversign
39exim -DOPT=+X-Mine -odf b20@test.ex
40From: nobody@example.com
41
42content
43****
44#
45# double header, always-oversign
46exim -DOPT=+X-Mine -odf b22@test.ex
47From: nobody@example.com
48X-mine: one
49X-mine: two
50
8ef02a06
JH
51content
52****
53#
54# default header set
ab9152ff 55exim -DHEADERS_MAXSIZE=y -odf c@test.ex
2592e6c0
JH
56From: nobody@example.com
57
69a70afa
JH
58content
59****
cd1a5fe0
JH
60#
61# check that on signing we warn in debug mode about verify problems
9e70917d 62exim -d-all+acl -DOPT=From -DSELECTOR=sel_bad -odf d@test.ex
cd1a5fe0
JH
63From: nobody@example.com
64
0b8f4f1a
JH
65content
66****
67#
68# check that an empty dkim_privatekey overrides dkim_strict
69exim -DOPT=From -DSTRICT=true -DSELECTOR=none -odf a@test.ex
70From: nobody@example.com
71
cd1a5fe0
JH
72content
73****
74#
2592e6c0 75millisleep 500
69a70afa
JH
76killdaemon
77no_msglog_check