# Exim test configuration 0124

.include DIR/aux-var/std_conf_prefix


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

acl_smtp_rcpt = check_recipient

domainlist local_domains = test.ex
hostlist relay_hosts = *.friendly.test.ex
qualify_domain = test.ex


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

begin acl

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


# End