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