ARC: fix signing when DKIM-signing is also being done
[exim.git] / test / scripts / 4560-ARC / 4561
CommitLineData
b3d9ebf5
JH
1# ARC verify, bad chain
2#
3exim -DSERVER=server -bd -oX PORT_D
4****
5#
6# This should fail verify (not a complete chain).
7client 127.0.0.1 PORT_D
8??? 220
9HELO xxx
10??? 250
11MAIL FROM:<CALLER@bloggs.com>
12??? 250
13RCPT TO:<a@test.ex>
14??? 250
15DATA
16??? 354
17ARC-Seal: i=2; cv=none; a=rsa-sha256; d=test.ex; s=r201803;
18 b=HxjMzNcj7OX+I9Vr1Xr14AGgAci/CI8JxspaeoNT7TBsiOAtZ+YDBBSqXe6fqX3mHQEwpnXrdz
19 PCMIU1SF3ZiBtqWaLBPhStfuNQl5cw+TWXC60rOwCD2bxuBqubM/3AZLMPzIpm62MUYUUGaxwi
20 +LssT4F237WN88Lu4g5vqi8=;
21ARC-Authentication-Results: i=2; test.ex;
22 iprev=fail;
23 auth=pass (PLAIN) smtp.auth=fred@test.ex
24ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed; d=test.ex; s=r201803;
25 bh=52LTOZoDLUGP5RZMMrrjLkwTKuJ59wx4n3rL9RKBtgg=;
26 h=Content-Transfer-Encoding:Content-Type:MIME-Version:Date:Message-ID:Subject:
27 From:To:Content-Transfer-Encoding:Content-Type:MIME-Version:Date:Message-ID:
28 Subject:From:To;
29 b=LYAs/k3m790qXfftAVQxqHFCUkqcavgcpKnbEje3MgCmpCiYzeeusloVSjyFx6Mdo0XkN0GSZb
30 HXOCRGaJVnpU9V1QzdIqvz/I7DAyWl53XsKxl9YhsuaeuMMgPpqWpYkp0mOIo3Mtg+VdbF2DKd
31 O8BRJnqfkZkGUqMUJzdaYMU=;
32Authentication-Results: test.ex;
33 iprev=fail;
34 auth=pass (PLAIN) smtp.auth=fred@test.ex
35Received: from [127.0.0.1]
36To: a@test.ex
37From: Jeremy Harris <b@test.ex>
38Subject: another test
39Message-ID: <3885245d-3bae-66a2-7a1e-0dbceae2fb50@test.ex>
40Date: Mon, 26 Mar 2018 10:55:18 +0100
41
42This is a simple test.
43.
44??? 250
45QUIT
46??? 221
47****
48exim -DSERVER=server -DNOTDAEMON -q
49****
50#
51#
52#
53#
54#
55killdaemon
56no_stdout_check
57no_msglog_check