# Exim test configuration 0187

.include DIR/aux-var/std_conf_prefix


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

domainlist local_domains = test.ex

qualify_domain = test.ex
allow_mx_to_ip

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

begin routers

domainlist:
  driver = manualroute
  domains = ! +local_domains
  ignore_target_hosts = !V4NET.0.0.5 : V4NET.0.0.0/8
  route_list = ten-5-6.test.ex $domain bydns
  transport = smtp

lookuphost:
  driver = dnslookup
  domains = ^mxt
  ignore_target_hosts = V4NET.0.0.2 : V4NET.0.0.1 : 127.0.0.0/8 : ::::1
  no_more
  transport = smtp

lookuphost2:
  driver = dnslookup
  domains = ! +local_domains
  ignore_target_hosts = ${if eq{$domain}{other2.test.ex}{V4NET.12.3.2}} : \
    127.0.0.1 : ::::1
  self = send
  transport = smtp
  no_more


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

begin transports

smtp:
  driver = smtp
  port = PORT_S
  hosts_try_fastopen =	:


# ----- Retry -----


begin retry

* * F,5d,1d


# End
