# Exim test configuration 0224

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

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

qualify_domain = test.ex
queue_run_in_order

delay_warning = 1s
delay_warning_condition = ${if first_delivery{no}{yes}}


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

begin routers

alias:
  driver = redirect
  allow_defer
  data = ${lookup{$local_part}lsearch{DIR/aux-fixed/TESTNUM.aliases}}
  file_transport = address_file
  retry_use_local_part

halias:
  driver = redirect
  allow_defer
  data = ${lookup{$local_part}lsearch{DIR/aux-fixed/TESTNUM.haliases}}
  hide_child_in_errmsg
  retry_use_local_part

localuser:
  driver = accept
  local_parts = CALLER
  retry_use_local_part
  transport = local_delivery


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

begin transports

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

address_file:
  driver = appendfile
  user = CALLER


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


begin retry

* * F,1d,10m


# End