Commit | Line | Data |
---|---|---|
afda344b PH |
1 | # Exim test configuration 0059 |
2 | ||
d4dc049f JH |
3 | .include DIR/aux-var/std_conf_prefix |
4 | ||
afda344b | 5 | primary_hostname = myhost.ex |
afda344b PH |
6 | |
7 | # ----- Main settings ----- | |
8 | ||
9 | acl_smtp_rcpt = check_recipient | |
10 | domainlist local_domains = test.ex : myhost.ex | |
11 | domainlist relay_domains = test.ex | |
12 | hostlist relay_hosts = !* | |
13 | ||
14 | ||
15 | # ------ ACL ------ | |
16 | ||
17 | begin acl | |
18 | ||
19 | check_recipient: | |
20 | accept domains = +local_domains | |
21 | accept domains = +relay_domains | |
22 | accept hosts = +relay_hosts | |
23 | deny message = relay not permitted | |
24 | ||
25 | # End |