ARC: fix crash induced by misordered headers. Bug 2493
[users/jgh/exim.git] / test / scripts / 4560-ARC / 4562
1 # ARC sign, DKIM header interactions
2 #
3 exim -DSERVER=server -bd -oX PORT_D
4 ****
5 #
6 # Random-ish input message, having a DKIM header
7 client 127.0.0.1 PORT_D
8 ??? 220
9 HELO xxx
10 ??? 250
11 MAIL FROM:<CALLER@bloggs.com>
12 ??? 250
13 RCPT TO:<za@test.ex>
14 ??? 250
15 DATA
16 ??? 354
17 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;
18         d=example.com; s=sel; h=List-Archive;
19          bh=47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU=; b=uslVEq1LzHDR2ACoSTiErsGhe
20         GcuqL5no/4XYjsEJOIXkKFp4FFTj7QTcblHqyqsjgd5Dgs7zuFV4U3lwU9jSZtqJNQI+BtYZ5dS48
21         sjr9PbLiguw8rAv5eDXBQKi5XcNCnZlUnWEjl10OXEgJZ9UXdKToWHpSfWEw1nFvOlKAfPBfkznnA
22         EOQXSTJOTanLpr7EZ4Yw5LWE+9BWJfnl6snn6W0mmJl4tbfEXEV1ZzOxdQF1rwjJqmojoCG36Z+v5
23         sWKswl7HgSlKo2GKgxh9zIIhoxg5+7zfmHdKUQ2/6zuR8nqjDAjl3bSdOMgZVM0L6G6EMxQP6Sj6f
24         oEr6ePt9A==;
25 From: mrgus@text.ex
26 To: bakawolf@yahoo.com
27 Date: Thu, 19 Nov 2015 17:00:07 -0700
28 Message-ID: <qwerty1234@disco-zombie.net>
29 Subject: simple test
30
31 This is a simple test.
32 .
33 ??? 250
34 QUIT
35 ??? 221
36 ****
37 exim -DSERVER=server -DNOTDAEMON -q
38 ****
39 exim -DSERVER=server -DNOTDAEMON -q
40 ****
41 #
42 #
43 #
44 #
45 #
46 killdaemon
47 no_stdout_check
48 no_msglog_check