# Exim test configuration 0095

ERT=
QWM=

.include DIR/aux-var/std_conf_prefix

primary_hostname = myhost.test.ex

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

ERT

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

begin routers

usery:
  driver = accept
  local_parts = usery
  retry_use_local_part
  transport = appendfile2

userz:
  driver = accept
  local_parts = userz
  retry_use_local_part
  transport = appendfile3

localuser:
  driver = accept
  local_parts = userx
  transport = appendfile


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

begin transports

appendfile:
  driver = appendfile
  file = DIR/test-mail/$local_part
  quota = $h_quota
  quota_warn_threshold = $h_threshold
  QWM
  user = CALLER

appendfile2:
  driver = appendfile
  file = DIR/test-mail/$local_part
  quota = $h_quota
  quota_warn_threshold = $h_threshold
  user = CALLER

appendfile3:
  driver = appendfile
  file = DIR/test-mail/$local_part${if eq{$sender_address}{}{.bounce}}
  quota_warn_threshold = $h_threshold
  user = CALLER
  headers_add = X:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa


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


begin retry

* * F,5d,1d


# End