Taint: reject or log more tainted list metadata elements
[exim.git] / test / scripts / 4560-ARC / 4563
1 # ARC verify, misordered headers
2 #
3 exim -DSERVER=server -bd -oX PORT_D
4 ****
5 #
6 # This should fail signatures (manually added i=2 layer), but not crash.
7 # It seems that Outlook.com is _sorting_ headers before transmission;
8 # so it goes AS2 AS1 AMS2 AMS1 AAR2 AAR1.  We had a bug in assuming that
9 # the end of a list held the AMD we'd just parsed, so when the end
10 # hadn't had an AMS yet, we fullowed a null pointer.
11 #
12 # Mail original in aux-fixed/4560.msg1.txt
13 # Sig generated by: perl aux-fixed/dkim/sign_arc.pl < aux-fixed/4560.msg1.txt
14 client 127.0.0.1 PORT_D
15 ??? 220
16 HELO xxx
17 ??? 250
18 MAIL FROM:<CALLER@bloggs.com>
19 ??? 250
20 RCPT TO:<a@test.ex>
21 ??? 250
22 DATA
23 ??? 354
24 ARC-Seal: i=2; a=rsa-sha256; cv=none; d=test.ex; s=sel; t=1521752658; b=
25         xcIN0OEpAc3s8riODm31Q6JgmIECch3iVd1LXWwsypGpCY2UFFuo5HhCEf4a043q
26         YZ+zn/MbFFkvwIqleeQkJ7S5UcvfM8dv/V4YnwAe+JD8r79glh/FRq6uKlc0ixLS
27         CllJMwj98J1P1K9+gwmO5TrD1eTZV68caZj77P+X2kw=
28 ARC-Seal: i=1; a=rsa-sha256; cv=none; d=test.ex; s=sel; t=1521752658; b=
29         xcIN0OEpAc3s8riODm31Q6JgmIECch3iVd1LXWwsypGpCY2UFFuo5HhCEf4a043q
30         YZ+zn/MbFFkvwIqleeQkJ7S5UcvfM8dv/V4YnwAe+JD8r79glh/FRq6uKlc0ixLS
31         CllJMwj98J1P1K9+gwmO5TrD1eTZV68caZj77P+X2kw=
32 ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=test.ex;
33          h=from:to:date:message-id:subject; s=sel; bh=3UbbJTudPxmejzh7U1
34         Zg33U3QT+16kfV2eOTvMeiEis=; b=WgE+YWSm48w/P448gPlBBNCKt2SJ4gosPx
35         0JQ98aZJhun2RaVcUO3INc+kZv8YOijofMzFqJxVn1cgMjoU8/QSHIyyt40FzkQB
36         oSGmSrCjtRnzS8pbp491NX3kGuetidaWE5muPSdOystg6mm1rBnl9sqVrwaynCmr
37         fu2jTuUfw=
38 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=test.ex;
39          h=from:to:date:message-id:subject; s=sel; bh=3UbbJTudPxmejzh7U1
40         Zg33U3QT+16kfV2eOTvMeiEis=; b=WgE+YWSm48w/P448gPlBBNCKt2SJ4gosPx
41         0JQ98aZJhun2RaVcUO3INc+kZv8YOijofMzFqJxVn1cgMjoU8/QSHIyyt40FzkQB
42         oSGmSrCjtRnzS8pbp491NX3kGuetidaWE5muPSdOystg6mm1rBnl9sqVrwaynCmr
43         fu2jTuUfw=
44 ARC-Authentication-Results: i=2; test.ex; arc=none
45 ARC-Authentication-Results: i=1; test.ex; arc=none
46 Authentication-Results: test.ex; arc=none
47 From: mrgus@text.ex
48 To: bakawolf@yahoo.com
49 Date: Thu, 19 Nov 2015 17:00:07 -0700
50 Message-ID: <qwerty1234@disco-zombie.net>
51 Subject: simple test
52
53 This is a simple test.
54 .
55 ??? 250
56 QUIT
57 ??? 221
58 ****
59 exim -DSERVER=server -DNOTDAEMON -q
60 ****
61 #
62 #
63 #
64 #
65 #
66 #
67 killdaemon
68 no_stdout_check
69 no_msglog_check