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