summaryrefslogtreecommitdiff
path: root/test/scripts/0000-Basic/0027
blob: 606c1095ffc9d092b6edba1d1e4bee6387a07f91 (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
46
47
48
49
50
51
52
53
# Nested ACL (per user) and ACL misconfigurations
#
# Invalid sender, should reject both
exim -bs
mail from:<x@y>
rcpt to:<userx@test.ex>
rcpt to:<postmaster@test.ex>
quit
****
# Valid sender, should only reject userx
exim -bs
mail from:<userx@test.ex>
rcpt to:<userx@test.ex>
rcpt to:<postmaster@test.ex>
quit
****
# ACL misconfigurations at RCPT time
exim -bs
mail from:<>
rcpt to:<"deny verify = header_syntax"@test.ex>
rcpt to:<"deny verify = junk"@test.ex>
rcpt to:<"deny vorify = junk"@test.ex>
rcpt to:<"dony verify = junk"@test.ex>
rcpt to:<"deny !message = abcd"@test.ex>
quit
****
# ACL misconfiguration at DATA time
exim -bs
mail from:<>
rcpt to:<data@test.ex>
data
Subject: data1
.
quit
****
# ACL misconfiguration at DATA time
exim -bs
mail from:<>
rcpt to:<data@test.ex>
data
Subject: data2
.
quit
****
# ACL misconfiguration at DATA time
exim -bs
mail from:<>
rcpt to:<data@test.ex>
data
Subject: data3
.
quit
****