# Exim test configuration 5001

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


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

begin routers

maildiruser:
  driver = accept
  retry_use_local_part
  transport = maildir
  transport_home_directory = DIR/test-mail


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

begin transports

maildir:
  driver = appendfile
  maildir_format
  create_file = belowhome
  directory = ${lookup{$local_part}lsearch{DIR/aux-fixed/TESTNUM.filelist}\
              {${if match{$value}{^/}{}{DIR/}}$value}\
              {DIR/test-mail/$local_part}}
  user = CALLER


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


begin retry

* * F,5d,1d


# End