# Exim test configuration 0040

.include DIR/aux-var/std_conf_prefix


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

log_selector = +received_recipients
trusted_users = CALLER


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

begin routers

localuser:
  driver = accept
  local_parts = userx
  transport = local_delivery


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

begin transports

local_delivery:
  driver = appendfile
  delivery_date_add
  envelope_to_add
  file = DIR/test-mail/$local_part
  create_file = DIR/test-mail
  headers_add = "X-interface: $interface_address"
  return_path_add
  user = CALLER


# End