| 1 | # Exim test configuration 0060 |
| 2 | |
| 3 | .include DIR/aux-var/std_conf_prefix |
| 4 | |
| 5 | primary_hostname = myhost.ex |
| 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 = "! V4NET.255.0.1 : !V4NET.255.0.2 : \ |
| 13 | !DIR/aux-var/TESTNUM.d1 : ! DIR/aux-var/TESTNUM.d2 : \ |
| 14 | ten-1.test.ex : ten-5-6.test.ex" |
| 15 | |
| 16 | |
| 17 | # ------ ACL ------ |
| 18 | |
| 19 | begin acl |
| 20 | |
| 21 | check_recipient: |
| 22 | accept domains = +local_domains |
| 23 | accept domains = +relay_domains |
| 24 | accept hosts = +relay_hosts |
| 25 | deny message = relay not permitted |
| 26 | |
| 27 | # End |