FAQ / Routing to remote hosts / Q0304



Q0304

Question

How do I configure Exim to send all non-local mail to a gateway host?

Answer

Replace the dnslookup router in the default configuration with the following:

send_to_gateway:
  driver = manualroute
  domains = !+local_domains
  transport = remote_smtp
  route_list = * gate.way.host

If there are several hosts you can send to, you can specify them as a colon-separated list.



FAQ / Routing to remote hosts / Q0304


CategoryFrequentlyAskedQuestions

EximWiki: FAQ/Routing_to_remote_hosts/Q0304 (last edited 2008-09-25 11:39:34 by localhost)