150_exim4-config_hubbed_hosts 556 B

123456789101112131415161718
  1. # router/150_exim4-config_hubbed_hosts
  2. #################################
  3. # route specific domains manually.
  4. #
  5. # see exim4-config_files(5) and spec.txt chapter 20.3 through 20.7 for
  6. # more detailed documentation.
  7. hubbed_hosts:
  8. debug_print = "R: hubbed_hosts for $domain"
  9. driver = manualroute
  10. domains = "${if exists{CONFDIR/hubbed_hosts}\
  11. {partial-lsearch;CONFDIR/hubbed_hosts}\
  12. fail}"
  13. same_domain_copy_routing = yes
  14. route_data = ${lookup{$domain}partial-lsearch{CONFDIR/hubbed_hosts}}
  15. transport = remote_smtp