# Exim test configuration 0530

.include DIR/aux-var/std_conf_prefix

primary_hostname = myhost.test.ex

# ----- 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
  create_file = DIR/test-mail
  user = CALLER

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

# End