# Exim test configuration 0077

.include DIR/aux-var/std_conf_prefix

primary_hostname = myhost.test.ex

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

domainlist local_domains = test.ex : myhost.test.ex
acl_smtp_rcpt = check_recipient


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

begin acl

check_recipient:
  deny    hosts = ! @ : ! localhost
  accept  domains = +local_domains
  deny    message = relay not permitted


# End