# Exim test configuration 0530

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 control = suppress_local_fixups


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

begin routers

r1:
  driver = accept
  senders = :
  transport = t1

r2:
  driver = accept
  transport = t2


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

begin transports

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

t2:
  driver = autoreply
  to = $sender_address
  subject = Re: $h_subject:
  text = This is the text of the autoreply.
  user = CALLER

# End