Testsuite: fix munge for mailq
[exim.git] / test / scripts / 0000-Basic / 0027
1 # Nested ACL (per user) and ACL misconfigurations
2 #
3 # Invalid sender, should reject both
4 exim -bs
5 helo test
6 mail from:<x@y>
7 rcpt to:<userx@test.ex>
8 rcpt to:<postmaster@test.ex>
9 quit
10 ****
11 # Valid sender, should only reject userx
12 exim -bs
13 helo test
14 mail from:<userx@test.ex>
15 rcpt to:<userx@test.ex>
16 rcpt to:<postmaster@test.ex>
17 quit
18 ****
19 # ACL misconfigurations at RCPT time
20 exim -bs
21 helo test
22 mail from:<>
23 rcpt to:<"deny verify = header_syntax"@test.ex>
24 rcpt to:<"deny verify = junk"@test.ex>
25 rcpt to:<"deny vorify = junk"@test.ex>
26 rcpt to:<"dony verify = junk"@test.ex>
27 rcpt to:<"deny !message = abcd"@test.ex>
28 quit
29 ****
30 # ACL misconfiguration at DATA time
31 exim -bs
32 helo test
33 mail from:<>
34 rcpt to:<data@test.ex>
35 data
36 Subject: data1
37 .
38 quit
39 ****
40 # ACL misconfiguration at DATA time
41 exim -bs
42 helo test
43 mail from:<>
44 rcpt to:<data@test.ex>
45 data
46 Subject: data2
47 .
48 quit
49 ****
50 # ACL misconfiguration at DATA time
51 exim -bs
52 helo test
53 mail from:<>
54 rcpt to:<data@test.ex>
55 data
56 Subject: data3
57 .
58 quit
59 ****