# Exim test configuration 0060

.include DIR/aux-var/std_conf_prefix

primary_hostname = myhost.ex

# ----- Main settings -----

acl_smtp_rcpt = check_recipient
domainlist local_domains = test.ex : myhost.ex
domainlist relay_domains = test.ex
hostlist relay_hosts = "! V4NET.255.0.1 : !V4NET.255.0.2 : \
  !DIR/aux-var/TESTNUM.d1 : ! DIR/aux-var/TESTNUM.d2 : \
  ten-1.test.ex : ten-5-6.test.ex"


# ------ ACL ------

begin acl

check_recipient:
  accept  domains = +local_domains
  accept  domains = +relay_domains
  accept  hosts = +relay_hosts
  deny    message = relay not permitted

# End