# Exim test configuration 3202

.include DIR/aux-var/std_conf_prefix

primary_hostname = myhost.test.ex

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

# Use first three components of address to select ACL
acl_smtp_rcpt = acl_${sg{${tr{$sender_host_address}{.}{_}}}{^(.*)_.*\$}{\$1}}

# ----- ACLs -----

begin acl

acl_1_1_1:
  accept  hosts = net-testdb;defer

acl_1_1_2:
  deny    domains = testdb;defer

acl_1_1_3:
  require local_parts = testdb;defer


# End