Testsuite: avoid IPv6 interfaces to avoid extra debug stderr lines
[exim.git] / test / scripts / 0000-Basic / 0024
CommitLineData
59371ea7
PH
1# ACL test of "standard" configuration
2#
3# Not a relay host, no authentication, sender address fails to verify.
4# accept postmaster@test.ex (postmaster at local domain)
5# deny userx@test.ex (good address in local domain, but sender verify failed)
6# deny x@y (bad address, but sender verify failed)
7# deny x@ten-1.test.ex (good relay address, but sender verify failed)
8# deny x@ten-2.test.ex (good address, but sender verify failed)
9#
10exim -odi -oMa V4NET.0.0.0 -bs
11mail from:<x@y>
12rcpt to:<postmaster@test.ex>
13rcpt to:<userx@test.ex>
14rcpt to:<x@y>
15rcpt to:<x@ten-1.test.ex>
16rcpt to:<x@ten-2.test.ex>
17data
18Message 1
19.
20quit
21****
22# Not a relay host, no authentication, sender address does verify.
23# accept postmaster@test.ex (postmaster at local domain)
24# accept userx@test.ex (good address in local domain)
25# deny x@y (bad address)
26# accept x@ten-1.test.ex (good relay address)
27# deny x@ten-2.test.ex (good address, but not relay domain or host)
28exim -odi -oMa V4NET.0.0.0 -bs
29mail from:<userx@test.ex>
30rcpt to:<postmaster@test.ex>
31rcpt to:<userx@test.ex>
32rcpt to:<x@y>
33rcpt to:<x@ten-1.test.ex>
34rcpt to:<x@ten-2.test.ex>
35data
36Message 2
37.
38quit
39****
40# Relay host, no authentication, sender address does verify.
41# deny bad@test.ex (bad address in local domain)
42# deny x@y (bad address)
43# accept x@ten-1.test.ex (good relay address)
44# accept x@ten-2.test.ex (good non-relay address, relay host)
45exim -odi -oMa V4NET.255.255.0 -bs
46mail from:<userx@test.ex>
47rcpt to:<bad@test.ex>
48rcpt to:<x@y>
49rcpt to:<x@ten-1.test.ex>
50rcpt to:<x@ten-2.test.ex>
51data
52Message 3
53.
54quit
55****
56# Host on serious black list
57# accept postmaster@test.ex (postmaster at local domain)
58# deny anything else
59exim -odi -oMa V4NET.11.12.13 -bs
60mail from:<userx@test.ex>
61rcpt to:<postmaster@test.ex>
62rcpt to:<userx@test.ex>
63rcpt to:<x@ten-1.test.ex>
64data
65Message 4
66.
67quit
68****
69# Host on warning black list
70# accept postmaster@test.ex (postmaster at local domain)
71# deny anything else
72exim -odi -oMa V4NET.11.12.16 -bs
73mail from:<userx@test.ex>
74rcpt to:<postmaster@test.ex>
75rcpt to:<userx@test.ex>
76rcpt to:<x@ten-1.test.ex>
77data
78Message 5
79.
80quit
81****
82# Local SMTP - should accept everything
83#
84exim -odi -bs
85mail from:<x@y>
86rcpt to:<postmaster@test.ex>
87rcpt to:<userx@test.ex>
88rcpt to:<x@y>
89rcpt to:<x@ten-1.test.ex>
90rcpt to:<x@ten-2.test.ex>
91quit
92****