Re: Router to use hosts file rather than DNS
Sharky wrote:
> Hi,
>
> I have two exoim servers on one network, with one external IP address.
> A is main server, B is a back up server.
> A works fine, however when mail arrives at B , B does a DNS lookup
> looking for A and finds the external Ip , then receives its own mail and
> forms a loop.
> Can someone tell me how to write a router that uses hosts file so that B
> looks up lan address of A instead?
> Googled my eyes of and no closer to solution!
>
> Thanks
Sorted it:
smart_route:
driver = manualroute
domains = !+local_domains
transport = remote_smtp
route_list = * smarthost.ref.example
|