# Exim test configuration 0283

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

never_users = root

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

begin routers

never:
  driver = accept
  local_parts = never
  transport = t3

caller:
  driver = accept
  local_parts = CALLER
  transport = t2

rest:
  driver = accept
  transport = t1

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

begin transports

t1:
  driver = pipe
  command = DIR/bin/showids
  return_output

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

t3:
  driver = appendfile
  file = DIR/test-mail/$local_part
  user = root

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

begin retry

* * F,1d,1d

# End