# Exim test configuration 3205

.include DIR/aux-var/std_conf_prefix

primary_hostname = myhost.test.ex

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

acl_smtp_rcpt = acl_${tr{$sender_host_address}{.}{_}}
domainlist local_domains = test.ex

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

begin acl

acl_1_2_3_4:
  deny    senders = testdb;defer
  accept  domains = +local_domains
  deny    message = relay not permitted


acl_4_3_2_1:
  accept  hosts = :
  deny    hosts = testdb;defer
  accept  domains = +local_domains
  deny    message = relay not permitted

# End