# Exim test configuration 2201

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

trusted_users = CALLER


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

begin routers

r1:
  driver = accept
  domains = dnsdb;$domain
  local_parts = dnsdb;$local_part
  retry_use_local_part
  transport = local_delivery

r2:
  driver = accept
  domains = dnsdb;$domain
  retry_use_local_part
  senders = dnsdb;A=${domain:$sender_address}
  transport = local_delivery


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

begin transports

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


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


begin retry

* * F,5d,10s


# End