# Exim test configuration 0095

ERT=
QWM=

exim_path = EXIM_PATH
host_lookup_order = bydns
primary_hostname = myhost.test.ex
rfc1413_query_timeout = 0s
spool_directory = DIR/spool
log_file_path = DIR/spool/log/%slog
gecos_pattern = ""
gecos_name = CALLER_NAME

# ----- 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