summaryrefslogtreecommitdiff
path: root/test/scripts/4690-DMARC-ARC/4690
blob: 18210785af3afa664152e5034c50f6d4f8675c21 (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
# DMARC history-report of ARC results
#
mkdir DIR/tmp
sudo chmod 777 DIR/tmp
#
exim -DSERVER=server -bd -oX PORT_D
****
#
# We send this one through two forwarding hops.
# It starts off bare, so the 1st forwarder reception gets an ARC status of "none".
# The outbound signs it with that, and the 2nd forwarder is happy to pass it.
# The outbound signs again, and the final receiver is happy.
#
client 127.0.0.1 PORT_D
??? 220
HELO xxx
??? 250
MAIL FROM:<CALLER@test.ex>
??? 250
RCPT TO:<zza@test.ex>
??? 250
DATA
??? 354
Subject: Test
From: <CALLER@test.ex>

This is a test body.
.
??? 250
QUIT
??? 221
****
#
exim -DSERVER=server -DNOTDAEMON -q
****
exim -DSERVER=server -DNOTDAEMON -q
****
exim -DSERVER=server -DNOTDAEMON -q
****
#
killdaemon
cat DIR/tmp/TESTNUM.hist.dmarc
#
sudo rm -fr DIR/tmp
no_msglog_check