# Exim test configuration 0538

.include DIR/aux-var/std_conf_prefix

primary_hostname = myhost.test.ex

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

acl_smtp_mail = check_mail
acl_smtp_rcpt = check_rcpt


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

begin acl

check_mail:
  accept  sender_domains = broken.example
          endpass
          verify = sender/callout
  accept

check_rcpt:
  accept  verify = recipient/callout=use_sender


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

begin routers

r1:
  driver = manualroute
  route_list = * "<= 127.0.0.1:PORT_S"
  self = send
  verify_only
  transport = t1


begin transports

t1:
  driver = smtp


# End