# Exim test configuration 0479

.include DIR/aux-var/std_conf_prefix


# ----- Main settings -----

acl_smtp_rcpt = rcpt


# ----- ACLs -----

begin acl

rcpt:
  require logwrite = sender address is <$sender_address>
          verify   = sender
  accept


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

begin routers

r1:
  driver = accept
  transport = t1


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

begin transports

t1:
  driver = smtp
  port = PORT_S
  hosts = 127.0.0.1
  allow_localhost
  connect_timeout = 1s


# ----- Rewrite -----

begin rewrite

a@b   rewritten-a@rewritten-b


# End