DMARC: fix reporting, ARC-support but not in message
[exim.git] / test / scripts / 0000-Basic / 0585
1 # verify = not_blind/case_insensitive
2 #
3 # Accept: the env rcpt matches a header To:
4 exim -odq -bs
5 helo test
6 mail from:<>
7 rcpt to:<userx@dom.com>
8 data
9 To: a@b.c, himself <UserX@dom.com>
10 .
11 quit
12 ****
13 ### Reject: no match
14 exim -odq -bs
15 helo test
16 mail from:<>
17 rcpt to:<userx@dom.com>
18 data
19 To: b@b.c, himself <usery@dom.com>
20 .
21 quit
22 ****
23 ### Reject, with specific SMTP message
24 exim -DERROR_DETAILS=smtp_return_error_details -odq -bs
25 helo test
26 mail from:<>
27 rcpt to:<userx@dom.com>
28 data
29 To: c@b.c, himself <usery@dom.com>
30 .
31 quit
32 ****
33 ### Accept, matches in header CC:
34 exim -odq -bs
35 helo test
36 mail from:<>
37 rcpt to:<userx@dom.com>
38 rcpt to:<usery@dom.com>
39 data
40 To: d@b.c, himself <UserY@dom.com>
41 Cc: unqualified, UserX@dom.com, x@y.z
42 .
43 quit
44 ****
45 ### Reject: To: & CC: combo, an env rcpt missing
46 exim -odq -bs
47 helo test
48 mail from:<>
49 rcpt to:<userx@dom.com>
50 rcpt to:<usery@dom.com>
51 rcpt to:<userz@dom.com>
52 data
53 To: e@b.c, himself <UserY@dom.com>
54 Cc: unqualified, UserX@dom.com, x@y.z
55 .
56 quit
57 ****
58 ### Accept: Resent-To: & Resent-CC: combo
59 exim -odq -bs
60 helo test
61 mail from:<>
62 rcpt to:<userx@dom.com>
63 rcpt to:<usery@dom.com>
64 data
65 Resent-To: f@b.c, himself <UserY@dom.com>
66 Resent-Cc: unqualified, UserX@dom.com, x@y.z
67 To: an@other
68 .
69 quit
70 ****
71 no_msglog_check