Re: [EXIM] Mail through a router

Etusivu
Poista viesti
Vastaa
Lähettäjä: Philip Hazel
Päiväys:  
Vastaanottaja: Dave Waller
Kopio: exim-users@exim.org
Aihe: Re: [EXIM] Mail through a router
On Thu, 1 Oct 1998, Dave Waller wrote:

> I want exim installed on a router computer to pass all mail to an
> inside mail server.
>
> In the FAQ's the talk about this, would this be correct?
>
> local_domains =
> send_to_gateway:
>            driver = domainlist
>            transport = remote_smtp
>            route_list = 172.16.0.32


Not quite. You need

route_list = * 172.16.0.32 byname

The * says "for all domains" and the "byname" says "look up the host
name by name, not as a DNS domain". In this case, the "name" is the IP
address.


-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.



--
*** Exim information can be found at http://www.exim.org/ ***