This is a discussion on Router to use hosts file rather than DNS within the alt.comp.mail.exim forums, part of the Mail Servers and Related category; Hi, I have two exoim servers on one network, with one external IP address. A is main server, B is ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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 |
|
|||
|
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 |
|
|||
|
Hello Sharky,
Sharky schrieb/wrote: > 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! What you are looking for is a "manualroute router". Google will help you. Regards, Christian -- Christian Schmidt | Germany | ChriSchmiLi@gmx.de No HTML Mails, please!! De eene hett 'n Rittergut, de annere ritt 'n Gitter rut. |
![]() |
| Thread Tools | |
| Display Modes | |
|
|