# Exim test configuration 0133

.include DIR/aux-var/std_conf_prefix


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

domainlist local_domains = test.ex: *.test.ex
qualify_domain = test.ex


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

begin routers

local:
  driver = accept
  headers_add = Final: $local_part@$domain
  local_parts = dddd
  retry_use_local_part
  transport = appendfile

rename1:
  driver = redirect
  allow_defer
  data = dddd
  local_parts = userx
  qualify_preserve_domain
  retry_use_local_part

rename2:
  driver = redirect
  allow_defer
  data = dddd
  retry_use_local_part


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

begin transports

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


# ----- Retry -----


begin retry

* * F,1d,15m


# End