# Exim test configuration 0058

.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
hostlist relay_hosts = *


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

begin acl

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


# End