# Exim test configuration 0321

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

r1:
  condition = ${if eq {$received_protocol}{scanned-ok} {0}{1}}
  senders = ! :
  driver = accept
  transport = pipe

r2:
  driver = accept
  transport = local_delivery


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

begin transports

pipe:
  driver = pipe
  command = /non/exist/command -f <$sender_address> -d $pipe_addresses
  message_prefix =
  message_suffix =
  check_string =
  escape_string =
  return_output = false
  return_path_add = false
  user = CALLER
  path = /bin:/sbin:/usr/bin:/usr/sbin
  current_directory = /

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


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

begin retry

* * F,5d,1d


# End