Re: [EXIM] Mail through a router

Top Page
Delete this message
Reply to this message
Author: Philip Hazel
Date:  
To: Dave Waller
CC: exim-users
Subject: Re: [EXIM] Mail through a router
On Wed, 21 Oct 1998, Dave Waller wrote:

> OK I must be a rock. I have tried this quite a few times and I can not
> get it working. What I really want to do is have exim installed on a
> linux computer setup as a router (www.linuxrouter.org). This is
> connected to the internet and my local network (172.16.0.0).



> ######################################################################
> #                      ROUTERS CONFIGURATION                         #
> #            Specifies how remote addresses are handled              #
> ######################################################################
> #                          ORDER DOES MATTER                         #

                             ^^^^^^^^^^^^^^^^^
                             ^^^^^^^^^^^^^^^^^
                             ^^^^^^^^^^^^^^^^^
                             ^^^^^^^^^^^^^^^^^
Note this line. Note this line. Note this line. You need to put your 
send_to_gateway router *first*, not last. [Given the particular router 
that you have set up, you don't actually need either of the others at 
all, since your one, if first, will route all domains.]


How to test:

Run "exim -d -bt user@domain" to see what it will do with an address.
Use -d9 instead of -d for more detailed information. This will tell you
which router is being used.

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



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