Hintsdb: fix dumpdb for sqlite
[exim.git] / test / scripts / 4500-DKIM / 4510
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, with timestamps
15 exim -DOPT=From:From -DTIMES=10 -odf b@test.ex
16 From: nobody@example.com
17
18 content
19 ****
20 # single header, oversigned, with only t= timestamp; no expiry x=
21 exim -DOPT=From:From -DTIMES=0 -odf b02@test.ex
22 From: nobody@example.com
23
24 content
25 ****
26 #
27 # no header, multi-sign
28 exim -DOPT=From:=X-Mine -odf b10@test.ex
29 From: nobody@example.com
30
31 content
32 ****
33 #
34 # double header, multi-sign
35 exim -DOPT=From:=X-Mine -odf b12@test.ex
36 From: nobody@example.com
37 X-mine: one
38 X-mine: two
39
40 content
41 ****
42 #
43 #
44 # no header, always-oversign
45 exim -DOPT=+X-Mine -odf b20@test.ex
46 From: nobody@example.com
47
48 content
49 ****
50 #
51 # double header, always-oversign
52 exim -DOPT=+X-Mine -odf b22@test.ex
53 From: nobody@example.com
54 X-mine: one
55 X-mine: two
56
57 content
58 ****
59 #
60 ## default header set
61 # cannot test that as it includes Date: so results in a varying signature
62 #exim -DHEADERS_MAXSIZE=y -odf c@test.ex
63 #From: nobody@example.com
64 #
65 #content
66 #****
67 ##
68 # check that on signing we warn in debug mode about verify problems
69 exim -d-all+acl -DOPT=From -DSELECTOR=sel_bad -odf d@test.ex
70 From: nobody@example.com
71
72 content
73 ****
74 #
75 # check dkim_strict results in a defer (even with an expansion)
76 exim -DOPT=From '-DSTRICT=${if ={1}{1}{true}}' '-DTIMES=${bogus}' -odf '-f<>' e0@test.ex
77 From: nobody@example.com
78
79 content
80 ****
81 #
82 # check that an empty dkim_privatekey overrides dkim_strict
83 exim -DOPT=From -DSTRICT=true -DSELECTOR=none -odf e@test.ex
84 From: nobody@example.com
85
86 content
87 ****
88 #
89 # single header signed, body line starting with dot
90 exim -DOPT=From -odf f@test.ex
91 From: nobody@example.com
92
93 ..content
94 ****
95 #
96 millisleep 500
97 killdaemon
98 no_msglog_check