Commit | Line | Data |
---|---|---|
afda344b PH |
1 | # Exim test configuration 0157 |
2 | ||
d4dc049f JH |
3 | .include DIR/aux-var/std_conf_prefix |
4 | ||
afda344b PH |
5 | |
6 | # ----- Main settings ----- | |
7 | ||
8 | acl_smtp_rcpt = check_recipient | |
9 | ||
10 | domainlist local_domains = test.ex | |
11 | hostlist relay_hosts = V4NET.0.0.1 : V4NET.0.0.2 | |
12 | qualify_domain = test.ex | |
13 | ||
14 | # ----- ACL ----- | |
15 | ||
16 | begin acl | |
17 | ||
18 | check_recipient: | |
19 | accept hosts = : | |
20 | accept domains = +local_domains | |
21 | accept hosts = V4NET.0.0.1 | |
22 | endpass | |
23 | message = invalid sender | |
24 | senders = userx@test.ex | |
25 | accept hosts = +relay_hosts | |
26 | deny message = relay not permitted | |
27 | ||
28 | # End |