summaryrefslogtreecommitdiff
path: root/test/scripts/4520-TLS-DKIM/4539
blob: eaa13fb1817f95e445033a3bbde9fb4ddc9ce315 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
# DKIM, CHUNKING, wireformat-spoolfile
#
exim -bd -DSERVER=server -DSRV=tls -DOPT=dkim -DLIST=Subject -oX PORT_S:PORT_D
****
#
# 1: non-CHUNKING injection; will not be stored as wireformat therefore
# onward-send will not use sendfile.  Should still be signed, and verify correctly.
client-anytls 127.0.0.1 PORT_S
??? 220
EHLO xxx
??? 250-
??? 250-
??? 250-
??? 250-
??? 250-
??? 250-
??? 250
STARTTLS
??? 220
HELO xxx
??? 250
MAIL FROM:<CALLER@bloggs.com>
??? 250
RCPT TO:<z@test.ex>
??? 250
DATA
??? 354
Subject: simple test

Line 1: This is a simple test.
Line 2: This is a simple test.
..Line 3 has a leading dot
last line: 4
.
??? 250
QUIT
??? 221
****
sleep 1
#
# 2: CHUNKING injection; should be stored as wireformat therefore
# onward-send should not use sendfile.  Should still be signed, and verify correctly.
client-anytls 127.0.0.1 PORT_S
??? 220
EHLO xxx
??? 250-
??? 250-
??? 250-
??? 250-
??? 250-
??? 250-
??? 250
STARTTLS
??? 220
HELO xxx
??? 250
MAIL FROM:<CALLER@bloggs.com>
??? 250
RCPT TO:<y@test.ex>
??? 250
BDAT 129 LAST
Subject: simple test

Line 1: This is a simple test.
Line 2: This is a simple test.
.Line 3 has a leading dot
last line: 4
??? 250-
??? 250
QUIT
??? 221
****
sleep 1
#
killdaemon
exim -q
****
no_msglog_check