# Exim test configuration 0523

.include DIR/aux-var/std_conf_prefix

primary_hostname = myhost.test.ex

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

qualify_domain = test.ex


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

begin routers

r1:
  driver = redirect
  headers_add = "Delivered-To: $local_part@$domain"
  data = userx@$domain

r2:
  driver = accept
  transport = t0



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

begin transports

t0:
  driver = appendfile
  file = DIR/test-mail/$local_part
  user = CALLER
  envelope_to_add


# End