# Exim test configuration 0256

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

acl_smtp_rcpt = accept
qualify_domain = test.ex
errors_copy = *@* ${quote_local_part::abcd+$domain+\
  ${if eq{$local_part}{CALLER}{xxxx}{$local_part}}}@test.ex
trusted_users = CALLER


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

begin routers

r1:
  driver = accept
  local_parts = !unknown
  retry_use_local_part
  transport = t1


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

begin transports

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

# End