Nigel Metheringham edited this page Nov 29, 2012 · 2 revisions



How can I arrange for mail on my local network to be delivered directly to the relevant hosts, but all other mail to be sent to my ISP's mail server? The local hosts are all DNS-registered and behave like normal Internet hosts.


Set up a first router to pick off all the domains for your local network. There are several ways you might do this. For example

  driver = dnslookup
  transport = remote_smtp
  domains = *

This does a perfectly conventional DNS routing operation, but only for the domains that match * Follow this with a `smart host' router:

  driver = manualroute
  domains = !+local_domains
  transport = remote_smtp
  route_list = *

This routes any other non-local domains to the smart host.

Clone this wiki locally
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.