| 1 | # Exim test configuration 0062 |
| 2 | |
| 3 | .include DIR/aux-var/std_conf_prefix |
| 4 | |
| 5 | primary_hostname = myhost.test.ex |
| 6 | |
| 7 | # ----- Main settings ----- |
| 8 | |
| 9 | acl_smtp_rcpt = check_recipient |
| 10 | acl_smtp_data = check_message |
| 11 | |
| 12 | domainlist local_domains = test.ex : myhost.ex |
| 13 | |
| 14 | domainlist relay_domains = test.ex |
| 15 | hostlist relay_hosts = *-2.test.ex : *-3-alias.test.ex |
| 16 | |
| 17 | |
| 18 | # ----- ACL ----- |
| 19 | |
| 20 | begin acl |
| 21 | |
| 22 | check_recipient: |
| 23 | accept domains = +local_domains |
| 24 | accept domains = +relay_domains |
| 25 | accept hosts = +relay_hosts |
| 26 | deny message = relay not permitted |
| 27 | |
| 28 | check_message: |
| 29 | accept |
| 30 | |
| 31 | # End |