# Exim test configuration 0256

.include DIR/aux-var/std_conf_prefix

primary_hostname = myhost.test.ex

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

acl_smtp_rcpt = accept
qualify_domain = test.ex
errors_copy = *@* ${quote_local_part::abcd+$domain+\
  ${if eq{$local_part}{CALLER}{xxxx}{$local_part}}}@test.ex
trusted_users = CALLER


# ------ Routers ------

begin routers

r1:
  driver = accept
  local_parts = !unknown
  retry_use_local_part
  transport = t1


# ------ Transports ------

begin transports

t1:
  driver = appendfile
  file = DIR/test-mail/$local_part
  create_file = DIR/test-mail
  user = CALLER

# End