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